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 Risposta
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
ESPERTO
con risposta 7 mesi fa
profile pictureAWS
ESPERTO
verificato 7 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande