0xDECAFBAD

It's all spinning wheels and self-doubt until the first pot of coffee.

Amazon EC2 emerges

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.

Just as Amazon Simple Storage Service (Amazon S3) enables storage in the cloud, Amazon EC2 enables "compute" in the cloud.

This seems like the sound of the second shoe hitting the floor. Although I tried signing up for this as soon as I saw the email, I was already too late to get in on the beta and start playing. Maybe I'll get in on a second round.

EC2 seems a lot like User Mode Linux virtual hosting, but it charges by the CPU hour by the hour of uptime instead of month-to-month. I'll be very interested to see how this shakes out, and what sort of web app architecture it encourages when used in conjunction with S3 - say AJAX-based queues for instance? - or if it just gets used as a straight LAMP host in general.

Archived Comments

  • it charges by the CPU hour

    Just to prevent confusion: They call it instance hours and mean the hours a vm/instance has been running (independent of utilization). Only saying this, beause some hosts, like dreamhost, use(d) the term CPU-minutes for keeping track of "how much time a processor spends working for your username" and allow(ed) sth. like 60 CPU-minutes a day.

    At least that's how I understand the amazon offer.

    And thanks for the pointer! It'll be intereting to watch what people are going to come up with. Given that the instances are not "persistent", i.e. data is gone when you stop them (unless you move things int S3 or elsewhere), I am assuming that they will be used differently from regular dedicated machines.

    It reminds a little bit of DSL (Damnsmalllinux) which boots/runs of a CD, but allows you to save all your data and customization to an external storage (usb/ftp/etc.) and does auto-restore when you boot into it again. This is nice for people afraid of viruses or getting hacked etc.. I wonder whether this will turn out to be a plus for amazons offer as well. At first it does make things a bit more complicated wrt to usual linux way. But I guess tose things can be solved...

  • Sencer: Actually, I think your reading is the right one. It's charge per hour of uptime of the instance, and not a meter on CPU cycles.

    So, to do a quick napkin calculation - $0.10 per hour x 24 hours x 31 days = $74.40 per month to keep an instance running around the clock.

    That makes me think that applications using this service will need to be designed around some clever resource usage, either through scheduled tasks or some interesting way to respond on demand. Simply running a straight PHP app would seem a bit wasteful in many small-scale cases.

    If I were to run a blog from it, say, I'd lean more toward the Movable Type school of static publishing than the WordPress school of live PHP pages. Of course, that could all be done from a behind-firewall personal desktop machine, so I need to think of a better example.

    Then again, being able to add and drop instances at will is a big, big deal for larger scale applications.

  • Let's see, back of the envelope calculation ... that's a 10-machine cluster for 720$ /month + bandwidth. With redundant storage and firewall included. Holy crap! Web 2.0 apps just got a LOT cheaper to deploy.

    I am also stuck in limbo land: they sent the email out at 3AM PST, which is just rude: a west-coast company should at least wait until California and Washington wakes up before sending out a limited beta. Methinks the geeks in NYC and boston and the research triangle got all the slots.

  • Jonathan: Yeah, I think your calculation is a better one. Mine just reflects the fact that EC2 doesn't scale down to piddly little apps like I've been playing with. But scaling up, it looks like a much better value.

  • It appears to be based on Xen, judging from the sample hostnames in the docs.

  • I agree, you need to band together with a couple of mates to make it worthwhile for really small sites. But at the high end it is amazing value.

    Perhaps then there is an opportunity for someone to use EC2 based websites, you could easily create an sort of ISP or ASP model using this, by putting about 20 little websites/application servers on one Image.

    BTW Jonathan... I'm from little old New Zealand and I managed to nab a slot!

  • I checked out the Amazon EC2 since I am planning to offer web hosting solution somewhat similar to what EC2 are doing.