I've been running a pretty popular site off of a $5 / month digital ocean box with no issues for over a year now. Does Heroku have this large of a markup generally, or is the op just overconfiguring?
I've been running a pretty popular site off of a $5 / month digital ocean box with no issues for over a year now. Does Heroku have this large of a markup generally, or is the op just overconfiguring?
* Want a web server instance that doesn't get shut down between requests? Then get at least 2 web dynos at $35/month each.
* Want to run background jobs that are longer than 30 seconds? Then get a separate worker dyno at $35/month.
* Want a database with more than 10K (!) rows? That's at least $10/month.
* Want a memcache? That's $15+/month.
And so on. For a small to medium popularity site, all of these could be combined into one VPS on traditional cloud hosting. Heroku would make sense for a startup that has plenty of cash and limited developer resources (-> buy fully-managed-everything), and knows it will need to scale to tens or hundreds of servers to handle traffic very soon. But for most hobby webapps, a single VPS somewhere else will be 10x cheaper and good enough for a long, long while.
The next step from there could be moving the database to a separate server. You can get quite a ways without even worrying about load balancing/proxying/mirroring/etc.
Also, if you're using Rails, switching to Unicorn as the server allows 3-5 concurrent requests, so you can get quite a bit out of the one free dyno if you don't use the standard config.