Back to Top

amazon

Cloud Computing Course, Part 2: Amazon's EC2

Oct 18, 2011 - Tags:

What if you could get a Linux server running in 5 minutes or less and have it cost you a couple of cents per hour? You can, and I'll tell you how.

Probably the easiest way to launch a virtual machine in the cloud is by getting yourself an account with Amazon Web Services. Essentially, that means you need a credit card so you can be billed for the time and resources you use. The price per hour for a small instance (the default machine) is 8.5 cents per hour. If you run your test machine for a hundred hours, it will cost you $8.50 -- larger deployments cost more, obvioulsy. Take that over the course of a month and you're paying as much for a small system as you would renting physical hardware from a hosting provider. One important difference here is speed. Where you may have to wait a day or two for a machine from your hosting provider, creating an EC2 virtual machine is blindingly fast in comparison. Deploying a new machine here takes only a few minutes on average.

Amazon also has a "micro" instance which you can get for only 2 cents per hour. Tiny mean you only have 8 GB of disk (EBS, or Elastic Block Storage) and 613 MB of memory. Performance is low, but hey, it's only 2 cents an hour. Great for testing.

Everything takes place from the Amazon EC2 management console (see Figure 1).  The dashboard view shows you current instances (what Amazon calls your virtual machines), what type they are, their status, IP address and so on. The dashboard also lets you sort on a variety of criteria including the region in which your machine is deployed (you can have machines in Virginia, California, Ireland, or Singapore). It also provides access to your volumes (storage devices), snapshots, security profiles, SSH key pairs, and pretty much anything having to do with running a virtual machine in Amazon's cloud.

Comments

Subscribe to amazon
The Original Cooking with Linux
 
Appearing monthly, 3rd Thursday, on Computer America
Appearing every 3rd Thurday of every month on the Computer America radio show.
  • Pro tip. Don't do anything important when you are severely sleep deprived. 2 days 13 hours ago
  • Sure, I know it was insane, but I heard that my Nexus 6P was waterproof, so I submerged it to find out, and it is. 3 days 13 hours ago
  • Not sure what kind of blossoms they are, but they are cheery. https://t.co/vRfG78flhv 5 days 7 hours ago
  • The latest Cooking With Linux video is up. Learn how to build a private PC server on https://t.co/kUpGBVpWUE 1 week 1 day ago
  • A new video from me. The Horror. The Horror! https://t.co/XVGv51O5Ry 1 week 2 days ago