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 Resposta
0
Resposta aceita

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
ESPECIALISTA
Matt-B
respondido há um ano
profile pictureAWS
ESPECIALISTA
avaliado há um ano
  • 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 ?

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas