
<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>PHP, Web and IT stuff &#187; Amazon EC2</title>
	<atom:link href="http://www.webdigi.co.uk/blog/tag/amazon-ec2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdigi.co.uk/blog</link>
	<description>Little words of wisdom</description>
	<lastBuildDate>Sat, 04 Sep 2010 22:35:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Get your own cloud server running in 15 minutes</title>
		<link>http://www.webdigi.co.uk/blog/2009/get_your_own_cloud_server_running_in_15_minutes/</link>
		<comments>http://www.webdigi.co.uk/blog/2009/get_your_own_cloud_server_running_in_15_minutes/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 08:17:57 +0000</pubDate>
		<dc:creator>iphp</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[AWS Management Console]]></category>
		<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://www.webdigi.co.uk/blog/?p=486</guid>
		<description><![CDATA[This article uses Amazon EC2 and does not require any additional software installed on your machine to get your own cloud instance running other than your browser. To further configure your instance once it is running you will need Putty or an RDP client depending on your server instance.
Amazon EC2 (Elastic Compute Cloud) is a [...]]]></description>
			<content:encoded><![CDATA[<p>This article uses Amazon EC2 and does not require any additional software installed on your machine to get your own cloud instance running other than your <strong>browser</strong>. To further configure your instance once it is running you will need Putty or an RDP client depending on your server instance.</p>
<p>Amazon EC2 (Elastic Compute Cloud) is a service by Amazon which lets anyone create, launch, and terminate server instances as needed, paying by the hour for active servers, hence the term &#8220;elastic&#8221;. The service starts as low as 0.11$ per hour. For this article an instance of LAMP server and a Windows Server 2003 was launched and cost about $<strong>0.25. </strong>This is very cheap for your on-demand server needs.</p>
<p><strong>Steps to Launch your server instance</strong></p>
<p>1) Signup for <a href="http://aws.amazon.com/ec2/">Amazon EC2 here</a> (If you already have an amazon account you can save 2 minutes!)<br />
2) Login to the <a href="https://console.aws.amazon.com/ec2/home#c=EC2&amp;s=Home">EC2 management console<br />
</a></p>
<div id="attachment_487" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webdigi.co.uk/blog/wp-content/uploads/2009/06/management-console.png"><img class="size-medium wp-image-487  " title="ec2_management-console" src="http://www.webdigi.co.uk/blog/wp-content/uploads/2009/06/management-console-300x157.png" alt="AWS Management Console" width="300" height="157" /></a><p class="wp-caption-text">AWS Management Console (Click to enlarge)</p></div>
<p>3) On the management console, Click on <strong>Launch Instances</strong><br />
4) <strong>Select an AMI</strong> (Amazon Machine Image). You will get a huge list ranging from windows servers to LAMP servers, Ruby on Rails server, Ubuntu, Debian, Open Solaris etc. If you also look at the community supplied options you will have nearly 3000 AMIs.</p>
<div id="attachment_490" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webdigi.co.uk/blog/wp-content/uploads/2009/06/ami-list.png"><img class="size-medium wp-image-490" title="List of Amazon Machine Images" src="http://www.webdigi.co.uk/blog/wp-content/uploads/2009/06/ami-list-300x180.png" alt="List of Amazon Machine Images" width="300" height="180" /></a><p class="wp-caption-text">List of Amazon Machine Images</p></div>
<p>5) <strong>Create a key pair</strong> by following on screen instructions. This is to help you to login to your AMI once it is ready.<br />
7) Configure <strong>firewall settings</strong> and limit access to the server (SSH, MySQL, Web, etc).</p>
<div id="attachment_492" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webdigi.co.uk/blog/wp-content/uploads/2009/06/configure-firewall.png"><img class="size-medium wp-image-492" title="configure-firewall" src="http://www.webdigi.co.uk/blog/wp-content/uploads/2009/06/configure-firewall-300x179.png" alt="Authorise connection method" width="300" height="179" /></a><p class="wp-caption-text">Authorise connection method</p></div>
<p>8 ) You will now arrive at the<strong> final step</strong> of your wizard. Enter number of instances. Select an instance type Small, High CPU, etc. You will also have to select the key pair that was generated for you at Step 5. Click Launch once set.</p>
<div id="attachment_493" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webdigi.co.uk/blog/wp-content/uploads/2009/06/launch-instance.png"><img class="size-medium wp-image-493" title="launch-instance" src="http://www.webdigi.co.uk/blog/wp-content/uploads/2009/06/launch-instance-300x169.png" alt="Set Number of Instances" width="300" height="169" /></a><p class="wp-caption-text">Set Number of Instances</p></div>
<p>9) <strong>Voila!</strong> your instance will be available in just a few minutes. Now you can pat yourselves on the back for all the hard work!</p>
<p>It is amazing how quickly you can get an instance running. Once your server is up and running how do you connect to this instance? Well, it is pretty simple if you are using windows you get to use RDP (Terminal Services). For non-windows instances you will have to use SSH to connect to the server.</p>
<p><strong>Advanced configuration of your Windows instance using RDP (optional)</strong><strong></strong></p>
<p>It is easy to connect to a windows amazon instance via RDP compared to SSH connection to a linux server. To retrieve the RDP password, you will have to right click your instance and retrieve connection information using the key pair you have been given.</p>
<div id="attachment_496" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webdigi.co.uk/blog/wp-content/uploads/2009/06/rdp-connection.png"><img class="size-medium wp-image-496" title="rdp-connection" src="http://www.webdigi.co.uk/blog/wp-content/uploads/2009/06/rdp-connection-300x170.png" alt="Connecting via RDP " width="300" height="170" /></a><p class="wp-caption-text">Connecting via RDP </p></div>
<p>You will have to connect using Administrator as your username. You will find all other info you need on the management console.</p>
<p><strong>Advanced configuration of your Linux instance using SSH (optional)</strong></p>
<p>You will need putty to connect to your linux server via SSH on a windows machine. If you are on a linux machine you will be able to use the ssh command as shown on the management console. With putty you will also need an additional tool to create a PPK file from the PEM file that you are given from the management console. To do this you will have to download an additional tool called PuttyGen.exe. You have to load the PPK file under the SSH Auth section of the putty client.</p>
<div id="attachment_495" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webdigi.co.uk/blog/wp-content/uploads/2009/06/ssh-connect.png"><img class="size-medium wp-image-495" title="Using SSH to connect" src="http://www.webdigi.co.uk/blog/wp-content/uploads/2009/06/ssh-connect-300x244.png" alt="SSH Connection to your instance" width="300" height="244" /></a><p class="wp-caption-text">SSH Connection to your instance</p></div>
<p>Once your instance is up and running you will be able to connect to the webserver, connect to the MySQL server, if it is enabled with the AMI. The last two sections are to help you further configure your instance further. There are so many AMIs available with a lot of features already built in. Technically you will have your services running after the first set of steps which can be complete in 15 minutes!</p>
<p>If you do not want to configure a server yourself take a look at the Windows Azure, Force.com or the Google App Engine which runs Java, Python and <a href="http://www.webdigi.co.uk/blog/2009/run-php-on-the-google-app-engine/">PHP using Quercus</a> for free (certain usage limits apply).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdigi.co.uk/blog/2009/get_your_own_cloud_server_running_in_15_minutes/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
