Hacker News new | ask | show | jobs
by greenmountin 3546 days ago
Does anyone know about Azure auto-scaling? It says "most [VM's] include load-balancing and auto-scaling free of charge", is that true and is it any more friendly to hobbyists than the other two?

It was very disappointing to see the auto-scaling services for GCP and AWS basically require a $20/mo load balancer right off the bat. I have an app that is quietly puttering away on a single Digital Ocean droplet, but could at any moment, uh, make it big and I want to be ready. But I can't really stomach the $20 just to turn on auto-scaling somewhere.

3 comments

To be fair - Amazon (and Google/Azure/whoever) aren't really targeting the sort of user who wants autoscaling for under $20/month... They've got different fish to fry.

There's kind of this uncanny valley of businesses who think their website/app-backend is kinda important, but keep asking about $5 or $20/month hosting when you've recommended ~$100/month for a load balanced redundant AWS setup. If you aren't prepared to pay for a load balancer, at least two ec2 instances, and a multi-region RDS instance - I don't really want to get your 2am Saturday morning phone calls asking why your site/app is down.

Advice: investigate your devops tool of choice (I like Ansible) and work out how to script the spin up of infrastructure at Digital Ocean - you'll need to invest some time to learn and get it working, but you should be able to set up a single command line script to provision additional droplets and add them behind an (automatically updated via Ansible/APIs) dns round robin set of "Floating IP" addresses (or Elastic IP addresses in AWS terminology) and use Heartbeat on each droplet to monitor the others and re-update the Floating IPs as needed. That's kind poorman's HA. For extra credit, you could work out how to automate provisioning of some HAProxy Droplets sitting in front of your app server droplets. Managing a shared database is left as an exercise to the reader who prefers not to pay for RDS ;-)

Did you look into just using DNS load balancing with AWS and GCP? I don't have any experience in that, but Loggly used it in lieu of an ELB in AWS. https://www.loggly.com/blog/why-aws-route-53-over-elastic-lo... So as long as you have a domain somewhere...
Yes, Azure load balancers are free compared to aws's elbs ~20$ charge.

aws elb support http and https termination, and can even provide free SSL certs. Azure's is tcp/udp only.

And the new aws Application load balancers offer even more features.

So it depends on your use-case.