问题
During migration on AWS, I created a new cluster on AWS and deployed several docker application with Fargate approach. During each update of task definition, new task is launched inside service and new public IP is assigned from AWS public IP pool
Is there any solution or instruction on how I can attach static IP adderes to the service tasks?
I saw similar question here How do I associate an Elastic IP with a Fargate container?
but still can't find any solution
回答1:
see this answer
add application load balancer to your fargate service. service auto scaling is bettor approach to do this.
来源:https://stackoverflow.com/questions/48887504/amazon-aws-fargate-task-static-ip-adress