如何在AWS中将Elastic IP分配给Application Load Balancer?

时间:2019-03-19 08:50:26

标签: amazon-web-services amazon-ec2

我在AWS中创建了一个应用程序负载平衡器。

如何为应用程序负载均衡器分配弹性IP地址?在负载均衡器说明中找不到任何IP地址。

3 个答案:

答案 0 :(得分:1)

现在,您可以直接在创建向导或“集成服务”选项卡中,从负载均衡器管理控制台获取应用程序负载均衡器的全局静态IP。参见this blog post

答案 1 :(得分:0)

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.

If you do not wish to use a Network Load Balancer, you can combine the two by putting the Network Load Balancer in front of the Application Load Balancer:

NLB in front of ALB

See: Using static IP addresses for Application Load Balancers | Networking & Content Delivery

答案 2 :(得分:0)

另一个选择是使用AWS Global Accelerator: AWS Global Accelerator

但是,它可能比使用NLB-ALB体系结构更昂贵。