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?

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
답변함 일 년 전
profile pictureAWS
전문가
검토됨 일 년 전
  • 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 ?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠