by twillin on 8/25/17, 11:50 PM with 2 comments
Thanks!
by binarynate on 8/26/17, 12:22 AM
You choose to run your Beanstalk app in one of these modes: - route all traffic to a single instance without a load balancer (the cheap option) - auto-scale instances behind an Elastic Load Balancer (the scalable option)
One of the things I like about Beanstalk is that switching between these two modes is quick and easy. So, you can initially go with the cheap option to save money and then switch to the auto-scaling mode once you need it.
If you're developing APIs, I also recommend considering Lambda. I plan to use Lambda + API Gateway for my next project, since you only pay for the usage of when your lambda functions are executed (as opposed to paying for your EC2 instances to be up all the time, even when they're not used), and they can scale more quickly than spinning up new EC2 instances.