Is There a Cost-Effective Alternative to ALB for Test Environments?

0
19
Asked By JustAnOrdinaryCoder92 On

I'm looking for a way to save on costs in my test environments. Is there a CDK construct available that can substitute an Application Load Balancer (ALB) with an EC2 instance? Something that can just drop in easily would be ideal.

5 Answers

Answered By CloudGuru_42 On

If you're not using separate accounts for your environments, you can actually share the same ALB. Utilizing listener rules can help; I favor DNS-based rules like app.testing.your-company.com for this.

Answered By TechSavvy_Ninja On

Have you considered using nginx instead? It won't directly relate to the fck-nat construct, but it can serve as a functional load balancer.

CuriousDev44 -

I'm more on the lookout for a drop-in replacement or a construct like fck-nat.

Answered By CostConscious12 On

The reason fck-nat is useful is that in many setups, a NAT gateway isn't crucial; its failure won't majorly impact production. In contrast, load balancers are usually critical and can bottleneck scaling. You can technically use nginx, but it involves more work than configuring NAT, which is pretty straightforward on Linux.

Answered By FrugalTechie88 On

If cost is a concern, you might want to consider hosting on a VPS instead of using AWS, which tends to be expensive for these use cases.

WittyCommenter57 -

True! Maybe we should just archive the fck-nat library and tell AWS to reconsider their startup credits!

Answered By OptimisticDev84 On

I don't think there's a substitute available just yet. Load balancing has a lot of complexities and configs that are needed to match what AWS ALB provides, which makes it tricky to find a simple replacement.

AgreeableCoder73 -

Definitely agree with that, it’s more involved than it seems.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.