<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Erik Howard&#187; ec2 Archives  | Erik Howard</title>
	<atom:link href="http://www.erikhoward.net/category/amazon/ec2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.erikhoward.net</link>
	<description>Cloud Computing, SaaS, and Web Development Blog</description>
	<lastBuildDate>Tue, 06 Apr 2010 00:07:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Getting Started with Amazon EC2</title>
		<link>http://www.erikhoward.net/started-amazon-ec2/</link>
		<comments>http://www.erikhoward.net/started-amazon-ec2/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 06:35:54 +0000</pubDate>
		<dc:creator>Erik Howard</dc:creator>
				<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[amazon]]></category>

		<guid isPermaLink="false">http://www.erikhoward.net/?p=47</guid>
		<description><![CDATA[Amazon Elastic Compute Cloud (EC2) is a commercial web service offering that allows you to rent your own server in which to deploy your applications. The infrastructure is highly scalable and allows you to increase or decrease your computing horsepower based on demand. Think of it as your own elastic data center where you only [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Amazon Elastic Compute Cloud (EC2) is a commercial web service offering that allows you to rent your own server in which to deploy your applications.  The infrastructure is highly scalable and allows you to increase or decrease your computing horsepower based on demand. Think of it as your own elastic data center where you only pay for the resources that you use.</p>
<p>EC2 uses Xen virtualization for its instances (servers). EC2 instances come in 3 sizes Small, Large, and Extra large. Amazon sizes instances on what’s called “EC2 Compute Units”. One EC2 Compute Unit (ECU) provides the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor.</p>
<p><strong>EC2 Standard Instances</strong><br />
Most applications are well suited for these types of instances:</p>
<ul>
<li>Small Instance:  1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of instance storage, 32-bit platform</li>
<li>Large Instance:  7.5 GB of memory, 4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each), 850 GB of instance storage, 64-bit platform</li>
<li>Extra Large Instance: 15 GB of memory, 8 EC2 Compute Units (4 virtual cores with 2 EC2 Compute Units each), 1690 GB of instance storage, 64-bit platform</li>
</ul>
<p><strong>EC2 High-CPU Instances</strong><br />
This family of instances has proportionally more CPU resources than memory and is better suited for computational-intensive applications.</p>
<ul>
<li>High-CPU Medium Instance:  1.7 GB of memory, 5 EC2 Compute Units (2 virtual cores with 2.5 EC2 Compute Units each), 350 GB of instance storage, 32-bit platform</li>
<li>High-CPU Extra Large Instance:  7 GB of memory, 20 EC2 Compute Units (8 virtual cores with 2.5 EC2 Compute Units each), 1690 GB of instance storage, 64-bit platform</li>
</ul>
<p>For most blogs, company websites and low-traffic ecommerce sites, a Small Instance will be fine. You can always migrate up to a larger instance.</p>
<p><strong>Getting Started</strong><br />
For this article we are going to launch a 32-bit Ubuntu 8.04 LTS Hardy AMI (Amazon Machine Instance) from <a href="http://alestic.com/">Alestic</a>.  Amazon provides a few AMI’s designed to get you up and running quickly. They also have over 1,700 Community AMI’s. You can select from Fedora, Ubuntu, Windows, CentOS and other flavors of Linux.</p>
<p>Before you can create your first instance, you will have to <a href="http://aws.amazon.com/ec2/">Sign Up for Amazon EC2</a>.</p>
<div id="attachment_48" class="wp-caption aligncenter" style="width: 460px"><a href="http://aws.amazon.com/ec2/"><img class="size-full wp-image-48" title="Amazon EC2 Signup" src="http://www.erikhoward.net/wp-content/uploads/2009/03/amazon-ec2-signup.png" alt="Amazon EC2 Signup" width="450" height="239" /></a><p class="wp-caption-text">Amazon EC2 Signup</p></div>
<p>After signing up, visit the <a href="https://console.aws.amazon.com/">AWS Management Console</a> page. Click on the Go to Amazon EC2 Console button.</p>
<div id="attachment_49" class="wp-caption aligncenter" style="width: 287px"><a href="https://console.aws.amazon.com/"><img class="size-full wp-image-49" title="Launch EC2 Management Console" src="http://www.erikhoward.net/wp-content/uploads/2009/03/amazon-ec2-console.png" alt="Launch EC2 Management Console" width="277" height="113" /></a><p class="wp-caption-text">Launch EC2 Management Console</p></div>
<p>Before you create and launch your EC2 instance. You should first create a Key Pair. You will use this key pair to login to your instance after it’s been created.<br />
To create your Key Pair, click Key Pairs in the left Navigation menu.  Next, click the <strong>Create Key Pair</strong> button in the Key Pairs window. Enter a descriptive name for your new Key Pair in the Create Key Pair dialog window.</p>
<div id="attachment_50" class="wp-caption aligncenter" style="width: 334px"><img class="size-full wp-image-50" title="Create Amazon EC2 Key Pair" src="http://www.erikhoward.net/wp-content/uploads/2009/03/amazon-ec2-keypair.png" alt="Create Amazon EC2 Key Pair" width="324" height="181" /><p class="wp-caption-text">Create Amazon EC2 Key Pair</p></div>
<p>Next you will be prompted to download your newly created Key Pair. Download your newly created Key Pair; you will need this to login to your new instance later.</p>
<div id="attachment_51" class="wp-caption aligncenter" style="width: 333px"><img class="size-full wp-image-51" title="Save EC2 Key Pair" src="http://www.erikhoward.net/wp-content/uploads/2009/03/amazon-ec2-download-keypair.png" alt="Save EC2 Key Pair" width="323" height="217" /><p class="wp-caption-text">Save EC2 Key Pair</p></div>
<p><strong>NOTE:  AMAZON DOES NOT STORE YOUR PRIVATE KEY PAIR. IF YOU DO NOT DOWNLOAD YOUR KEY FILE AT THIS POINT YOU WILL NOT BE ABLE TO LOGIN TO ANY INSTANCES THAT WERE CREATED USING THIS PRIVATE KEY PAIR.</strong></p>
<p>Now let’s go ahead and find our Amazon Ubuntu AMI and fire it up. Click the <strong>Dashboard</strong> link in the left hand navigation menu and then click the <strong>Launch Instances</strong> button.</p>
<div id="attachment_52" class="wp-caption aligncenter" style="width: 460px"><img class="size-full wp-image-52" title="Launch Amazon EC2 Instance" src="http://www.erikhoward.net/wp-content/uploads/2009/03/amazon-ec2-launch-instance.png" alt="Launch Amazon EC2 Instance" width="450" height="123" /><p class="wp-caption-text">Launch Amazon EC2 Instance</p></div>
<p>Select the Community AMI’s tab. Enter <strong>ami-71fd1a18</strong> in the search field. This is the AMI id of the Alestic 32-bit Ubuntu Hardy server. Click the <strong>Select</strong> button to continue.</p>
<div id="attachment_53" class="wp-caption aligncenter" style="width: 460px"><img class="size-full wp-image-53" title="Alestic Ubuntu Hardy AMI" src="http://www.erikhoward.net/wp-content/uploads/2009/03/alestic-ubuntu-hardy-ami.png" alt="Alestic Ubuntu Hardy AMI" width="450" height="169" /><p class="wp-caption-text">Alestic Ubuntu Hardy AMI</p></div>
<p>Now we are going to set some options for our Ubuntu AMI. First type in the number of instances you want to create, we are only going to create 1 for this article.<br />
Next, select the Small instance type. In the Key Pair Name drop-down, select the new Key Pair we just created.  In the Security Groups listbox, select default. We will skip the Advanced Options for now.</p>
<div id="attachment_54" class="wp-caption aligncenter" style="width: 509px"><img class="size-full wp-image-54" title="Amazon EC2 AMI Options" src="http://www.erikhoward.net/wp-content/uploads/2009/03/amazon-ec2-ami-options.png" alt="Amazon EC2 AMI Options" width="499" height="278" /><p class="wp-caption-text">Amazon EC2 AMI Options</p></div>
<p>Click <strong>Launch</strong> to start you new Ubuntu Amazon instance!</p>
<p>Amazon will now attempt to start you instance. This may take anywhere from 30 seconds to 5 minutes. To check on the status of your instance click the <strong>Instance</strong> link in the Navigation window.</p>
<div id="attachment_55" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-55" title="Amazon EC2 Instance Status" src="http://www.erikhoward.net/wp-content/uploads/2009/03/amazon-ec2-instance-status.png" alt="Amazon EC2 Instance Status" width="500" height="99" /><p class="wp-caption-text">Amazon EC2 Instance Status</p></div>
<p>You can connect to your instance with any SSH client. Find the Key Pair file you created previously for this instance. Make note of the Public DNS address of your new instance. For example, to connect to my test instance I just created, I would use the following SSH command:</p>
<p><code>ssh -i Web1.pem root@ec2-67-202-37-5.compute-1.amazonaws.com</code></p>
<p>Web1.pem is the private Key Pair that I created for this instance. If you did not save your Key Pair, then you will have to destroy this instance and create a new Key Pair and start a new instance with the new Key Pair.</p>
<p>Once you have finished playing around with your instance, make sure you terminate the instance so you won’t be charged for the idle instance.<br />
In future articles, I will show you how to setup Elastic IP’s, Elastic Block Storage, run shell scripts to setup your new instance and creating an instance using only Amazon’s  EC2 API.</p>
<p align="left"><a rel="nofollow" class="tt" href="http://twitter.com/home/?status=Getting+Started+with+Amazon+EC2+http://bit.ly/csAnME" title="Post to Twitter"><img class="nothumb" src="http://www.erikhoward.net/wp-content/plugins/tweet-this/icons/tt-twitter-big1.png" alt="Post to Twitter" /></a></p>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.erikhoward.net/started-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
