如何在AWS中将Elastic IP分配给Application Load Balancer? [英] How to assign Elastic IP to Application Load Balancer in AWS?

查看:135
本文介绍了如何在AWS中将Elastic IP分配给Application Load Balancer?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I created an Application Load Balancer in AWS.

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

How can I assign an Elastic IP address to the application load balancer? I didn't find any IP address in the load balancer description.

推荐答案

不能为Application Load Balancer分配弹性IP地址(静态IP地址).

An Application Load Balancer cannot be assigned an Elastic IP address (static IP address).

但是,可以为网络负载平衡器使用的每个可用区分配一个弹性IP地址.

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:

请参阅: 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆