My question here is either I have to go for AWS Application load balancer or nginx or haproxy load balancer setup on AWS EC2 instance? I am more concern about pricing and can not afford downtime.
Need to make up a couple of load scenarios - low, medium, high and work out a price point for each in aws appication load balancer vs nginx on ec2 instance.
Can anyone suggest best use cases based on your experience?
EC2:
ELB:
For ELB calculations you can try this AWS ELB calculator
For EC2 + Nginx you can use AWS Pricing Calculator
From my experience - go for ELB. You set this up once and don't even care about anything else. It's easy to configure (IaC), it has 99.95% uptime (you won't get similar with ec2+nginx), and it's not so expensive. Additionally you can attach AWS WAF to ELB now, and you can easly point your CloudFront distribution to ELB.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With