Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

linode vs amazon ec2 vs heroku for project with amazon s3

I have a project in ruby on rails 3.1 like flickr, tumblr, pinterest...etc with a lot of pictures for maintenance.

My project have database Mongodb.

I'm using amazon s3 for host pictures.

I want to know what is the best hosting combination to get the most quality/price, linode + s3, or amazon ec2 + s3 or heroku + amazon s3.

I need enough scale because the project is growing fast.

Any other suggest is welcome :D.

After much reading I am not clear.

like image 990
hyperrjas Avatar asked Feb 21 '12 10:02

hyperrjas


People also ask

Is heroku cheaper than AWS?

AWS offers free tiers for every service and 750 free hours of computing capacity per month for EC2 instances. AWS is cheaper than Heroku. One compute capacity with 512MB RAM costs 3$ per month for an AWS instance and 25$ per month for a Heroku dyno. Heroku is known for the simplicity of its use.

What is the difference between Heroku and AWS?

Heroku is a container-based cloud platform offering (PaaS), whereas AWS is a secure cloud services platform providing IaaS, PaaS, and SaaS. Heroku offers you a ready-to-use environment that allows you to deploy your code fast, whereas the deployment process of AWS service is quite complicated.

Is Heroku hosted on AWS?

Heroku is a Platform as a Service (PaaS) that is actually built on top of AWS. Heroku takes a curated selection of the services and capabilities available from AWS and packages them into an easy-to-use solution for application development.

Is heroku better?

Heroku is based on AWS. However, its services are much simpler to use than the AWS Elastic Compute Cloud service. It is high on efficiency and support for building, deployment, and rapid scaling. One of its popularity is that it has add-on capabilities supporting multiple management tools and alerts.


1 Answers

If you want to save the most money then I'd go with linode (Amazon ec2 might cost about the same though). With linode for $19.95/month you get 20gb of space where you can host your website and database. If you're using s3 then you can use most of the 20gb for your database. Not only that but on linode the addons that would cost you money on Heroku will be free (solr/sphinx, background jobs, email, etc). Compare this to Heroku where a 20gb shared database alone costs $15/month. Then you need to pay monthly if you want solr, background jobs, etc.

On linode it's free because you run and maintain your own virtual private server (VPS). Which brings me to one of the most important things to consider here, linode will save you money but it will cost you more time since you have to manage everything yourself.

For what it's worth, I am currently in the process of moving much of my hosting over from Heroku to Linode because of the costs involved and because as a rails developer I feel it's important to understand how to manage my own webserver.

There are a lot of other advantages to having your own VPS though. For example, hosting multiple website, creating multiple databases used by other web apps, your own email server, etc.


Update: April 2014

An even cheaper alternative to linode is digitalocean. Their cheapest plan is currently $5/month.

like image 195
Dty Avatar answered Oct 08 '22 09:10

Dty