跳至內容

Conditional cross-zone loadbalancing

0

Hello, with the latest enhancements on TGW appliance mode (https://aws.amazon.com/de/blogs/networking-and-content-delivery/performance-and-metrics-enhancements-for-aws-transit-gateway-and-aws-cloud-wan/) a TGW will now keep the local AZ if src and dst are in the same AZ and the inspection VPC also has an attachment there (i.e. it will not add an AZ-hop in that case).

Inside my Inspection VPC I still might have a potential (unnecessary) AZ-Hop because I use cross-zone LB on the GWLB (because I have two FWs in total but only one per AZ).

I could imagine a new feature to have cross-zone LB enabled but only under the condition that the local-AZ does not have a healthy target in the TG. This way we would have HA across AZs but for normal cases use the shortest path and avoid latency and cross-AZ data transfer cost.

Is such a feature realistic, has anyone though about this?

已提問 1 年前檢視次數 151 次
1 個回答
0

While AWS hasn't officially announced a feature for conditional cross-zone load balancing as you've described, your idea is an interesting one that aligns with AWS's general approach to optimizing performance and reducing costs.

Currently, cross-zone load balancing for Gateway Load Balancers (GWLB) distributes traffic across all registered and healthy targets, regardless of which Availability Zones (AZs) these targets are in. This can indeed lead to unnecessary AZ hops and associated inter-AZ data transfer charges in some scenarios.

Your proposed feature of enabling cross-zone load balancing only when the local AZ doesn't have a healthy target in the target group is an intriguing concept. It would potentially offer the best of both worlds - maintaining high availability across AZs while minimizing latency and cross-AZ data transfer costs under normal conditions.

This approach would be particularly beneficial in setups like yours, where you have two firewalls in total but only one per AZ. It could help ensure that traffic stays within the same AZ when possible, leveraging the recent enhancements to Transit Gateway (TGW) appliance mode that you mentioned.

While such a feature isn't currently available, it's not unrealistic to think AWS might consider implementing something similar in the future. AWS regularly introduces new features and optimizations based on customer needs and feedback. The idea aligns well with AWS's focus on performance optimization and cost-efficiency.

In the meantime, you might want to carefully weigh the trade-offs between enabling cross-zone load balancing (for better fault tolerance) and disabling it (for potentially lower latency and costs) based on your specific use case and requirements. You could also consider submitting a feature request to AWS support or through their feedback channels to bring attention to this idea.

Remember that while this feature isn't currently available, AWS continues to evolve its services. It's always worth keeping an eye on AWS announcements and documentation for potential future enhancements in this area.
Sources
Using cross-zone load balancing with zonal shift | Networking & Content Delivery
GWLB + Cross AZ Charges | AWS re:Post

已回答 1 年前
專家
已審閱 1 年前

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

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