Heroku versus EC2
During the last few weeks I rewrote an existing PHP application with rails 4. Since basically everything changed (including DB schema and even DB type) a new hosting provider was also interesting.
After some research Heroku and Amazon EC2 seemed to be the best fit. During development the app was hosted on Heroku using it’s free tier for one dyno. As always, setup was very easy and all external services, like the database, memcached, Blitz.io and Papertrail were connected in no time.
But there are two “problems” with heroku:
I don’t have complete control over the server(s). This is a questionable point since Heroku provides a platform rather than just an infrastructure, so one might argue that not caring about the server(s) is actually a good thing. But I rather have full control over everything.
The price. Heroku’s free dyno is awesome, especially for development to get the app up and running very quickly. But once you actually need to scale, it becomes really expensive really fast.