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 ?

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

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

回答問題指南