<?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"
	>

<channel>
	<title>How To Cloud</title>
	<atom:link href="http://www.howtocloud.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.howtocloud.com/blog</link>
	<description>We like to cloud.</description>
	<pubDate>Sat, 27 Sep 2008 14:35:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Windows XP, EC2 API Tools (portable)</title>
		<link>http://www.howtocloud.com/blog/?p=134</link>
		<comments>http://www.howtocloud.com/blog/?p=134#comments</comments>
		<pubDate>Sat, 27 Sep 2008 13:18:45 +0000</pubDate>
		<dc:creator>David Mulhern</dc:creator>
		
		<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://www.howtocloud.com/blog/?p=134</guid>
		<description><![CDATA[

First, we need to get Java. I chose the JDK 6 Update 7. Choose &#8220;Windows Offline Installation&#8221;.





Click &#8220;choose&#8221; to select a folder on your usb/bluetooth/thumb/sdhc/etc drive. For example, S:\jdk\





Now, download the EC2 Command-Line Tools from Amazon. Extract them to yourdrive:\ec2\ as shown. In the &#8220;cert&#8221; folder, place your PEM files (the ones prefixed with &#8220;cert&#8221; [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorial_row">
<div class="tutorial_text">
<p>First, we need to get Java. I chose the <a href="http://java.sun.com/javase/downloads/index.jsp">JDK 6 Update 7</a>. Choose &#8220;Windows Offline Installation&#8221;.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/api_tools_for_windows/1.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Click &#8220;choose&#8221; to select a folder on your usb/bluetooth/thumb/sdhc/etc drive. For example, S:\jdk\</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/api_tools_for_windows/4.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Now, download the <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351">EC2 Command-Line Tools</a> from Amazon. Extract them to yourdrive:\ec2\ as shown. In the &#8220;cert&#8221; folder, place your PEM files (the ones prefixed with &#8220;cert&#8221; and &#8220;pk&#8221;).</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/api_tools_for_windows/2.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/api_tools_for_windows/3.png" alt="" /></div>
<p>Make sure to create an env.bat file like below. It makes things a lot easier.</p>
<p><code>set Path=S:/jdk/bin;%Path%<br />
set JAVA_HOME=S:/jdk<br />
set EC2_HOME=S:\ec2<br />
set PATH=%PATH%;%EC2_HOME%\bin<br />
set EC2_PRIVATE_KEY=S:\ec2\cert\pk-your_filename.pem<br />
set EC2_CERT=S:\ec2\cert\cert-your_filename.pem<br />
cmd<br />
cls</code></p>
<p>That&#8217;s it! You can now run all those great commands anywhere!</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.howtocloud.com/blog/?feed=rss2&amp;p=134</wfw:commentRss>
		</item>
		<item>
		<title>Part Five: Creating an Image</title>
		<link>http://www.howtocloud.com/blog/?p=104</link>
		<comments>http://www.howtocloud.com/blog/?p=104#comments</comments>
		<pubDate>Sat, 27 Sep 2008 11:45:17 +0000</pubDate>
		<dc:creator>David Mulhern</dc:creator>
		
		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Amazon]]></category>

		<category><![CDATA[Cloud]]></category>

		<category><![CDATA[EC2]]></category>

		<category><![CDATA[S3]]></category>

		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.howtocloud.com/blog/?p=104</guid>
		<description><![CDATA[

To store your server&#8217;s state (once it&#8217;s all set up), you can create an image of it and store it in S3. After doing this, you can launch the image as an instance (or fifty bajillion instances if you so choose).
First, make sure the cert-#.pem and pk-#.pem files are in your root directory.
We begin with
scp [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorial_row">
<div class="tutorial_text">
<p>To store your server&#8217;s state (once it&#8217;s all set up), you can create an image of it and store it in S3. After doing this, you can launch the image as an instance (or fifty bajillion instances if you so choose).</p>
<p>First, make sure the cert-#.pem and pk-#.pem files are in your root directory.</p>
<p>We begin with</p>
<p><code>scp -i id_rsa-gsg-keypair pk-#.pem cert-#.pem root@your_public_dns.amazonaws.com:/mnt</code></p>
<p>Replace # with the filename and &#8220;your_public_dns&#8221; with&#8230; well, the public dns for this instance.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/06_create_an_image/1.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Next, we&#8217;ll bundle this thing.</p>
<p><code>ec2-bundle-vol -d /mnt -k /mnt/pk-#.pem -c /mnt/cert-#.pem -u account_id -r i386 -p the_image_name</code></p>
<p>Replace # with the filename.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/06_create_an_image/2.png" alt="" /></div>
<p>Note: Replace &#8220;account_id&#8221; with your account number (don&#8217;t include the &#8220;-&#8221;).</p>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/06_create_an_image/3.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>And upload it onto S3. At this point you will be charged for storage.</p>
<p><code>ec2-upload-bundle -b very_unique_id -m /mnt/the_image_name.manifest.xml -a access_key_id -s secret_access_key</code></p>
<p>Replace &#8220;very_unique_id&#8221; with the bucket name. This can&#8217;t someone else&#8217;s existing bucket so use a unique name.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/06_create_an_image/6.png" alt="" /></div>
<p>Note: The &#8220;access_key_id&#8221; and &#8220;secret_access_key&#8221; can be found in your AWS account.</p>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/06_create_an_image/5.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Finally, we have to register this image with Amazon. If you try to run from your EC2 instance, you may get a &#8220;command not found&#8221; message. ec2-register is part of the API tools (as opposed to the AMI tools). If this happens, you can just run it from your local computer (<a href="http://www.howtocloud.com/blog/?p=134">as explained here</a>).</p>
<p><code>ec2-register very_unique_id/the_image_name.manifest.xml<br />
</code></p>
<p>Replace &#8220;very_unique_id&#8221; with the bucket name and &#8220;the_image_name&#8221; with what you chose above. You will be given an image ID. You can use this to filter the AMI&#8217;s in ElasticFox to find your new AMI - and it&#8217;s ready to launch!</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/06_create_an_image/8.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/06_create_an_image/9.png" alt="" /></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.howtocloud.com/blog/?feed=rss2&amp;p=104</wfw:commentRss>
		</item>
		<item>
		<title>Part Four: Assigning a Domain Name</title>
		<link>http://www.howtocloud.com/blog/?p=53</link>
		<comments>http://www.howtocloud.com/blog/?p=53#comments</comments>
		<pubDate>Fri, 26 Sep 2008 07:21:52 +0000</pubDate>
		<dc:creator>David Mulhern</dc:creator>
		
		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Amazon]]></category>

		<category><![CDATA[Cloud]]></category>

		<category><![CDATA[EC2]]></category>

		<category><![CDATA[S3]]></category>

		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.howtocloud.com/blog/?p=53</guid>
		<description><![CDATA[

Now, we will make a domain name point to our machine in the cloud. For this part of the tutorial, I&#8217;m using &#8220;everydns.com&#8221; for dynamic dns. There are a number of solutions available. This one is free so anyone can follow along.
First, login to wherever your domain name is (for instance, godaddy.com) and edit the [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorial_row">
<div class="tutorial_text">
<p>Now, we will make a domain name point to our machine in the cloud. For this part of the tutorial, I&#8217;m using &#8220;everydns.com&#8221; for dynamic dns. There are a number of solutions available. This one is free so anyone can follow along.</p>
<p>First, login to wherever your domain name is (for instance, godaddy.com) and edit the nameservers. Change your nameservers to ns(1 through 4).everydns.net and apply.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/04_assign_domain_name/71.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/04_assign_domain_name/72.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Go to everydns.com and create an account.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/04_assign_domain_name/73.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>After successfully logging in, add a new domain using their sidebar. After adding it, click on it in the list.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/04_assign_domain_name/74.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/04_assign_domain_name/75.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>If you can, delete any existing records. You won&#8217;t need them anymore.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/04_assign_domain_name/76.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Remember that ElasticIP we created earlier? It&#8217;s back in ElasticFox under the &#8220;Elastic IP&#8221; tab. Get that into your clipboard.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/04_assign_domain_name/77.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>In everydns, add an A record with this IP and your domain name (without &#8220;www&#8221;)</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/04_assign_domain_name/78.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Add a cname record for &#8220;www&#8221; with the record value being the domain you just entered.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/04_assign_domain_name/79.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Your domain will now point to the correct IP for that server instance. After a few hours, clear your DNS caches and type in the url. It will be the same page we saw in part three after typing in the IP.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/04_assign_domain_name/80.png" alt="" /></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.howtocloud.com/blog/?feed=rss2&amp;p=53</wfw:commentRss>
		</item>
		<item>
		<title>Part Three: Persistant Storage</title>
		<link>http://www.howtocloud.com/blog/?p=35</link>
		<comments>http://www.howtocloud.com/blog/?p=35#comments</comments>
		<pubDate>Fri, 26 Sep 2008 06:29:12 +0000</pubDate>
		<dc:creator>David Mulhern</dc:creator>
		
		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Amazon]]></category>

		<category><![CDATA[Cloud]]></category>

		<category><![CDATA[EC2]]></category>

		<category><![CDATA[S3]]></category>

		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.howtocloud.com/blog/?p=35</guid>
		<description><![CDATA[

Think of your EC2 instances (the virtual computer we just made) like a RAM drive. If you ever need to reset it, it reverts to it&#8217;s original structure. This means databases and changed files will go back to normal. One way to make dynamic data persist regardless of the state of your EC2 instances is [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorial_row">
<div class="tutorial_text">
<p>Think of your EC2 instances (the virtual computer we just made) like a RAM drive. If you ever need to reset it, it reverts to it&#8217;s original structure. This means databases and changed files will go back to normal. One way to make dynamic data persist regardless of the state of your EC2 instances is to add a virtual hard drive. If you don&#8217;t need to store persistant data, skip to step four. Otherwise, click on the &#8220;Volumes and Snapshots&#8221; tab.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/03_attach_a_hard_drive/59.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Click the plus icon to create a new volume. For &#8220;Availability Zone&#8221; choose the same one as the image you will attach the drive.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/03_attach_a_hard_drive/60.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/03_attach_a_hard_drive/61.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>This can be found under the &#8220;AMIs and Instances&#8221; tab. While you&#8217;re there, right click and choose &#8220;Copy Instance ID to clipboard&#8221;.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/03_attach_a_hard_drive/62.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/03_attach_a_hard_drive/63.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Now, from the &#8220;Volumes and Snapshots&#8221; tab, right click on your new volume and select &#8220;Attach this volume&#8221;. Paste the instance ID (or select it from the dropdown) and give your volume a name. After clicking attach, it&#8217;s status will change to &#8220;in-use&#8221;.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/03_attach_a_hard_drive/64.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/03_attach_a_hard_drive/65.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/03_attach_a_hard_drive/66.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>SSH into your machine instance and type:</p>
<p><code>mkfs.ext3 /dev/sdh</code></p>
<p>This will format the new partition.</p>
<p><code>mkdir /ebs; mount -t ext3 /dev/sdh /ebs</code></p>
<p>to mount the volume to the path &#8220;/ebs&#8221;. You should also </p>
<p><code>vi /etc/fstab</code></p>
<p>and add this volume (as shown). You can use: </p>
<p><code>echo "/dev/sdh /ebs ext3 noatime 0 0" >> /etc/fstab</code></p>
<p>to do this (<a href="http://agiletesting.blogspot.com/2008/09/experiences-with-amazon-ec2-and-ebs.html">thanks to Grig for this</a>)</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/03_attach_a_hard_drive/67.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/03_attach_a_hard_drive/68.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/03_attach_a_hard_drive/69.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>This path &#8220;/ebs&#8221; (or whatever you called it) is now available to any application. It will persist even if the machine is deleted. Just bring up a new instance, and remap the drive. You can even create snapshots of the drive&#8217;s state by right clicking on the volume and selecting &#8220;Create a new snapshot from this volume&#8221;.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/03_attach_a_hard_drive/70.png" alt="" /></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.howtocloud.com/blog/?feed=rss2&amp;p=35</wfw:commentRss>
		</item>
		<item>
		<title>Part Two: Make a computer</title>
		<link>http://www.howtocloud.com/blog/?p=22</link>
		<comments>http://www.howtocloud.com/blog/?p=22#comments</comments>
		<pubDate>Thu, 25 Sep 2008 05:56:58 +0000</pubDate>
		<dc:creator>David Mulhern</dc:creator>
		
		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Amazon]]></category>

		<category><![CDATA[Cloud]]></category>

		<category><![CDATA[EC2]]></category>

		<category><![CDATA[S3]]></category>

		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.howtocloud.com/blog/?p=22</guid>
		<description><![CDATA[

To create a machine instance, we will need to connect to our Amazon account with ElasticFox (for Firefox). Do a Google search - you&#8217;ll find it. Download and install the plugin. You will be asked to restart Firefox.







After restarting, click on &#8220;Elasticfox&#8221; from the &#8220;Tools&#8221; menu.





You will see something like this. &#8220;A&#8221; is where you [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorial_row">
<div class="tutorial_text">
<p>To create a machine instance, we will need to connect to our Amazon account with ElasticFox (for Firefox). Do a Google search - you&#8217;ll find it. Download and install the plugin. You will be asked to restart Firefox.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/17.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/18.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/19.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>After restarting, click on &#8220;Elasticfox&#8221; from the &#8220;Tools&#8221; menu.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/20.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>You will see something like this. &#8220;A&#8221; is where you can find images of machines. &#8220;B&#8221; is your current machines. Click on &#8220;Credentials&#8221; in the top left to add your Amazon account.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/21.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Give this account any name you like. The two keys are the Access Identifiers from your Amazon account. Click &#8220;Add&#8221; then &#8220;Close&#8221;.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/22.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Now, click on the &#8220;KeyPairs&#8221; tab. Add a keypair with a specific name.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/23.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/24.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>A .pem file will be saved to your hard drive. Place this in a memorable spot as you will need to access it in just a few steps.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/25.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/26.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Click on the &#8220;Security Groups&#8221; tab. Add a group and give it any name and description that you like.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/27.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/28.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>In the panel below, click the checkmark to add a permission. This initial permission will go from port 0 to 80. You click the checkmark again to add more ports if you know you&#8217;re going to need them (like 10000 for webmin)</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/29.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/30.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Download putty. You&#8217;re going to need it to access your virtual computer. Just Google putty and click one of the downloads. For this tutorial, I will use the installer version. After downloading, run the installer.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/31.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Now, run PuttyGen from your newly installed Start Menu group.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/32.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Click &#8220;Conversions&#8221; and &#8220;Import Key&#8221;. You must select the key you saved a few steps before.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/33.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/34.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Click &#8220;Save private key&#8221; and place the file in your user directory under a folder called ec2-keys. For example &#8220;C:\documents and settings\username\ec2-keys\name.ppk&#8221;</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/35.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/39.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>With that file in place, return to ElasticFox and click on &#8220;Tools&#8221; in the upper right corner.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/37.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Make sure to change the SSH Key Template directory to whatever you chose when you saved your PPK file. Leave ${keyname} as it is simply a variable that changes depending on which machine you are connecting to.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/38.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>We are now ready to create a virtual computer.</p>
<p>Click on &#8220;Refresh&#8221; under the &#8220;AMIs and Instances&#8221; tab if you don&#8217;t see anything listed. Each item in this list is an image of a computer just waiting to be activated in your cloud.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/40.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>For example, type &#8220;apache&#8221; into the small input just above the list. This will filter the items leaving us with a smaller list. Right click on &#8220;ec2-public-images/fedora-core4-apache-mysql-v1.07&#8243; if it is available and select &#8220;Launch Instance(s) of this AMI&#8221;.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/41.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/42.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Choose m1.small. You can make a stronger computer by selecting a different option. Adjust your security groups by removing default (if it&#8217;s there) and adding the group you made earlier (in this case &#8220;web_traffic&#8221;). Make sure to use the keypair (which became a pem, which became a ppk) from before.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/43.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Now, in &#8220;Your Instances&#8221; a machine will appear. It will say pending for about thirty seconds. Click &#8220;refresh&#8221; and your computer should say &#8220;ready&#8221;. Right click on this new machine and click &#8220;SSH to Public DNS Name&#8221;.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/44.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/45.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Putty will pop open. Add the rsa2 fingerprint to Putty&#8217;s cache.</p>
<p>We are now logged in to our fresh new (albeit virtual) computer.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/46.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/47.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Back from ElasticFox, right click on the new instance and select &#8220;Copy Public DNS Name to Clipboard&#8221;. Paste this into the URL of a new tab. This test page is being served from your new machine within the Amazon cloud.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/48.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/49.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>To prove it, go back to putty and type:</p>
<p><code>vi /var/www/html/index.php</code></p>
<p>Then: </p>
<p><code>i</code></p>
<p>to edit this document then type in anything you like.</p>
<p>When you are done, hit escape then:<br />
<code>:w</code>Finally type:</p>
<p><code>:q</code></p>
<p>to quit.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/51.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Refresh the tab you opened earlier with your Public DNS Name and you will should see it change.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/52.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>From ElasticFox, click on the &#8220;Elastic IPs&#8221; tab. Click on the plus icon to add an elastic IP.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/53.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/54.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>From the AMIs and Instances tab, right click on your new machine instance again. Select &#8220;Copy Instance ID to clipboard&#8221;. Go back to the &#8220;Elastic IPs&#8221; tab, right click on your new IP and choose &#8220;Associate this address&#8221;.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/55.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/56.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Paste in the instance name.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/57.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>After a few minutes (took about ten for me), you can access your machine through this new IP.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/02_make_a_computer/58.png" alt="" /></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.howtocloud.com/blog/?feed=rss2&amp;p=22</wfw:commentRss>
		</item>
		<item>
		<title>Part One: Enter the cloud.</title>
		<link>http://www.howtocloud.com/blog/?p=1</link>
		<comments>http://www.howtocloud.com/blog/?p=1#comments</comments>
		<pubDate>Thu, 25 Sep 2008 03:43:09 +0000</pubDate>
		<dc:creator>David Mulhern</dc:creator>
		
		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Amazon]]></category>

		<category><![CDATA[Cloud]]></category>

		<category><![CDATA[EC2]]></category>

		<category><![CDATA[S3]]></category>

		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.howtocloud.com/blog/?p=1</guid>
		<description><![CDATA[

First, sign up for an account.






Add a way to pay. Your costs will vary (if you accidentally add five thousand large server instances for example).
Remember, everything past this point could potentially cost you money. On my first day using it, I was charged about $1.30. Not much of an investment on the front end.






Now, click [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorial_row">
<div class="tutorial_text">
<p>First, sign up for an account.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/01_sign_up/1.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/01_sign_up/2.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Add a way to pay. Your costs will vary (if you accidentally add five thousand large server instances for example).</p>
<p>Remember, everything past this point could potentially cost you money. On my first day using it, I was charged about $1.30. Not much of an investment on the front end.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/01_sign_up/4.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/01_sign_up/5.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Now, click on &#8220;Access Identifiers&#8221;</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/01_sign_up/6.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Remember this location. The Access Key ID and your Secret Access Key will be used to identify your account from this point on.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/01_sign_up/7.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Just below these keys, you will have to create an X.509 certificate. Click &#8220;create new&#8221; to begin.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/01_sign_up/8.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/01_sign_up/9.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>Now, download these newly generated private key files to location that you will remember. You need will need both files.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/01_sign_up/10.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>You are now set up with all the Amazon access keys you&#8217;ll need. This means we can sign up for the Elastic Compute Cloud. Click on &#8220;Products&#8221; and &#8220;Amazon Elastic Compute Cloud&#8221;. Then click &#8220;Sign Up&#8221;</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/01_sign_up/13.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/01_sign_up/14.png" alt="" /></div>
</div>
<div class="tutorial_row">
<div class="tutorial_text">
<p>To verify that it worked, click on &#8220;Your Account&#8221; then &#8220;Account Activity&#8221;. You should see two items listed with a cost of zero.</p>
<p>We are ready to create a virtual computer.</p>
</div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/01_sign_up/15.png" alt="" /></div>
<div class="tutorial_thumb"><img src="http://www.howtocloud.com/blog/wp-content/uploads/01_sign_up/16.png" alt="" /></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.howtocloud.com/blog/?feed=rss2&amp;p=1</wfw:commentRss>
		</item>
	</channel>
</rss>
