Friday, April 27, 2007

creating a virtual machine in Amazon's Elastic Compute Cloud (EC2)

So instead of reading my usual trade rag for lunch, I decided to check out Amazon's Elastic Compute Cloud (EC2). Amazon.com hosts a service whereby you create a virtual Linux server out in the cloud and install your apps on it: http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=84

The basic install instructions take about an hour or so to go through:
http://docs.amazonwebservices.com/AmazonEC2/gsg/2006-06-26/?ref=get-started

You first need to create a developer account and assign yourself some space on their Simple Storage Service platform (S3):
http://www.amazon.com/S3-AWS-home-page-Money/b/ref=sc_fe_l_2/103-6202354-5495861?ie=UTF8&node=16427261&no=3435361&me=A36L942TSJ2AJA

I did the setup and got a virtual machine up and running as a web server. I would have provided you a test URL to hit, but I have since discontinued the VM I setup. So here is a screen grab of some simple commands I ran on the server:
http://content.serveftp.net/video/amazon.txt


It would probably be pricey for the average user, but a small business could easily afford it:
http://content.serveftp.net/video/amazon.png

The machine specs are somewhat low powered: 2.4Ghz AMD Opteron 250/1GB mem/single proc/160GB, but suitable for web serving. After the base install, an admin would logon via ssh and upload/install whatever apps necessary.

The great thing about this service is that it is going to make development and deployment of new applications much easier, as well as give the ability to scale up or down on demand. Kudos to Amazon!

No comments:

Feel free to drop me a line or ask me a question.