Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Gateway Load Balancer #30

Closed
aidansteele opened this issue Nov 10, 2022 · 6 comments
Closed

AWS Gateway Load Balancer #30

aidansteele opened this issue Nov 10, 2022 · 6 comments
Labels
enhancement New feature or request help wanted Extra attention is needed needs design This idea needs further clarification and design prior to implementation

Comments

@aidansteele
Copy link

AWS have an offering called the Gateway Load Balancer. Pricing is based on the GWLB itself and GWLB endpoints (GWLBe). Both have per-hour and per-GB costs.

A single GWLB can be deployed to multiple AZs (just like an LB) and GWLBes are AZ-specific. So for a single AZ it would cost $0.0225/hr. Per-GB it would be an extra $0.0075 - this is assuming costs are dominated by bandwidth and not the other GLCU units (active connections and new connections).

As per tweet the main benefits would be high availability within each AZ (via multiple instances behind a GWLBe) and the ability for connection draining.

There is even a recent blog post demonstrating exactly how this could be achieved. It is the "2-arm" mode that would most closely mirror how alterNAT works today.

@bwhaley bwhaley added enhancement New feature or request help wanted Extra attention is needed needs design This idea needs further clarification and design prior to implementation labels Nov 10, 2022
@eddycek
Copy link
Contributor

eddycek commented Jan 23, 2023

Hi @aidansteele I was looking at a blog post from AWS and it looks interesting, but not production ready. By any chance is there already some demo with alternat?

@bwhaley
Copy link
Member

bwhaley commented Jan 23, 2023

@eddycek Are you asking for a demo of alterNAT as it is now (with NAT instances) or a demo of a version with GWLB? If the former, there is a demo of alterNAT in this video.

@eddycek
Copy link
Contributor

eddycek commented Jan 24, 2023

@bwhaley Sorry, I meant the alterNAT demo with GWLB. Otherwise I've seen the video and it's excellent, but I can't afford to close all open connections during a patch instances.

@bwhaley
Copy link
Member

bwhaley commented Apr 25, 2023

This is an interesting idea and may well be useful for some users, but probably not for alterNAT. Going to close this but anyone who wants to tackle it in the future should reply here so we can check it out!

@bwhaley bwhaley closed this as completed Apr 25, 2023
@nitrocode
Copy link
Contributor

Would the gateway load balancer avoid needing to manage ips in the route table via the lambda? If so, then it would eliminate the issue of closed tcp connections during a scaling or max refresh event.

@eddycek
Copy link
Contributor

eddycek commented May 27, 2024

Would the gateway load balancer avoid needing to manage ips in the route table via the lambda? If so, then it would eliminate the issue of closed tcp connections during a scaling or max refresh event.

Yes it's right. The question is, how much would the price of operating the alternat with LB vs manage NAT increase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed needs design This idea needs further clarification and design prior to implementation
Projects
None yet
Development

No branches or pull requests

4 participants