Skip to content

How can I assign a static IP address to an ALB?

0

Based on the AWS documentation, it's not possible to assign a static IP to ALB. It's possible to assign it to NLB. I saw some approaches on the internet they are implicitly assigning IP addresses such as they are putting NLB in front of an ALB. But, I don't want to pay more for AWS. I don't want to use NLB only for IP assignments.

Is there a better approach?

asked 3 years ago6.7K views
3 Answers
5
Accepted Answer

As previously mentioned, one of the option you have is to use global accelerator. However there are some other workarounds as well, which you may consider. If you haven't already gone through this, please refer this blog post, which explains the same topic in detail step by step.

Additionally, take a look at this re:Post Knowledge Center Article, which also talks about options.

Hope you find this useful.

Comment here if you have additional questions, happy to help.

Abhishek

AWS
EXPERT
answered 3 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 3 years ago
EXPERT
reviewed 3 years ago
  • Do you have any additional questions, happy to help.

3

The only other option would be to use AWS Global Accelerator, but again you will incur some charges. But maybe if you utilize all the extra value that Global Accelerator brings, it might possibly justify your expenses.

AWS
answered 3 years ago
0

Since Mar 2025 you can assign public IPs for ALB using IPAM. For more details read this blog - https://aws.amazon.com/blogs/networking-and-content-delivery/simplify-albs-public-ip-address-assignment-with-vpc-ipam/

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.