I'm trying to deploy a super simple containerized flask app to ECS. I know the image is docker-compose-able and building fine because I have it as part of a CodePipeline that's building, tagging and pushing the final docker image to ECR.
Build completed on Sat Feb 15 21:48:44 UTC 2020
[Container] 2020/02/15 21:48:44 Running command echo Pushing the Docker images...
Pushing the Docker images...
[Container] 2020/02/15 21:48:44 Running command docker push $REPOSITORY_URI:latest
...
025f20c0831b: Pushed
98e916abdf11: Pushed
I should probably clarify at this point that the application works locally, and I've specified the app.run() host to 0.0.0.0.
At this point I have an ECS Cluster

with a running task and public IP

and logs that indicate the app has started.

I have also modified the security group's inbound ports to include 5000 on 0.0.0.0, ::/0.

Theoretically this means you should be able to visit the port 3.80.1.115, but instead you should be seeing the standard, what did you just even type in response from your browser.

I'm just not sure what is happening anymore because I seem so close... the app is running without errors in ECS and everything is wonderful except the app is, well, inaccessible. Thoughts?
My case is slightly different. I used the default network settings. The problem is that the default security group doesn't allow inbound traffic from the internet. To fix it:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With