Static IPs in Fargate

0

I’m running a few workloads in Fargate, and I want to be able to give my tasks a static IP address like I can in EC2. Is this possible?

已提问 8 个月前528 查看次数
1 回答
1
已接受的回答

No, it is not currently possible to add a static IP or Elastic IP address directly to a Fargate task. However, you can first create a Fargate Service with a Network Load Balancer, and then attach the Elastic IP address of the task to the Load Balancer.

You can find more details about this process here: https://repost.aws/knowledge-center/ecs-fargate-static-elastic-ip-address

AWS
Olivia
已回答 8 个月前
profile picture
专家
已审核 8 个月前
profile pictureAWS
专家
已审核 8 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则