Running is therapy

a blog about running, cats, Linux and programming.
  • Home
  • Current Schedule
  • Personal Records
  • Upcoming Races

EC2 and S3

Published by Nathan Powell on December 28, 2007 03:46 pm under computers, programming

Over the last couple of days I have spent some of my vacation playing with EC2 and S3. I have to say, I haven’t been this excited about technology in a long time. The possibilities for using the two separately and together are pretty staggering.

Essentially, EC2 (Elastic Compute Cloud) is a service that allows you to create Xen images (which they refer to as AMI’s (Amazon Machine Images)), upload them to S3 (Simple Storage Service) and then via API calls (or as I have been doing via a Firefox extension) start/stop/reboot a virtual Linux server. The server can then be used as would any Linux server.

S3 is simply storage space. And also via API calls, you can access Objects (data) that is stored in S3. However, of interest to me, is Eastic Drive which allows you to mount S3 space. I haven’t tried this yet, but plan to in the near future and will post about it here.

As many of you may already know, there are a few drawbacks and workarounds to drawbacks that need to be considered when deciding on using EC2/S3 for your web project. The first is that it costs money to test it. Yesterday I messed around for about 4 hours and ran up a bill of 44 cents :)

The second is that all virtual machines in the cloud are assigned dynamic IP’s (I will leave this for another time, because I am not convinced this matters as much as some do).

Third is that the AMI’s don’t maintain state, so anything created by a running instance becomes volatile data. Think, logging, MySql records, hand made changes to config files, etc.

There are others, but I will get into the ones above and the others as time goes on. I plan to spend the next few months designing some things to work with EC2 and so I hope that I can share that journey here.

Happy Hacking!

No Comment

Comments are closed.

Posting your comment.

  • Search

  • Archives

    • October 2008 (5)
    • September 2008 (4)
    • August 2008 (10)
    • July 2008 (11)
    • June 2008 (14)
    • May 2008 (15)
    • April 2008 (10)
    • March 2008 (16)
    • February 2008 (17)
    • January 2008 (37)
    • December 2007 (21)
    • November 2007 (30)
    • October 2007 (29)
    • September 2007 (22)
    • August 2007 (30)
    • July 2007 (49)
    • June 2007 (32)
    • May 2007 (29)
    • April 2007 (38)
    • March 2007 (26)
    • February 2007 (25)
    • January 2007 (23)
    • December 2006 (10)
    • November 2006 (12)
    • October 2006 (9)
    • September 2006 (9)
    • August 2006 (5)
    • July 2006 (13)
    • June 2006 (9)
    • May 2006 (8)
    • April 2006 (11)
    • March 2006 (12)
    • February 2006 (12)
    • January 2006 (13)
    • December 2005 (15)
    • November 2005 (19)
    • October 2005 (8)
  • Categories

    • blather (63)
    • books (10)
    • computers (177)
    • cooking (1)
    • economics (3)
    • emacs (3)
    • football (1)
    • gaming (1)
    • hiking (5)
    • housekeeping (5)
    • lifehacking (7)
    • music (3)
    • paddling (2)
    • personal (1)
    • politics (21)
    • programming (70)
    • running (233)
    • smoking (40)
    • sysadmin (10)
    • tlc (10)
    • Uncategorized (1)
  • Pages

    • Current Schedule
    • Personal Records
    • Upcoming Races

Copyright © 2008 Running is therapy
WordPress Theme based on Light Theme