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回答
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
エキスパート
回答済み 7ヶ月前
profile pictureAWS
エキスパート
レビュー済み 7ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ