<?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>ByloBlog</title>
	<atom:link href="http://bylo.de/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://bylo.de/blog</link>
	<description>Another Tech Blog</description>
	<lastBuildDate>Tue, 15 Mar 2011 03:30:36 +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>Own a piece of the Cloud, set up a free server using Amazon AWS</title>
		<link>http://bylo.de/blog/2010/10/31/set-up-a-free-server-on-amazon-aws/</link>
		<comments>http://bylo.de/blog/2010/10/31/set-up-a-free-server-on-amazon-aws/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 07:53:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[s3]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://byloblog.wordpress.com/?p=18</guid>
		<description><![CDATA[Since Monday 1st November 2010, Amazon Web Services offer free hosting in their cloud. You can start using a scaled down, fully working and configurable server at Amazon Web Services free of charge. If you are new to AWS and &#8230; <a href="http://bylo.de/blog/2010/10/31/set-up-a-free-server-on-amazon-aws/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since Monday 1st November 2010, Amazon Web Services offer free hosting in their cloud. You can start using a scaled down, fully working and configurable server at <a href="http://bylo.de/blog/2010/10/30/amazon-aws-free/">Amazon Web Services free of charge</a>.</p>
<p>If you are new to AWS and just want to try it out quickly, this article describes, step by step how to get a <strong>free</strong> Linux server (or AWS instance) running and available on the web in not more than 30-40 mins.  You will not need Linux skills to set up the server but you will need Linux skills to access and administer the server!</p>
<h3>How to get a Linux server (AWS Instance) up and running, step by step</h3>
<ol>
<li>First create a <a href="https://aws-portal.amazon.com/gp/aws/developer/registration/index.html">free AWS account</a>.  You will need a valid credit card and a telephone number.  You will receive an automated verification call during which you need to speak or type a short verification number.  As of writing there is no charge for creating the account.  Note that you can always <a href="http://aws.amazon.com/contact-us/">cancel your account</a> should you be unsatisfied.</li>
<li>Using your login and password you just created, log into the <a href="https://console.aws.amazon.com/ec2/home">AWS EC2 Console</a></li>
<li>Make sure the &#8220;Amazon EC2&#8243; tab is selected and the page is loaded to see the &#8220;EC2 Dashboard&#8221;.</li>
<li>Ensure you select the physical location you want your server to run in by selecting the Region at the top of the Navigation window on the left.  This selection should stay as you want it the next time you log in, <strong>but it&#8217;s a good idea to check it</strong>.</li>
<li>Note that on the right under &#8220;My Resources&#8221; the number of running instances is zero.   This is because you have not launched any servers yet.</li>
<li>In the Navigation pane, click on AMIs (Amazon Machine Images).  This is where we need to select the type of Linux OS we want to run.  For the purpose of this article, we will pick Ubuntu 10.04 LTS in the following steps.</li>
<li>In the input box to the right of &#8220;All Platforms&#8221;, enter &#8220;Ubuntu-lucid-10.04-i386-server&#8221; and then select &#8220;All images&#8221; in the combo-box to the left.  The list of available Ubuntu images should be displayed.  Note that you will see a different list of images depending on your selection for &#8220;Region&#8221;.  I chose the image with the ID <em>ami-00067852</em> from the region <em>Asia Pacific</em> (you can also <a href="http://aws.amazon.com/amis/Linux">browse the images</a>).</li>
<li>Right-click the image and select &#8220;Launch instance&#8221; in the context menu that pops up.  The &#8220;Request Instance&#8221; wizard will pop up.
<ol>
<li>Ensure the number of instances is set to 1.  <span style="text-decoration: underline;">Do not launch more than one at this stage</span> (unless you don&#8217;t mind the danger of running your servers for longer than your allowed quota of hours or unless you want to use load balancing).</li>
<li>Availability Zone can be left as it is (unless you know exactly in which data center you want to launch your instance).</li>
<li><span style="text-decoration: underline;">Make sure that Instance Type is changed from &#8220;small&#8221; to &#8220;micro&#8221; (t1.mico)!!</span> This is very important, otherwise charges will apply.  Click on the Continue button.</li>
<li>Under Advanced Instance Options <span style="text-decoration: underline;">ensure &#8220;Enable CloudWatch&#8221; is disabled</span>, otherwise charges (as of writing) will apply!  The rest of the options can stay as they are; &#8220;Use Default&#8221; for Kernel ID and RAM Disk ID.  Click on the Continue button.</li>
<li>Next, tags can be set.  We don&#8217;t need any tags so click on the Continue button (tags are used to more easily identify Instances).</li>
<li>Next we come to &#8220;Create Key Pair&#8221;.  You will need to do this to enable access to your running instance via ssh.   Select &#8220;Create a new Key Pair&#8221; and enter a name for it, e.g. &#8220;my-key-pair&#8221;, click on &#8220;Create &amp; Download your Key Pair&#8221; and save the &#8220;my-key-pair.pem&#8221; file following the instructions given.</li>
<li>On the next screen choose the default Security Group (SG).  Security Groups are your &#8220;simple to use firewall protection&#8221; for running instance.  The default SG allows ssh and HTTP traffic into your running instance from anywhere on the Internet.  Since these are sensible defaults, we will use them as is.  Click on the Continue button.</li>
<li>Check and review the launch information and make any changes as needed.  Click on the Launch button.</li>
<li>The next page shows &#8220;Your Instances are now launching&#8221; which can take a few seconds to about 30-40 seconds depending on the OS and the type of instance.  Click on the &#8220;View your instances on the Instances page&#8221; link.  Under &#8220;My Instances&#8221; wait for the status of the instance you just launched to change to &#8220;running&#8221;.</li>
</ol>
</li>
<li>Your Instance (of Ubuntu Linux 10.04) is now running and reachable online.  To check this, click on the Instance and locate the &#8220;Public DNS&#8221; line in the information pane at the bottom of the page.</li>
<li>Run ping, to check your instance is online, e.g.:<br />
ping ec2-&lt;YOUR-IP-ADDRESS&gt;.ap-southeast-1.compute.amazonaws.com</li>
<li>As a word of warning, DO NOT leave your Instance running when is it not needed, otherwise you can run up a large bill, <strong>unless of course you are running just one free micro Linux server</strong>.</li>
<li>To stop your instance, right-click on your instance and select &#8220;Stop&#8221;.  You will be able to start it again at a later time when you need it.  Note that a stopped instance will still incur charges for its storage, but this is much less than compared to running the Instance.  To remove an Instance entirely, select &#8220;Terminate&#8221;.  If you terminate an instance, its storage is also removed so you wont be paying for any of it any more, but you wont be able to re-start it again either.</li>
</ol>
<h3>How to access your running instance.</h3>
<ol>
<li>Make sure your instance is running by checking it&#8217;s status on the Instances page.  If it is not running, right-click your instance and select &#8220;start&#8221;.</li>
<li>Right-click on your running instance and select &#8220;Connect&#8221;.  You should see a pop-up window with instructions on how to connect using ssh.  At the bottom of the window you will see the actual ssh command you can use.  Notice the command uses the .pem file we created and downloaded earlier.  This file is needed to successfully authenticate to your server.  On your Linux PC, make sure your .pem file is unreadable to others by using the chmod command shown in the pop-up window.</li>
<li>Cut and paste the ssh command into an open terminal window on your Linux PC, <strong>replace &#8220;root&#8221; with Ubuntu&#8217;s default user called &#8220;ubuntu&#8221;</strong> and execute it.</li>
<li>Example: ssh -i my-key-pair.pem ubuntu@ec2-&lt;IP ADDRESS&gt;.ap-southeast-1.compute.amazonaws.com<br />
You should see &#8220;Are you sure you want to continue connecting (yes/no)?&#8221;, answer yes and hit Enter.  You should now see the Linux command prompt, e.g.  ubuntu@ip-&lt;IP-ADDRESS&gt;:~$</li>
<li>You should now be logged onto your server instance.  You can do all  the  normal things with it, just like any other Linux server.</li>
<li>To disconnect from the server, enter &#8220;exit&#8221; and hit enter.</li>
</ol>
<p>Troubleshooting:</p>
<ol>
<li>If you see something like &#8220;WARNING: UNPROTECTED PRIVATE KEY FILE!&#8221; make sure you run &#8220;chmod 400 my-key-pair.prm&#8221; to ensure nobody but you can read the file.  Run the ssh command again.</li>
<li>If you see something like &#8220;Please login as the ubuntu user rather than root user.&#8221; you should not log in directly as root on Ubuntu systems.  Replace &#8220;root&#8221; with &#8220;ubuntu&#8221; in the above ssh command.</li>
<li>If you see something like &#8220;my-key-pair.pem not accessible: No such file or directory.&#8221;, the ssh command cannot find the .pem file.  You need to locate the .pem file you downloaded earlier and either move it over to the directory from which you are running ssh or change your ssh command to reference the .pem file.</li>
</ol>
<p>This blog is being served from my free EC2 instance.  Note that the default system volume size for an instance seams to be 15GB.  Since there are charges for anything above 10GB, I installed a server with a 10GB volume by following these <a href="http://ubuntu-smoser.blogspot.com/2010/11/using-ubunt-images-on-aws-free-tier.html" target="_blank">instructions</a>.  I then installed LAMP and WordPress onto this server.</p>
<p>If you have any comments please feel free to add them below.</p>
<p>- Stephen Bylo</p>
]]></content:encoded>
			<wfw:commentRss>http://bylo.de/blog/2010/10/31/set-up-a-free-server-on-amazon-aws/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Amazon AWS – Free Usage Tier!</title>
		<link>http://bylo.de/blog/2010/10/30/amazon-aws-free/</link>
		<comments>http://bylo.de/blog/2010/10/30/amazon-aws-free/#comments</comments>
		<pubDate>Sat, 30 Oct 2010 13:13:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[amazon aws free]]></category>
		<category><![CDATA[Amazon S3]]></category>

		<guid isPermaLink="false">http://byloblog.wordpress.com/?p=1</guid>
		<description><![CDATA[From 1st November 2010 Amazon Web Services (AWS) will allow new users who signed up as of 20 Oct 2010 free usage for one year from the date of signing up. If you are interested in trying out or learning &#8230; <a href="http://bylo.de/blog/2010/10/30/amazon-aws-free/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>From 1st November 2010 <a class="zem_slink" title="Amazon Web Services" rel="homepage" href="http://aws.amazon.com/">Amazon Web Services</a> (<a class="zem_slink" title="Amazon Web Services" rel="wikipedia" href="http://en.wikipedia.org/wiki/Amazon_Web_Services">AWS</a>) will allow <em>new users</em> who signed up as of 20 Oct 2010 <strong>free</strong> usage for one year from the date of signing up.</p>
<p>If you are interested in trying out or learning about Cloud Computing, Infrastructure as a Service (IaaS), testing your new web service or starting your service in production to see how it performs, go to Amazon Web Service and get your free account.  If you are planning on starting a new web site or service, try it out first free.  If your site is successful and demand picks up you can then scale up and start using AWS&#8217;s full service.   Test your software for scalability and <em>&#8220;elasticity</em>&#8221; using Amazon&#8217;s load balancing.   Some network traffic and disk usage is also free which should get you started.</p>
<p>What does &#8220;Free Usage Tier&#8221; mean exactly?</p>
<p>There are some restrictions of course.  You are allowed to use their smallest (<em>micro</em>) Linux servers only, but this should be enough to get you started.  On my server I have 595 MB of usable RAM.  One <em>micro</em> server can be running continuously &amp; free of charge for one month since this usage would fall just withing the allowed 750 hours per month.  You can run more than one server (i.e. with free load balancing) but you will be charged for one of them.  If you go over your quota of machine hours for the month you will need to start paying $0.02 per hour of machine running time (as of writing in the US <em>Region)</em>.</p>
<p>If you are new to Cloud Computing do not be afraid to get started.  After about 20 minutes only you can sign up and have your own server running whatever (open source) software you like, free of charge on the Internet.</p>
<p>For more information see <a href="http://aws.amazon.com/free/" target="_self">http://aws.amazon.com/free/</a> and read the rather short <a href="http://aws.amazon.com/free/terms/">terms</a> here.</p>
<p>See also my guide to <a href="http://bylo.de/blog/2010/10/31/set-up-a-free-server-on-amazon-aws/">setting up a server at AWS</a>.</p>
<p>- Stephen Bylo</p>
]]></content:encoded>
			<wfw:commentRss>http://bylo.de/blog/2010/10/30/amazon-aws-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

