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?

asked 7 months ago429 views
1 Answer
1
Accepted Answer

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
answered 7 months ago
profile picture
EXPERT
reviewed 7 months ago
profile pictureAWS
EXPERT
reviewed 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions