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 Antwort
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
EXPERTE
beantwortet vor 7 Monaten
profile pictureAWS
EXPERTE
überprüft vor 7 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen