スキップしてコンテンツを表示

Can an Application Load Balancer have a static IP

0

I have an integration in progress with a 3rd party partner.

My service is running via ECS/Fargate behind an Application Load Balancer.

The consumer of the service requires a static IP address (or multiple addresses) for their firewall rules to be able to access my application through the Application Load Balancer.

I have not been able to see how to either retrieve the IP address pool associated with my load balancer or to set it up such that it has static IP address associations.

Can an ALB be setup to use static IP address(es)?

Thank you, Ron

2回答
3
承認された回答

No, an ALB always changes its IP addresses. However, you can set up a Network Load Balancer, which always has static IPs, and use the target group type of "Application Load Balancer" to point the NLB to your ALB. This way, you can reach your ALB with static IP addresses by connecting to the NLB.

There's more on the topic in this announcement post: https://aws.amazon.com/about-aws/whats-new/2021/09/application-load-balancer-aws-privatelink-static-ip-addresses-network-load-balancer/

And more details in this one: https://aws.amazon.com/blogs/networking-and-content-delivery/application-load-balancer-type-target-group-for-network-load-balancer/

エキスパート
回答済み 1年前
エキスパート
レビュー済み 1年前
エキスパート
レビュー済み 1年前
  • Thanks so much for a quick response! I'll look into the NLB and see how this might help my situation.

1

Short answer, no, ALB will never have static IPs. NLB has an option to have static IPs.

If static IPs are a requirement you can do NLB -> ALB -> app target

This has to do with NLB being a Layer 4 load balancer and ALB being a Layer 7 (app) load balancer.

Hope this helps!

AWS
エキスパート
回答済み 1年前
エキスパート
レビュー済み 1年前
  • Thanks so much for a quick response! This seems to be the recommended path forward according to your response and others I've received. Much appreciated.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ