If I were avoiding heroku because of cost and had a need to scale horizontally, I'd use Fargate with spot instances.
Manage it with CDK or terraform. As long as you have enough containers running, spot ends up being a non issue.
Manage it with CDK or terraform. As long as you have enough containers running, spot ends up being a non issue.
So I put together an open-source Terraform super-module to automatically set all of that up in a few lines of code.
I'm a pretty big fan of CDK if you are willing to make cloudformation and AWS your lingua franca. I use it for most of my personal projects, but professionally bias towards terraform.