3 Answers. Show activity on this post. An Application Load Balancer cannot be assigned an Elastic IP address (static IP address). However, a Network Load Balancer can be assigned one Elastic IP address for each Availability Zone it uses.

Can I attach elastic IP to alb?

Unfortunately, ALBs do not support this feature and it is unlikely they will in the near future. Today, the only way to achieve static IP addresses for your application behind an ALB is to add another layer in between the client and your ALB which does have a static IP address, and then forward requests to your ALB.

How do I assign an Elastic IP to application load balancer?


  1. Open the Amazon Elastic Compute Cloud (Amazon EC2) console.
  2. Choose the Region where you want to create your Network Load Balancer.
  3. Allocate Elastic IP addresses for your Network Load Balancer. …
  4. Under Load Balancing, choose Load Balancers.
  5. Choose Create Load Balancer.
  6. For Network Load Balancer, choose Create.

How do I assign a static IP to application load balancer AWS?

You can’t assign a static IP address to an Application Load Balancer. If you need a static IP address for your Application Load Balancer, it’s a best practice to register the Application Load Balancer behind a Network Load Balancer.

Is AWS ELB static IPs?

With this feature, you can now use AWS PrivateLink and expose static IP addresses for applications built on ALB. ALB is a managed layer 7 proxy that provides advanced request-based routing. NLB operates at layer 4 and provides support for PrivateLink and zonal static IP addresses.

How many IPs does an alb use?

A single DNS lookup for a load balancer will only return up to eight IP addresses. So, if you have an ALB that has more than eight IP addresses, you need to perform multiple DNS queries to be sure you have all of the addresses.

Which load balancer is allocated with a static IP?

The NLB is a layer 4 load balancer for both TCP and UDP traffic that supports AWS PrivateLink and can provide a static IP per availability zone, while the ALB is a managed layer 7 load balancing service that supports TLS termination, AWS Web Application Firewall (WAF) integration and request routing features based on …