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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南