EC2 Docker Site Issue

0

Hi,

We are trying to launch an application with EC2 which deals with video rendering. I launched an instance using GPU inference as our project requires GPU help.

EffyBiz EC2 Instance

I am using a combination of Flask - Docker - Nginx for the web app. Following is the Dockerfile:

Dockerfile config

The Docker container has been up since saturday.

Docker Conatainer is running

I am trying to access the app through the public dns provided

DNS Address

But I'm not able to access it.

Please let us understand what is lacking here. Is it a configuration issue? Or I need to deploy the app anywhere else in order to run it?

Regards, Novneet

asked 2 years ago233 views
1 Answer
0

You've probably not configured the Security Group correctly to allow external connections. If you want to access the instance via HTTP + HTTPS, you'll have to add inbound rules for TCP port 80 and 443 for example. How to update the Security Group is described here in detail:

You may want to check as well if there's any Network Access Control List rule assigned to the instance subnet that is blocking traffic. Information on NACL usage can be found here:

profile pictureAWS
Daniel
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions