Experimenting with Container/Fargate, Unable to access on public IP? (Free Tier)

0

Hi,

I have been asked to see how i can deploy a simple Apache/web page onto a serverless container within Fargate.

I manage to push to the repository, ive created a cluster, task definition as a linux service, and it all seems to be working? but when i click on the ip address, it just times out. I am using the free service, I dont know if that limits me, but im just trying to learn and view the service.

Is there something i have to do to enable public access?

1 Answer
1

Hello.

Public access is possible even if you are using the free tier.

Is the subnet configured in ECS a public subnet?
Also, are the required communications allowed by the inbound rules of the security group in ECS?
For example, since we are using an Apache container, we need to allow HTTP port 80 or the container's listening port.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-configure-network.html
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/working-with-security-groups.html#updating-security-group-rules

profile picture
EXPERT
answered 6 months ago
profile pictureAWS
EXPERT
reviewed 6 months 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