Patti (whipartist) wrote,

Pricing out Amazon EC2

I'm looking at the possibility of moving my backgammon server to Amazon EC2 or some other virtual hosting service, rather than self-hosting, and I'm trying to estimate costs. I'd appreciate a sanity check from anyone who is familiar with EC2, or anyone who just wants to check my math.

A small reserved instance, which is more than adequate for my needs, costs $227.50/year to reserve, and $.03/hour to run. That's $490.30/year if I reserve it for one year, or $40.85/month.

Data transfer is $.10/GB in, and $.17/GB out. Based on a five-day sample, I'm doing about 34MB/hr in, and about 36MB/hr out. That's around 21GB/month in, for a cost of $2.10, and 26GB/month out, for a cost of $4.42. (note:.I'm using a 30-day month. It's close enough.) Bandwidth would be $6.52/month.

Disk space is $.10/GB/month, and $.10/million I/O requests. I'm currently using just under 30GB of disk space on the server, but a lot of that is wasted. Call it 30GB, for $3/month for storage. I/O requests are hard. Currently, iostat -d is reporting 20.8 transactions per second. 20.8 * 60 * 60 * 24 * 30 is about 54M I/O requests per month. That would be $5.40/month. Storage total $8.40/month.

Backing the server up to S3 is $.15/GB/month. That's $4.50/month. (It's actually probably a bit less than that, but we'll go with that number.)

So if I've done this right, it's $40.85 + 6.52 + 8.40 + 4.50, or just a hair over $60/month. For this I will get a reliable (virtual) server and connectivity with no real maintenance costs, with the tradeoff that I'm now paying for metered service on everything. Even if my estimates are off by 50%, that's still less than what I'm paying to keep the server here. A small EC2 instance has more horsepower than my current server, so that's not an issue.

Another alternative would be to go with another virtual hosting provider, but I have no idea what the market looks like right now. A quick web search turns up about 37 zillion providers that will offer me a VM at a reasonable price, but I have no good way to determine quality and reliability of any of them. Is there anyone in this space that is highly reputable?

Note that I'm looking for virtual server hosting, not web hosting.

Any thoughts from the geeks in the audience?
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded