<?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>x83.net &#187; aws</title>
	<atom:link href="http://www.x83.net/tag/aws/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x83.net</link>
	<description></description>
	<lastBuildDate>Sat, 24 Jul 2010 09:50:05 +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>Clone an EC2 instance</title>
		<link>http://www.x83.net/clone-an-ec2-instance/</link>
		<comments>http://www.x83.net/clone-an-ec2-instance/#comments</comments>
		<pubDate>Tue, 25 May 2010 18:04:18 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[clone]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[s3]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=426</guid>
		<description><![CDATA[These days Amazon sent me an email saying that the a instance that I&#8217;m using is on a server that is
failing. To clone I had to:
1. Install ec2-api-tools from http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip on the failing instance
2. Install Java from http://javadl.sun.com/webapps/download/AutoDL?BundleId=39484 (I&#8217;m using a small instance)
3. Set .bashrc as follows:
export EC2_HOME=~/ec2
export PATH=$PATH:$EC2_HOME/bin
export EC2_PRIVATE_KEY=$EC2_HOME/pk.pem
export EC2_CERT=$EC2_HOME/cert.pem
export JAVA_HOME=/usr

Run : 
source /root/.bashrc
4. [...]]]></description>
			<content:encoded><![CDATA[<p>These days Amazon sent me an email saying that the a instance that I&#8217;m using is on a server that is<br />
failing. To clone I had to:</p>
<p>1. Install ec2-api-tools from http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip on the failing instance<br />
2. Install Java from http://javadl.sun.com/webapps/download/AutoDL?BundleId=39484 (I&#8217;m using a small instance)<br />
3. Set .bashrc as follows:</p>
<blockquote><p>export EC2_HOME=~/ec2<br />
export PATH=$PATH:$EC2_HOME/bin<br />
export EC2_PRIVATE_KEY=$EC2_HOME/pk.pem<br />
export EC2_CERT=$EC2_HOME/cert.pem<br />
export JAVA_HOME=/usr
</p></blockquote>
<p>Run : </p>
<blockquote><p>source /root/.bashrc</p></blockquote>
<p>4. Create a directory for the bundled files (/mnt/myimage in my case)<br />
5. Bundle the actual instance using:</p>
<blockquote><p>ec2-bundle-vol &#8211;cert ec2/cert.pem &#8211;privatekey ec2/pk.pem -s 2048 -u Your_AWS_Account_ID -d /mnt/myimage/
</p></blockquote>
<p>-u : AWS Account ID is taken from AWS page Security Credentials, e.g: 1234-5678-9012-3456. Make sure to skip the &#8220;-&#8221; when using it.<br />
-s : size of the image<br />
-d : directory from step 4</p>
<p>6. Upload the files to a S3 account using:</p>
<blockquote><p>ec2-upload-bundle -a access_key -s secret_key -b bucket_name  &#8211;manifest /mnt/myimage/image.manifest.xml</p></blockquote>
<p>-a : access_key from Security Credentials page<br />
-s : secret_key from Security Credentials page<br />
-b : bucket name<br />
&#8211;manifest : name of the manifest file</p>
<p>7. Register the AMI by going to your AWS EC2 console->AMI->Images->Register new AMI and enter:<br />
bucket_name/image.manifest.xml<br />
8. Create a new EC2 instance by using the newly registered AMI</p>
<p>Note that you will need the [pk,cert].pem files too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/clone-an-ec2-instance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amazon AWS and RightScale howto</title>
		<link>http://www.x83.net/amazon-aws-and-rightscale-howto/</link>
		<comments>http://www.x83.net/amazon-aws-and-rightscale-howto/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 00:36:17 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[rightscale]]></category>
		<category><![CDATA[s3]]></category>
		<category><![CDATA[s3cmd]]></category>
		<category><![CDATA[s3sync]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=293</guid>
		<description><![CDATA[These days got my first project regarding AWS. I never used before tools like s3sync and s3cmd. Basically these tools allow you to execute commands on the AWS server or to sync with your aws account.
First issue I got was the fact that I didn`t had enviroment variables setup:
export AWS_ACCESS_KEY_ID=your_key_id
export AWS_SECRET_ACCESS_KEY=your_secret_key

Note : older versions of [...]]]></description>
			<content:encoded><![CDATA[<p>These days got my first project regarding AWS. I never used before tools like s3sync and s3cmd. Basically these tools allow you to execute commands on the AWS server or to sync with your aws account.<br />
First issue I got was the fact that I didn`t had enviroment variables setup:</p>
<blockquote><p>export AWS_ACCESS_KEY_ID=your_key_id<br />
export AWS_SECRET_ACCESS_KEY=your_secret_key
</p></blockquote>
<p>Note : older versions of s3sync had : AWS_ACCESS_KEY ..so dont forget to add : _ID</p>
<p>You can create a script like : </p>
<blockquote><p>
#!/bin/bash<br />
export AWS_ACCESS_KEY_ID=your_key_id<br />
export AWS_SECRET_ACCESS_KEY=your_secret_key</p>
<p>s3cmd listbuckets
</p></blockquote>
<p>This will show all buckets you have on your S3 account.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/amazon-aws-and-rightscale-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
