Passer au contenu

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?

demandé il y a 3 ans6,8 k vues

3 réponses
5
Réponse acceptée

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

répondu il y a 3 ans

EXPERT

vérifié il y a 2 ans

EXPERT

vérifié il y a 3 ans

EXPERT

vérifié il y a 3 ans

  • 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

répondu il y a 3 ans

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/

répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.