Connecting and communicating to AWS EC2 ubuntu Server

Hi,

I am building a clothing recommender assistant, for which I need to capture user responses in Voiceflow and send these queries to my AWS EC2 ubuntu server where my deep learning model(CLIP model) processes these user responses and sends back a clothing recommendation(image). For example, for response “I need a green dress” I need to capture send this query to my AWS EC2 server where my model processes this query and sends back an image of green dress back to Voiceflow and displays to user. My question is : How do I establish this connection between Voiceflow and my AWS server. Please Help!!