내용으로 건너뛰기

Question about capacity reservation for ALB and NLB

0

Hi Guys,
I'm trying to understand capacity reservation for ALB and NLB.
As my service haven't run at AWS yet, I plan to use ALB capacity reservation calculator to required calculate minimum capacity.

I'm quite confused why redundancy option enable, extra LCU is required?
Reinvent 2024, NET 306 session mentioned that ALB is a “redundancy within Region” service, when minimum capacity set to ALB, ALB should cover AZ failover cost without extra LCU charge.
While NLB is a “redundancy within AZ” service, it is reasonable to reserve extra CU when 1 AZ fail.

ALB and NLB have different AZ redundancy architecture, Is it necessary for ALB to reserve extra LCU capacity for my service?

질문됨 2년 전298회 조회

1개 답변
0
수락된 답변

You're right to be confused :) . ALBs have "redundancy within a Region" is correct, but it's crucial to understand what this means in the context of capacity reservations.

  1. ALBs are designed to distribute traffic across multiple Availability Zones (AZs) within a Region. If one AZ fails, the ALB will automatically shift traffic to the healthy AZs. This failover is automatic and handled by AWS.
  2. However, the capacity that your ALB has available is based on the LCUs you've provisioned. If you reserve the absolute minimum number of LCUs required for your normal traffic, and then an AZ fails, the remaining AZs might not have enough capacity to handle the increased load. This is where the confusion arises.
  3. The "redundancy option" in the ALB capacity reservation calculator is designed to account for this. It recommends reserving additional LCUs so that your ALB can handle the increased traffic load in the event of an AZ failure. Even though the ALB itself is redundant, the capacity it has might not be. While ALB auto-scaling can eventually add more capacity, it takes time. Capacity reservation ensures that you have the necessary capacity immediately available during an AZ failure, preventing potential performance degradation or connection drops.

Crux: Even though ALBs have built-in redundancy, you still need to reserve extra capacity (LCUs) to handle AZ failures. The "redundancy option" in the calculator helps you determine how much extra capacity to reserve. It's not about the ALB failing, but about the capacity being sufficient after an AZ failure.

AWS

답변함 2년 전

전문가

검토됨 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠