Are NLB's private IPs subject to change over its lifetime?

0

When I create an internal NLB and attach it to target instances in a set of private subnets, the NLB is assigned private IPs from these subnets. Are these IPs subject to change over the NLBs lifetime?

I'm aware that a public-facing NLB can be given a static elastic IP, but this is strictly about an internal NLB.

1개 답변
1

NLB's private IPs will not change over its lifetime

When you create an internal load balancer, you can optionally specify one private IP address per subnet. If you do not specify an IP address from the subnet, Elastic Load Balancing chooses one for you. These private IP addresses provide your load balancer with static IP addresses that will not change during the life of the load balancer. You can't change these private IP addresses after you create the load balancer.

Reference: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html

profile pictureAWS
전문가
답변함 일 년 전
profile pictureAWS
전문가
검토됨 일 년 전
  • Thank you for the prompt reply. I did see this in the docs, but I assumed I misunderstood it. Let me explain:

    When I deployed this particular private NLB, it originally had EC2 instances present as targets across 3 AZs, and consequently, the NLB had private IPs in each AZ's corresponding subnet. Currently, I only have instances in one AZ, and the NLB now only has one IP associated with it.

    This seems to run counter to the behaviour quoted from the docs above. Is there a part of the docs I've missed that describes such adjustments to NLB IPs across AZs?

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

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

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

관련 콘텐츠