AWS LB - How does being a regional service work?

0

I've read that AWS Elastic LB is a regional scoped service which means it's highly available by default. My question is how (regarding the details)? If I use an LB on a region, does Amazon internally set up instances for the LB in different AZs?

MJ
已提问 1 年前406 查看次数
1 回答
2
已接受的回答

See below from the ELB documentation which explains how when you enable multiple AZs for your ALB AWS will create nodes in each of those AZs. Often in diagrams for simplicity only one ELB is shown but in reality every AZ that you enable has the ELB node in it which makes it highly available.

Availability Zones and load balancer nodes

When you enable an Availability Zone for your load balancer, Elastic Load Balancing creates a load balancer node in the Availability Zone. If you register targets in an Availability Zone but do not enable the Availability Zone, these registered targets do not receive traffic. Your load balancer is most effective when you ensure that each enabled Availability Zone has at least one registered target.

We recommend enabling multiple Availability Zones for all load balancers. With an Application Load Balancer however, it is a requirement that you enable at least two or more Availability Zones. This configuration helps ensure that the load balancer can continue to route traffic. If one Availability Zone becomes unavailable or has no healthy targets, the load balancer can route traffic to the healthy targets in another Availability Zone.

After you disable an Availability Zone, the targets in that Availability Zone remain registered with the load balancer. However, even though they remain registered, the load balancer does not route traffic to them.

profile pictureAWS
专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容