Am trying to assign Elastic IP (recently disassociated from EC2 instance ) to an Internet facing Network Load Balancer using Edit IP Address Type option, however Elastic IP is not shown in dropdown Assigned by AWS.Actually no drop down is shown.
Suggest if am I missing something or there are other way for doing the same.
2
Answers
You can’t change existing IP address assocciation. You already have assigned all your NLB nodes to AWS provided IP. You can only add Elastic IP for new AZ association in an existing NLB. If you used all associations, you have to create new NLB.
You can assign EIP to NLB, follow this guide (https://aws.amazon.com/premiumsupport/knowledge-center/elb-attach-elastic-ip-to-public-nlb/).
Another way is to use AWS Accelerator and you can add static IP to NLB/ALB (https://docs.aws.amazon.com/global-accelerator/latest/dg/work-with-standard-accelerators.html )