How to use Elastic IP for AWS ECS with Farget without using Network Loadbalancer

0

On my ECS Farget workload I have used elastic IP by using Network Loadbalancer to manage the continues change of the tasks public IP addresses whenever the ECS service is updated and I was successful on handing that. However, to use certificates and leverage codeDeploy services such as canary deployment, I need to use application loadbalancer. Therefore, I want to leave the network loadbalancer and use only application loadbalancer but how will I be able to manage the changing public IP addresses without using Network Loadbalancer?

Ellon
已提问 1 年前579 查看次数
1 回答
0
已接受的回答

Hi There

When you use an application load balancer, you dont really need to worry about the IP address because you create ALIAS or CNAME records for your domain to point to the ALB. AWS manages the IP addresses for you. See https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-elb-load-balancer.html

Is there a specific reason why you need to maintain a static IP address?

profile pictureAWS
专家
Matt-B
已回答 1 年前
profile pictureAWS
专家
已审核 1 年前
  • How about if my ECS already running with ALB, and want to make ECS container access to global with the NAT gateway static IP. Also this step above working well with this case or not ?

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

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

回答问题的准则