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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南