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 réponse
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
répondu il y a 7 mois
profile pictureAWS
EXPERT
vérifié il y a 7 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions