<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8659349147279420686</id><updated>2026-09-20T04:47:37.339-07:00</updated><category term="Amazon EC2"/><category term="Amazon AWS"/><category term="putty"/><category term="Amazon Access Key"/><category term="Apache"/><category term="PHP"/><category term="Tomcat"/><category term="mySQL"/><category term="Amazon Machine Image"/><category term="Amazon SES"/><category term="Cloud Computing"/><category term="Elastic IP"/><category term="FTP"/><category term="FileZilla"/><category term="JDK"/><category term="Java"/><category term="LAMP"/><category term="Launch Instance"/><category term="Memory"/><category term="Memory Swap"/><category term="New User"/><category term="PSFTP"/><category term="SMTP"/><category term="Virtualization"/><category term="Wordpress"/><category term="startup shutdown service."/><title type='text'>Programming Journey</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-2531772132242728461</id><published>2012-01-16T05:46:00.001-08:00</published><updated>2012-01-16T05:46:19.791-08:00</updated><title type='text'>Amazon announces free tier instance Windows AMI</title><content type='html'>Amazon announces today that &quot;AWS Free Usage Tier will now include Amazon EC2 instances running Microsoft Windows Server. Customers eligible for the AWS Free Usage tier can now use up to 750 hours per month of t1.micro instances running Microsoft Windows Server for free.&quot;</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/2531772132242728461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2012/01/amazon-announces-free-tier-instance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/2531772132242728461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/2531772132242728461'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2012/01/amazon-announces-free-tier-instance.html' title='Amazon announces free tier instance Windows AMI'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-1740818874470799999</id><published>2012-01-10T19:36:00.000-08:00</published><updated>2012-01-10T19:36:25.190-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Cloud Computing"/><category scheme="http://www.blogger.com/atom/ns#" term="Virtualization"/><title type='text'>Cloud Computing vs Virtualization</title><content type='html'>Cloud Computing and virtualization are often mentioned together and I have been asked what is the difference between the two recently. There are overlaps for sure. Cloud Computing delivers&lt;em&gt; computing&lt;/em&gt; as a pay-per-use service that is based on a pool of virtualized computing resources. Cloud Computing is more from an end user and business&amp;nbsp;perspective while virtualization is more from technology and hardware management perspective.&amp;nbsp; Virtualization a technology that is available in several forms to allow technical resources to be separated from the physical&amp;nbsp;servers they run on and treated as an abstraction layer. Virtualization is&amp;nbsp;a key part of cloud computing. Amazon AWS is an example of Cloud Computing service.</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/1740818874470799999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2012/01/cloud-computing-vs-virtualization.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/1740818874470799999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/1740818874470799999'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2012/01/cloud-computing-vs-virtualization.html' title='Cloud Computing vs Virtualization'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-8260479863928627494</id><published>2012-01-03T19:28:00.000-08:00</published><updated>2012-01-19T17:35:21.483-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><category scheme="http://www.blogger.com/atom/ns#" term="startup shutdown service."/><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat"/><title type='text'>Steps for creating automatic startup/shutdown scripts for Tomcat in Amazon EC2</title><content type='html'>After &lt;a href=&quot;http://lzw-programmingjourney.blogspot.com/2012/01/install-tomcat-to-amazon-ec2-instance.html&quot;&gt;Tomcat is installed&lt;/a&gt; in EC2, it&#39;s time to create a startup/shutdown service script. Below are steps:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;login to EC2 instance with putty&lt;/li&gt;
&lt;li&gt;sudo su&lt;/li&gt;
&lt;li&gt;cd /etc/init.d&lt;/li&gt;
&lt;li&gt;vim tomcat&lt;/li&gt;
&lt;li&gt;put following into the file &amp;nbsp;&lt;/li&gt;
#!/bin/bash&lt;br /&gt;
# chkconfig: 234 20 80&lt;br /&gt;
# description: Tomcat Server basic start/shutdown script&lt;br /&gt;
# processname: tomcat&lt;br /&gt;
JAVA_HOME=/usr/java/jdk1.6.0_24 &lt;br /&gt;export JAVA_HOME &lt;br /&gt;TOMCAT_HOME=/usr/share/apache-tomcat-7.0.23/bin &lt;br /&gt;START_TOMCAT=/usr/share/apache-tomcat-7.0.23/bin/startup.sh &lt;br /&gt;STOP_TOMCAT=/usr/share/apache-tomcat-7.0.23/bin/shutdown.sh &lt;br /&gt;start() { echo -n &quot;Starting tomcat: &quot; &lt;br /&gt;cd $TOMCAT_HOME &lt;br /&gt;${START_TOMCAT} &lt;br /&gt;echo &quot;done.&quot; } &lt;br /&gt;stop() { echo -n &quot;Shutting down tomcat: &quot; &lt;br /&gt;cd $TOMCAT_HOME &lt;br /&gt;${STOP_TOMCAT} echo &quot;done.&quot; } &lt;br /&gt;case &quot;$1&quot; in &lt;br /&gt;start) &lt;br /&gt;start &lt;br /&gt;;; &lt;br /&gt;stop) &lt;br /&gt;stop &lt;br /&gt;;; &lt;br /&gt;restart) &lt;br /&gt;stop &lt;br /&gt;sleep 10 &lt;br /&gt;start &lt;br /&gt;;; &lt;br /&gt;*) &lt;br /&gt;echo &quot;Usage: $0 {start|stop|restart}&quot; &lt;br /&gt;esac &lt;br /&gt;exit 0
&lt;li&gt;Change permissions. &amp;nbsp;chmod 755 tomcat&lt;/li&gt;
&lt;li&gt;Add script to system services. chkconfig --add tomcat&lt;/li&gt;
&lt;li&gt;Test it out. service tomcat start, service tomcat stop.&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/8260479863928627494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2012/01/steps-for-creating-automatic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/8260479863928627494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/8260479863928627494'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2012/01/steps-for-creating-automatic.html' title='Steps for creating automatic startup/shutdown scripts for Tomcat in Amazon EC2'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-623002206430482272</id><published>2012-01-02T19:29:00.000-08:00</published><updated>2012-01-02T19:29:06.405-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="Memory"/><category scheme="http://www.blogger.com/atom/ns#" term="Memory Swap"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><title type='text'>Create Swap Space in Amazon EC2 instance</title><content type='html'>Just found out my Amazon EC2 micro instance does not have any swap space. The&amp;nbsp;memory comes with the micro instance is enough for a regular PHP app, but not enough for any J2EE application.&amp;nbsp;It&#39;s time to&amp;nbsp;add a file system swap. Below are steps for creating a swapfile:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;login as ec2-user with putty.&lt;/li&gt;
&lt;li&gt;sudo su&lt;/li&gt;
&lt;li&gt;dd if=/dev/zero of=/swapfile bs=1024 count=1048576&lt;/li&gt;
&lt;li&gt;/sbin/mkswap /swapfile&lt;/li&gt;
&lt;li&gt;/sbin/swapon /swapfile&lt;/li&gt;
&lt;li&gt;/sbin/swapon -s&lt;br /&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/623002206430482272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2012/01/create-swap-space-in-amazon-ec2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/623002206430482272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/623002206430482272'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2012/01/create-swap-space-in-amazon-ec2.html' title='Create Swap Space in Amazon EC2 instance'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-2465951337782159756</id><published>2012-01-01T08:07:00.000-08:00</published><updated>2012-01-03T19:31:16.789-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="JDK"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat"/><title type='text'>Install Tomcat to Amazon EC2 instance</title><content type='html'>To install Tomcat, first we need to install a JDK. Steps to install JDK.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Login to AWS EC2 instance with putty.&lt;/li&gt;
&lt;li&gt;sudo su&lt;/li&gt;
&lt;li&gt;Create a directory for Java installation. cd /usr/share, mkdir java, cd java.&lt;/li&gt;
&lt;li&gt;Download a JDK from Oracle.&amp;nbsp; wget &lt;a href=&quot;http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jdk-7u2-linux-i586.tar.gz&quot;&gt;http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jdk-7u2-linux-i586.tar.gz&lt;/a&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Install it. tar -xzf jdk-7u2-linux-i586.tar.gz&lt;/li&gt;
&lt;li&gt;Test it. /usr/share/java/ jdk1.7.0_02/bin/java -version. &lt;/li&gt;
&lt;/ol&gt;
Install Tomcat.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Download Tomcat to /usr/share directory. wget &lt;a href=&quot;http://www.trieuvan.com/apache/tomcat/tomcat-7/v7.0.23/bin/apache-tomcat-7.0.23.tar.gz&quot;&gt;http://www.trieuvan.com/apache/tomcat/tomcat-7/v7.0.23/bin/apache-tomcat-7.0.23.tar.gz&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Install Tomcat. tar -xzf apache-tomcat-7.0.23.tar.gz&lt;/li&gt;
&lt;li&gt;set JAVA_HOME $env in catalina.sh. cd /usr/share/apache-tomcat-7.0.23/bin, &lt;br /&gt;vi catalina.sh and add following line after the first line. JAVA_HOME=/usr/share/java-1.7.0/jdk1.7.0_02&lt;/li&gt;
&lt;li&gt;Start it. ./start.sh. Check log and fix errors if any. &lt;/li&gt;
&lt;/ol&gt;
Next I will talk about &lt;a href=&quot;http://lzw-programmingjourney.blogspot.com/2012/01/steps-for-creating-automatic.html&quot;&gt;creating a startup/shutdown script&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/2465951337782159756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2012/01/install-tomcat-to-amazon-ec2-instance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/2465951337782159756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/2465951337782159756'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2012/01/install-tomcat-to-amazon-ec2-instance.html' title='Install Tomcat to Amazon EC2 instance'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-8770237252872872193</id><published>2011-12-29T20:56:00.000-08:00</published><updated>2011-12-29T21:16:31.410-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="Apache"/><category scheme="http://www.blogger.com/atom/ns#" term="mySQL"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><category scheme="http://www.blogger.com/atom/ns#" term="Wordpress"/><title type='text'>Install Wordpress over Amazon EC2 instance</title><content type='html'>&amp;nbsp;LAMP stack&amp;nbsp;has been&amp;nbsp;installed on my Amazon free EC2 instance, now it&#39;s time to get something up and running on it so that I test what an Amazon free micro EC2 instance is capable of.&amp;nbsp;I started with a bare bone CentOS instance with and use it as my sandbox for experiencing things. Wordpress would be a good candidate to try. Below are steps I used to install Wordpress 3.3 to my EC2 instance.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;login into AWS Management Console and launch the instance (if it&#39;s not running).&lt;/li&gt;
&lt;li&gt;Connect to the instance with putty. &lt;ul&gt;
&lt;li&gt;sudo su&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Start Apache and MySQL. &lt;ul&gt;
&lt;li&gt;service httpd start&lt;/li&gt;
&lt;li&gt;service mysqld start&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;login into mysql and create a database for Wordpress &lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;mysql&amp;gt; CREATE DATABASE &lt;em&gt;wpdb&lt;/em&gt;;&lt;br /&gt;mysql&amp;gt; GRANT ALL PRIVILEGES ON &lt;em&gt;wpdb&lt;/em&gt;.* TO &lt;em&gt;wpuser@localhost&lt;/em&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; IDENTIFIED BY &quot;&lt;em&gt;wpuser-password&lt;/em&gt;&quot;;&lt;br /&gt;mysql&amp;gt; FLUSH PRIVILEGES;&lt;br /&gt;mysql&amp;gt; exit&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Download Wordpress and unpack it. &lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;cd /var/www/html&lt;br /&gt;wget http://wordpress.org/latest.zip&lt;br /&gt;unzip latest.zip&lt;br /&gt;rm -rf latest.zip&lt;br /&gt;cp wp-config-sample.php wp-config.php&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Change the ownership of all Wordpress file to Apache - chown -R apache:apache wordpress&lt;/li&gt;
&lt;li&gt;Open a browser and type in the Wordpress URL. Following the on screen instruction and Wordpress is up and running in no time.&lt;/li&gt;
&lt;/ol&gt;
Of course there is an even quicker way to get Wordpress. There are a number of community AMIs that come with Wordpress pre-loaded and you only need to change wp-config.php to get it up and running.</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/8770237252872872193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/install-wordpress-over-amazon-ec2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/8770237252872872193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/8770237252872872193'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/install-wordpress-over-amazon-ec2.html' title='Install Wordpress over Amazon EC2 instance'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-1888215258295994427</id><published>2011-12-28T18:20:00.001-08:00</published><updated>2012-01-13T07:39:49.975-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="FileZilla"/><category scheme="http://www.blogger.com/atom/ns#" term="FTP"/><category scheme="http://www.blogger.com/atom/ns#" term="PSFTP"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><title type='text'>Set up an FTP server on Amazon AWS EC2</title><content type='html'>You really don&#39;t need to set up an&amp;nbsp;FTP server if you simply want to tranfer files between your EC2 instance and your local machine. You can use PSFTP (coming with putty package) with a saved&lt;a href=&quot;http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-4.html&quot;&gt; putty session&lt;/a&gt; for your EC2 conection. Open a command window, type in psftp your_saved_putty_session_name. Type ec2-user&amp;nbsp;for &amp;nbsp;login as and you are connected.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjqSCuYfOQQ_A3f4CZyt8rrY3YKSHJS46VfKdEQaaYWx9YLzGKCy966tRlRVNlR3Stky4jYgnpVDpb_gMHElHa0VltU1aviaHRwJ-NcPSS0OKW6F-8J-uvnIeVhx_91xH4xPe6zJDWrQQ/s1600/psftp.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; rea=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjqSCuYfOQQ_A3f4CZyt8rrY3YKSHJS46VfKdEQaaYWx9YLzGKCy966tRlRVNlR3Stky4jYgnpVDpb_gMHElHa0VltU1aviaHRwJ-NcPSS0OKW6F-8J-uvnIeVhx_91xH4xPe6zJDWrQQ/s1600/psftp.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
If you don&#39;t like commandline tool, you can use Filezilla instead. Download and install Filezilla client.&amp;nbsp; Lauch Filezilla. Click Edit -&amp;gt; Settings and select SFTP under Connction. Click Add Keyfile to add the private key file you use for putty connection. Click OK.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx90ZZA014yrR9KipSyGOSQ-1e5yV_FlxmkWn61WvPjX0LQ2UpVKKMBYJ8OHnBok5-L5IQXvSgZyhbStbhTcA1lauS1osC50HAHarijL9fVjTxvsIl-fEj1wZDQQIc9y85EGpPSZbdSvY/s1600/psftp.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;259&quot; rea=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx90ZZA014yrR9KipSyGOSQ-1e5yV_FlxmkWn61WvPjX0LQ2UpVKKMBYJ8OHnBok5-L5IQXvSgZyhbStbhTcA1lauS1osC50HAHarijL9fVjTxvsIl-fEj1wZDQQIc9y85EGpPSZbdSvY/s400/psftp.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Click File -&amp;gt; Site Manager, Click New Site, enter your AWS EC2&#39;s public DNS or IP in Host field. Choose SFTP, enter ec2-user in User field and click Connect.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcaSXRfKi4UlGyYQqvI4YRaYBLkTPKYu5Sb9b_f6MhzTAVTHKRanx46Zs_x8pbb7WIXwXlMh17KPnDVbPA87abefhnsTLzp-CS7ch9aOiHetkzIFrEwos2ttLr-FVBUaHv_YwaluV9NqI/s1600/psftp.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;337&quot; rea=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcaSXRfKi4UlGyYQqvI4YRaYBLkTPKYu5Sb9b_f6MhzTAVTHKRanx46Zs_x8pbb7WIXwXlMh17KPnDVbPA87abefhnsTLzp-CS7ch9aOiHetkzIFrEwos2ttLr-FVBUaHv_YwaluV9NqI/s400/psftp.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Now you are connected to your EC2 instance with FileZilla.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEgTbr97aCR8clSTmu604aXuRXUVP8yYypZtnsp2wWy8BVI3cxgvJTCh1UzBT54bCGAaNSKxn94sTC98FGhPO4k6d5axtu-EK3P0LZn-aSClKY5IM7hYPbS476dduZdzXFSWLnH8ijzg/s1600/psftp.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; rea=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmEgTbr97aCR8clSTmu604aXuRXUVP8yYypZtnsp2wWy8BVI3cxgvJTCh1UzBT54bCGAaNSKxn94sTC98FGhPO4k6d5axtu-EK3P0LZn-aSClKY5IM7hYPbS476dduZdzXFSWLnH8ijzg/s400/psftp.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
If you still want to set up&amp;nbsp;an FTP server on your AWS EC2. Below are steps to install VSFTP.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;login to&amp;nbsp; your AWS management console. &lt;ul&gt;
&lt;li&gt;Go to EC2 and click the Security Groups link.&lt;/li&gt;
&lt;li&gt;Then choose the default group and switch to the inbound tab (at the bottom of the page)&lt;/li&gt;
&lt;li&gt;Add the port ranges as above (20-21 and 40000-41000) and apply the rule changes&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;connect to your instance with putty. &lt;/li&gt;
&lt;li&gt;login as ec2-user&lt;/li&gt;
&lt;li&gt;sudo su&lt;/li&gt;
&lt;li&gt;yum vsftpd&lt;/li&gt;
&lt;li&gt;change the conf file. vim &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&lt;/span&gt;etc&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&lt;/span&gt;vsftpd&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&lt;/span&gt;vsftpd.conf. Add &lt;div class=&quot;code&quot;&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: #007800;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;write_enable&lt;/span&gt;&lt;/span&gt;=YES &lt;/span&gt;&lt;div class=&quot;code&quot;&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: #007800;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;pasv_max_port&lt;/span&gt;&lt;/span&gt;=4&lt;span style=&quot;color: black;&quot;&gt;1000&lt;/span&gt;
&lt;span style=&quot;color: #007800;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;pasv_min_port&lt;/span&gt;&lt;/span&gt;=4&lt;span style=&quot;color: black;&quot;&gt;0000&lt;/span&gt;
&lt;span style=&quot;color: #007800;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;port_enable&lt;/span&gt;&lt;/span&gt;=YES
&lt;span style=&quot;color: #007800;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;pasv_enable&lt;/span&gt;&lt;/span&gt;=YES&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;code&quot;&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;div class=&quot;code&quot;&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;Add an FTP user (&lt;a href=&quot;http://lzw-programmingjourney.blogspot.com/2011/12/add-new-user-to-amazon-ec2-instance.html&quot;&gt;see instruction here&lt;/a&gt;)&lt;/pre&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;code&quot;&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;div class=&quot;code&quot;&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;Start the FTP server. service vsftpd start&lt;/pre&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/1888215258295994427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/set-up-ftp-server-on-amazon-aws-ec2.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/1888215258295994427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/1888215258295994427'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/set-up-ftp-server-on-amazon-aws-ec2.html' title='Set up an FTP server on Amazon AWS EC2'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjqSCuYfOQQ_A3f4CZyt8rrY3YKSHJS46VfKdEQaaYWx9YLzGKCy966tRlRVNlR3Stky4jYgnpVDpb_gMHElHa0VltU1aviaHRwJ-NcPSS0OKW6F-8J-uvnIeVhx_91xH4xPe6zJDWrQQ/s72-c/psftp.png" height="72" width="72"/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-2485597376797527837</id><published>2011-12-26T15:19:00.000-08:00</published><updated>2011-12-28T08:23:02.935-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="Elastic IP"/><title type='text'>Amazon Elastic Compute Cloud (EC2) : Elastic IP</title><content type='html'>Every time an Amazon EC2 instance is restarted, its public DNS name changes. If you want to use Amazon AWS to host your website, you need a way to map your domain name to an EC2 instance. That&#39;s when Amazon&#39;s Elastic IP Address comes to play. Elastic IP Address&amp;nbsp;is similar to static IP address, with one key difference. A user can map an Elastic IP Address to any EC2 instance&amp;nbsp;in the AWS console without having to wait for DNS to propagate the new binding.&amp;nbsp; An Elastic IP Address belongs to the account instance of an EC2 instance. To obtain an&amp;nbsp; Elastic IP Address, log into AWS management Console,&amp;nbsp; Click the EC2 tab, then click Elastic IPs&amp;nbsp;link on the left panel.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAFa7ttjOAxwloqby6WW90dL_oFRER0mb0hKYEu75wdShLvWgsSokbYZcnftMA30vd6sXBWjzWJDrF_tUl2rfkedKj_15wv2_gS1zFQDgYGKvuSiY0BJ6lqk0b_r1azax4SSdjEaQL-hM/s1600/eip.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; rea=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAFa7ttjOAxwloqby6WW90dL_oFRER0mb0hKYEu75wdShLvWgsSokbYZcnftMA30vd6sXBWjzWJDrF_tUl2rfkedKj_15wv2_gS1zFQDgYGKvuSiY0BJ6lqk0b_r1azax4SSdjEaQL-hM/s1600/eip.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Click Yes, Allocate to get a new Elastic IP.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsZei7wHlfIaR3KJMp5dJcYjXWj8VH_pMVVs5881HzZkRsgjsqh21kxGmY_cxeLcc8cc2sIDz6TDyssElOZ2-CsFedvdrFpA5icjrgsjVn3yEzjQ1BectOWS-9dPTVHO6Nfy_SwPr5GFI/s1600/eip2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;280&quot; rea=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsZei7wHlfIaR3KJMp5dJcYjXWj8VH_pMVVs5881HzZkRsgjsqh21kxGmY_cxeLcc8cc2sIDz6TDyssElOZ2-CsFedvdrFpA5icjrgsjVn3yEzjQ1BectOWS-9dPTVHO6Nfy_SwPr5GFI/s640/eip2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Click the Associate Address to map the Elastic IP to an instance.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqQF9sInNOgdyqrHL4S_TZmzCHU0bb_ZOACIH1FMv6YwIzCDtQRgoPFe2hOMUEQzl2TtaCBFNdy2G_gqoipiuU93ZxtYYW3oCMc90qGqsJjqhZHaJl0eAJfvMa2wEAApkS4XD2XAGXJrY/s1600/eip2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;140&quot; rea=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqQF9sInNOgdyqrHL4S_TZmzCHU0bb_ZOACIH1FMv6YwIzCDtQRgoPFe2hOMUEQzl2TtaCBFNdy2G_gqoipiuU93ZxtYYW3oCMc90qGqsJjqhZHaJl0eAJfvMa2wEAApkS4XD2XAGXJrY/s320/eip2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Pick up an instance from the dropdown box and click Yes, Associate button. Now your EC2 instance is associated with an Elastic IP.&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/2485597376797527837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2.html#comment-form' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/2485597376797527837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/2485597376797527837'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2.html' title='Amazon Elastic Compute Cloud (EC2) : Elastic IP'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAFa7ttjOAxwloqby6WW90dL_oFRER0mb0hKYEu75wdShLvWgsSokbYZcnftMA30vd6sXBWjzWJDrF_tUl2rfkedKj_15wv2_gS1zFQDgYGKvuSiY0BJ6lqk0b_r1azax4SSdjEaQL-hM/s72-c/eip.png" height="72" width="72"/><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-1728337601378136874</id><published>2011-12-15T19:49:00.000-08:00</published><updated>2011-12-15T19:50:32.346-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon Access Key"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="New User"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><title type='text'>Add a new user to Amazon EC2 instance</title><content type='html'>After connecting to your Amazon EC2 instance, you can add a new user with sudo privilege with following steps:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Open a putty session, log in with the default user, ec2-user&lt;/li&gt;
&lt;li&gt;sudo su&lt;/li&gt;
&lt;li&gt;useradd new_user_name&lt;/li&gt;
&lt;li&gt;passwd new_user_name, give a password for the new user&lt;/li&gt;
&lt;li&gt;vim /etc/sudoers, insert line &quot;new_user_name ALL = NOPASSWD: ALL&quot; at the end of the file&lt;/li&gt;
&lt;li&gt;cd /home/new_user_name &lt;/li&gt;
&lt;li&gt;mkdir .ssh&lt;/li&gt;
&lt;li&gt;cp&amp;nbsp;../ec2-user/.ssh/authorized_keys .ssh/authorized_keys&lt;/li&gt;
&lt;li&gt;chown -R new_user_name:new_user_name .ssh&lt;/li&gt;
&lt;li&gt;chmod 700 .ssh&lt;/li&gt;
&lt;li&gt;chmod 600 .ssh/*&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
Open another putty session and log in with the same private key you use for ec2-user.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/1728337601378136874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/add-new-user-to-amazon-ec2-instance.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/1728337601378136874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/1728337601378136874'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/add-new-user-to-amazon-ec2-instance.html' title='Add a new user to Amazon EC2 instance'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-2666817968836577916</id><published>2011-12-14T09:21:00.001-08:00</published><updated>2011-12-14T09:21:16.176-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon SES"/><category scheme="http://www.blogger.com/atom/ns#" term="SMTP"/><title type='text'>Amazon announces SMTP Support</title><content type='html'>Amazon announced that they have added an SMTP interface to its Simple Email Service. According to the announcement, &quot;It is now much easier to configure your programs and applications to send email via Amazon SES. Using your existing systems and SMTP, you don’t have to write a single line of code to send your email. Get started with SMTP today by going to the AWS Management&quot;. It&#39;s a long waited feature. Can&#39;t wait to give it a try.</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/2666817968836577916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-announces-smtp-support.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/2666817968836577916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/2666817968836577916'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-announces-smtp-support.html' title='Amazon announces SMTP Support'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-2387087851161452943</id><published>2011-12-13T20:11:00.000-08:00</published><updated>2011-12-13T20:12:29.737-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="Apache"/><category scheme="http://www.blogger.com/atom/ns#" term="LAMP"/><category scheme="http://www.blogger.com/atom/ns#" term="mySQL"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><title type='text'>Amazon EC2:  Install LAMP stack to it</title><content type='html'>I have talked about creating an Amazon EC2 account, defining access credentials, launching an instance and connecting to it with putty. Now what? The most logical step next is to load some software to it and start experimenting with it. A very practical way is to configure it as a standalone LAMP stack.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Connecting to you instance with putty. Run command &lt;em&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo su&lt;/span&gt;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: black;&quot;&gt;Install Apache with command: &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;em&gt;yum install httpd&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/em&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;340&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQvQi8Rc-tZ64rthY33dIVBCYeGrGEgiKQginhIGg_HI6tZChe2MErazibYIGeXErJDhKGWJx_pRkKmsrn2cZauJFjChLENHLSvyGS4k2a_OUuFZReHThpvnEnLplh_tNpx4qr3zIwqxk/s640/apache.png&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
﻿Install mySQL server with command: &lt;em&gt;&lt;span style=&quot;color: blue;&quot;&gt;yum install mysql-server mysql &lt;/span&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH9Ld8JGBF-rI6iwTCJfhi9CXgqPpVpK63S_1v3CF8-i2TfYYgttUx3iTPtQjy3m-cY6zRvPBVqCMQGTN-LG8yx91FPch6KIvSJu0h49bdYqB2kYoRnydDJkv1NHqvYZ_-E7PMHK65NyU/s1600/mysql.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;402&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH9Ld8JGBF-rI6iwTCJfhi9CXgqPpVpK63S_1v3CF8-i2TfYYgttUx3iTPtQjy3m-cY6zRvPBVqCMQGTN-LG8yx91FPch6KIvSJu0h49bdYqB2kYoRnydDJkv1NHqvYZ_-E7PMHK65NyU/s640/mysql.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
Install PHP with command: &lt;em&gt;&lt;span style=&quot;color: blue;&quot;&gt;﻿yum install php php-mysql&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAY0K-F-NkqsyrHNqbzmnWmwhdQeQVlS172_4aTMSqIP8hfz6KWE5Yuo3zujc0DiYN5hH8XpAuQrm3ATAmUAHoqUnV_DvRruQ33VG4N35qMGdx4ODy8E2Nz0U9s1b4bNktJ2lTnmsHUUQ/s1600/php.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;402&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAY0K-F-NkqsyrHNqbzmnWmwhdQeQVlS172_4aTMSqIP8hfz6KWE5Yuo3zujc0DiYN5hH8XpAuQrm3ATAmUAHoqUnV_DvRruQ33VG4N35qMGdx4ODy8E2Nz0U9s1b4bNktJ2lTnmsHUUQ/s640/php.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
Install other optional php packages if you want.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
Start Apache server with command: service httpd start.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
To test your Apache and PHP install, go to /var/www/html/ directory and create a file index.php with one line of code:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
&lt;em&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;?php phpinfo(); ?&amp;gt;&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
In your favorate browser, enter your instance&#39;s public&amp;nbsp;DNS name, something like ec2-##-##-##-###.compute-#.amazonaws.com. &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/2387087851161452943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-ec2-install-lamp-stack-to-it.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/2387087851161452943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/2387087851161452943'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-ec2-install-lamp-stack-to-it.html' title='Amazon EC2:  Install LAMP stack to it'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQvQi8Rc-tZ64rthY33dIVBCYeGrGEgiKQginhIGg_HI6tZChe2MErazibYIGeXErJDhKGWJx_pRkKmsrn2cZauJFjChLENHLSvyGS4k2a_OUuFZReHThpvnEnLplh_tNpx4qr3zIwqxk/s72-c/apache.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-346567196387129221</id><published>2011-12-12T20:21:00.000-08:00</published><updated>2011-12-12T20:46:36.718-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><title type='text'>Amazon Elastic Compute Cloud (EC2) : Part 4: Connect to an Instance&#xa;with Putty</title><content type='html'>In &lt;a href=&quot;http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-3.html&quot; target=&quot;_blank&quot;&gt;Part 3&lt;/a&gt; I talked about launching an instance. I will discuss how to connect to an Amazon EC2 instance with Putty via SSH&amp;nbsp; step by step.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;First import the private key and save it as putty format.&lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Open PUTTYGEN.EXE&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;ul&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh64kF4-62BDExxGMjfAJVlGwkdQkrbGZ4BC9paK8GWOJyx1FSx_BSKs8khHAkhPZM7wTN0suh7ywJ9_HxlagDGgYCEFi30RDUK3behMwszJ1KQsJqi_hO6rY-REzKR0aYfq0vUSoOzo9U/s1600/putty-gen.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;386&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh64kF4-62BDExxGMjfAJVlGwkdQkrbGZ4BC9paK8GWOJyx1FSx_BSKs8khHAkhPZM7wTN0suh7ywJ9_HxlagDGgYCEFi30RDUK3behMwszJ1KQsJqi_hO6rY-REzKR0aYfq0vUSoOzo9U/s400/putty-gen.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Click the Load button, select the private key of the key pair you created before and click Open.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;ul&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguEeYZlj6loF2b_J2DH025Bx1y2thsYy-UQeLEJhaLcNHGXxTkDH4x62QC0Sefh78xntLvKPB7cwbnbzDVq2M8I6kc2iYHTXi-30J3bvgQp7_5g1wvTfnzikJ8-myHQWplXVoBrsuv7Kw/s1600/putty-gen2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;271&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguEeYZlj6loF2b_J2DH025Bx1y2thsYy-UQeLEJhaLcNHGXxTkDH4x62QC0Sefh78xntLvKPB7cwbnbzDVq2M8I6kc2iYHTXi-30J3bvgQp7_5g1wvTfnzikJ8-myHQWplXVoBrsuv7Kw/s400/putty-gen2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;li&gt;You will get the Key import successful message.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO-o9ZbrXXdJY1mJpMicbKhPExUGZPYunmDTCsBeKetYRnFosZN-KVTFuQIUihJDMsBDHJMzO8sBelLxZUEDW7ZmLodFOVOOqubUBNx6SwOWDo2-hcalPk-vXqGyVOSIFSXoBDGvm_WkY/s1600/putty-gen4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO-o9ZbrXXdJY1mJpMicbKhPExUGZPYunmDTCsBeKetYRnFosZN-KVTFuQIUihJDMsBDHJMzO8sBelLxZUEDW7ZmLodFOVOOqubUBNx6SwOWDo2-hcalPk-vXqGyVOSIFSXoBDGvm_WkY/s400/putty-gen4.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Click OK, then click Save&amp;nbsp;private Key.&lt;/li&gt;&lt;/ul&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMMd9ken8KWzdDeM6uiv2AE_4c8FIjZWCaJIm2pfVhckytWFKRCo7T8H5G4H87QgNXb8Xo7A4AIDQAdStfCBg5F_6HjheKXPxKeHtxrw-xchAeYGa7pMkX0hstPAWtEO6UWIsxiD11K_U/s1600/putty-gen3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;386&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMMd9ken8KWzdDeM6uiv2AE_4c8FIjZWCaJIm2pfVhckytWFKRCo7T8H5G4H87QgNXb8Xo7A4AIDQAdStfCBg5F_6HjheKXPxKeHtxrw-xchAeYGa7pMkX0hstPAWtEO6UWIsxiD11K_U/s400/putty-gen3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;You will get a warning message&amp;nbsp;about saving the key without a passphrase, click Yes.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj7FKgx-qNSUsMui8jEpUtUrmh96XDNp2xJOANb1Trf_dVE0Ebu2ARXt8y7jbuNyZrC0R9muRzdIC9ZaPd5UtVif9rYDidkh-9VK9obepP1ieo92T9eikBAz_60DMCI_f0p1Jz5qSuW7I/s1600/putty-gen5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj7FKgx-qNSUsMui8jEpUtUrmh96XDNp2xJOANb1Trf_dVE0Ebu2ARXt8y7jbuNyZrC0R9muRzdIC9ZaPd5UtVif9rYDidkh-9VK9obepP1ieo92T9eikBAz_60DMCI_f0p1Jz5qSuW7I/s400/putty-gen5.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&amp;nbsp;&lt;strong&gt;Next launch Putty to open an SSH session.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Configure Putty to use the PPK file&amp;nbsp;you just saved. Click&amp;nbsp;connection, SSH, and select &lt;b&gt;Auth&lt;/b&gt;. Click the &lt;b&gt;browse button&lt;/b&gt; next to the Private Key File&amp;nbsp;for authentication field, and select the .PPK file you just created with Puttygen.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDSfKcfMz6l78T2863awE6ylfZhMUPvhyphenhyphenlByBRFG94PkKUxYVuwGO5nAtqBDsGHXcEWfaE07_eJIPVU36tyEUYuKS2BUkxT6gTw1tQ5OGyoXD24U5QK494wRRKxi-SrJNGcxVkA8swqSk/s1600/putty.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;383&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDSfKcfMz6l78T2863awE6ylfZhMUPvhyphenhyphenlByBRFG94PkKUxYVuwGO5nAtqBDsGHXcEWfaE07_eJIPVU36tyEUYuKS2BUkxT6gTw1tQ5OGyoXD24U5QK494wRRKxi-SrJNGcxVkA8swqSk/s400/putty.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;Copy your EC2&amp;nbsp;instance Public DSN to your putty session and click open. Log in with user name ec2-user.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDJn_vz16EQJ1gpgQEx8qIEWETCS01XxjtFIgoARlvH-ibQiF6KRmWmgHt8edsP4X3wuoM8kf70i04bsqPi7ygqnoqYpLZyKtk8-FdR4LupwlhiowllK2ekFY4W5_iSXCfuqmjGpGoHqA/s1600/putty2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;383&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDJn_vz16EQJ1gpgQEx8qIEWETCS01XxjtFIgoARlvH-ibQiF6KRmWmgHt8edsP4X3wuoM8kf70i04bsqPi7ygqnoqYpLZyKtk8-FdR4LupwlhiowllK2ekFY4W5_iSXCfuqmjGpGoHqA/s400/putty2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/346567196387129221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-4.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/346567196387129221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/346567196387129221'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-4.html' title='Amazon Elastic Compute Cloud (EC2) : Part 4: Connect to an Instance&#xa;with Putty'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh64kF4-62BDExxGMjfAJVlGwkdQkrbGZ4BC9paK8GWOJyx1FSx_BSKs8khHAkhPZM7wTN0suh7ywJ9_HxlagDGgYCEFi30RDUK3behMwszJ1KQsJqi_hO6rY-REzKR0aYfq0vUSoOzo9U/s72-c/putty-gen.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-9011367655532288626</id><published>2011-12-11T17:35:00.001-08:00</published><updated>2012-01-13T07:42:36.483-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon Access Key"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon Machine Image"/><category scheme="http://www.blogger.com/atom/ns#" term="Launch Instance"/><title type='text'>Amazon Elastic Compute Cloud (EC2) : Part 3: Launch An Instance</title><content type='html'>In &lt;a href=&quot;http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-1.html&quot; target=&quot;_blank&quot;&gt;Part 1&lt;/a&gt; and &lt;a href=&quot;http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-2.html&quot; target=&quot;_blank&quot;&gt;Part 2&lt;/a&gt;, I talked about creating an Amazon AWS account and setting up access credentials. In this part, I will talk about launching an instance. &lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;&lt;a class=&quot;signIn&quot; href=&quot;https://console.aws.amazon.com/s3/home&quot;&gt;Sign in to the AWS Management Console&lt;/a&gt;, then click the EC2 tab. You should see a screen like the screenshot blow.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuqbEB2ZpVisrcuKEfaBLgySDXLml6Vnldlbo7eT91w6g4EnITZ-52SYmA1eUy9h_OyFxhtxKvqkhMAksZeHOI1qsvRXAay92ijjlAkgpVDBSXU7856euGdCg9lT9ReSwK0Rx95YmLkF4/s1600/aws-mgnt-console.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;196&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuqbEB2ZpVisrcuKEfaBLgySDXLml6Vnldlbo7eT91w6g4EnITZ-52SYmA1eUy9h_OyFxhtxKvqkhMAksZeHOI1qsvRXAay92ijjlAkgpVDBSXU7856euGdCg9lT9ReSwK0Rx95YmLkF4/s400/aws-mgnt-console.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;If you don&#39;t have any key pairs, you can click the Key Pair link under My Resources section to create a key pair.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7TSAE03w-icKKR-UNlTRkvmAwjx384Ir8RT-KuwjncS_D_s9XO3AlbyJfYjzn5DQkr_tGmG4HOZFqG1UweGL1A_0wiw9_T2Ee3bULNNJTfnVND7TI2MbLw1XmhuIS573MDmKpEFF7Qvo/s1600/key-pair.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;132&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7TSAE03w-icKKR-UNlTRkvmAwjx384Ir8RT-KuwjncS_D_s9XO3AlbyJfYjzn5DQkr_tGmG4HOZFqG1UweGL1A_0wiw9_T2Ee3bULNNJTfnVND7TI2MbLw1XmhuIS573MDmKpEFF7Qvo/s640/key-pair.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Click the Create Key Pair tab.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUo10k8rtP31GDpuR8jDTLUrnP0sxW1q-SFy7WSiid3gPbbwBY1shcfzskmtIQI1A84N39v3qiNd6DYPRNekaspVMtWi5AuJBNsBxxF_zDf8VYXpLkLWx28kUPpfeQjoR76jBQN3iByxk/s1600/key.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;174&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUo10k8rtP31GDpuR8jDTLUrnP0sxW1q-SFy7WSiid3gPbbwBY1shcfzskmtIQI1A84N39v3qiNd6DYPRNekaspVMtWi5AuJBNsBxxF_zDf8VYXpLkLWx28kUPpfeQjoR76jBQN3iByxk/s320/key.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Enter a Key Pair Name and click Create. Save the generated&amp;nbsp;private key to your computer. After a key pair is created, go back to the EC2 Console Dashboard. Click the Launch Instance Button to start an EC2 instance.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg65s96UCQVPrldl7kTz7QEtULx5J-VXrKgb1hwUA6r8NQDe0QWjP3njbeS3VwpavFHCNj3IZgogosgX1WwnGPi1RVdHBD-58qbzPGP4yAtRP4mNOmh4u781dtKElIN9HCwviM_Vw0LFTE/s1600/luanch1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;258&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg65s96UCQVPrldl7kTz7QEtULx5J-VXrKgb1hwUA6r8NQDe0QWjP3njbeS3VwpavFHCNj3IZgogosgX1WwnGPi1RVdHBD-58qbzPGP4yAtRP4mNOmh4u781dtKElIN9HCwviM_Vw0LFTE/s400/luanch1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;From the Request Instances Wizard, you can choose an Amazon Machine Image that meets your needs.&amp;nbsp; I&#39;ll choose the first one, Basic 32-bit Amazon Linux AMI 2011.09.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjij2XOU2O7kZYlnR5B2h_FS0-CjlroRN8K0oeyK0vAkm08B37wveHbZquKgMXPfX5Sx_ddIuhbMzoD4h5rQDG2ds_6Qtr0hXoDHHDyvBCX8gWszVDzH8V46evmT5Y6zyInY31CJezSjLI/s1600/luanch2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;436&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjij2XOU2O7kZYlnR5B2h_FS0-CjlroRN8K0oeyK0vAkm08B37wveHbZquKgMXPfX5Sx_ddIuhbMzoD4h5rQDG2ds_6Qtr0hXoDHHDyvBCX8gWszVDzH8V46evmT5Y6zyInY31CJezSjLI/s640/luanch2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Choose an&amp;nbsp;Instance Type (I choose Micro here), and click Continue. In next screen, use all default values and click Continue.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh9NJyfUMqAAqIpvCPZDMwacUrY3bamO0Eq1_JHz4vAKlI9j9Lj-b9cxUQZ3L8iO87ymLE6I84DTckaOt06tlgW7XTfpCF9YaP1d9OH_ZbmTMJUb4TXfqFnov0VfPUZO1abH_NHvzuv34/s1600/luanch3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;271&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh9NJyfUMqAAqIpvCPZDMwacUrY3bamO0Eq1_JHz4vAKlI9j9Lj-b9cxUQZ3L8iO87ymLE6I84DTckaOt06tlgW7XTfpCF9YaP1d9OH_ZbmTMJUb4TXfqFnov0VfPUZO1abH_NHvzuv34/s400/luanch3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Add tags to your instance and click Continue. I use Name for the Key and my_demo for the Value.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinHXFUQTHrQIlOfkYec9k1zJWo1tABLdoEXKWEDl-lLV-pmPn8Mi_rEDSs_UC_0q4KS3kmQm-6xNASQcycgTh72IwZEYRPpknKuTXJ0NB3YovxZvh5En8sWAYeKK5t42UgeAHvwYpwlYo/s1600/luanch4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;273&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinHXFUQTHrQIlOfkYec9k1zJWo1tABLdoEXKWEDl-lLV-pmPn8Mi_rEDSs_UC_0q4KS3kmQm-6xNASQcycgTh72IwZEYRPpknKuTXJ0NB3YovxZvh5En8sWAYeKK5t42UgeAHvwYpwlYo/s400/luanch4.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;Pick up an existing&amp;nbsp;Key Pair or create a new one for connecting to your instance if it launches.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh26CVkxx-NIDFYVI8zfF1jgnl-e1BfXzZPNRuLJUVpfs501a7XtarV4L2PGFRGwZfAC-4S-G8tzZpMoxJejsdNcTsAPCWzOBWKchSCucQ7BjlF6H743bCtGJmoniH5AQv6fwZDgI-v9H0/s1600/luanch5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;272&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh26CVkxx-NIDFYVI8zfF1jgnl-e1BfXzZPNRuLJUVpfs501a7XtarV4L2PGFRGwZfAC-4S-G8tzZpMoxJejsdNcTsAPCWzOBWKchSCucQ7BjlF6H743bCtGJmoniH5AQv6fwZDgI-v9H0/s400/luanch5.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
Configure Firewall: You can use an existing security group or create an new one. I&#39;m going to create a group here. Click &lt;input name=&quot;accordion-radio&quot; type=&quot;radio&quot; value=&quot;create-a-new-security-group&quot; /&gt;Create a new Security Group radio button, enter a name. Pick up a rule from Create a new rule dropdown box and click Add Rule button. You can define as many rules as you want. &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiemOsvD7jrqGScZ8FPCbfH7QyahN-bEGgHOQoZTNKP5IYvdz2ifSqw5JCStljlwORjwjB-lKcBZDg_Ll9fx5iRnoEiF8AZgJhLbOaEy0SWibyuz6e5unh1BNNFZKg7bSguXuSZwBpPfQU/s1600/luanch6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;272&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiemOsvD7jrqGScZ8FPCbfH7QyahN-bEGgHOQoZTNKP5IYvdz2ifSqw5JCStljlwORjwjB-lKcBZDg_Ll9fx5iRnoEiF8AZgJhLbOaEy0SWibyuz6e5unh1BNNFZKg7bSguXuSZwBpPfQU/s400/luanch6.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
Final Review. Everything looks good. Click Launch.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzijWDNZnfQUMLRWV48r6h0p2CTBQkfNS4ib4YzUQjWZ3rZPM5x6KnVNrKl5MqT3s74b1peU4yi0HIPubJa4ozwxTfZ1D7w7-d_TJtApF-77rj2SCePY8-dOKvkFZ46kdTPnTtTilrsGk/s1600/luanch7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;271&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzijWDNZnfQUMLRWV48r6h0p2CTBQkfNS4ib4YzUQjWZ3rZPM5x6KnVNrKl5MqT3s74b1peU4yi0HIPubJa4ozwxTfZ1D7w7-d_TJtApF-77rj2SCePY8-dOKvkFZ46kdTPnTtTilrsGk/s400/luanch7.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
Congratulations, Your first Amazon EC2 instance is up and running! &amp;nbsp;I will talk about connecting to Amazon EC2 instance in&lt;a href=&quot;http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-4.html&quot;&gt; part 4&lt;/a&gt;.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/9011367655532288626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/9011367655532288626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/9011367655532288626'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-3.html' title='Amazon Elastic Compute Cloud (EC2) : Part 3: Launch An Instance'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuqbEB2ZpVisrcuKEfaBLgySDXLml6Vnldlbo7eT91w6g4EnITZ-52SYmA1eUy9h_OyFxhtxKvqkhMAksZeHOI1qsvRXAay92ijjlAkgpVDBSXU7856euGdCg9lT9ReSwK0Rx95YmLkF4/s72-c/aws-mgnt-console.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-346578150411701984</id><published>2011-12-08T20:22:00.001-08:00</published><updated>2011-12-11T19:42:13.665-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon Access Key"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><title type='text'>Amazon Elastic Compute Cloud (EC2) : Part 2: Create Access Credentials</title><content type='html'>You have created an Amazon AWS account (&lt;a href=&quot;http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-1.html&quot;&gt;See part 1 for account creation instruction&lt;/a&gt;), now let&#39;s create access credentials.&lt;br /&gt;
Log into your &lt;a href=&quot;https://aws-portal.amazon.com/gp/aws/manageYourAccount&quot; target=&quot;_blank&quot;&gt;Amazon AWS account&lt;/a&gt;, click the Security Credentials On the left Panel.&amp;nbsp;Amazon automatically creates one access key for you when you sign up for an account.&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv8Ku_yXOgTjNQoCsU5g-IAIZqEKElq8MKSEKUFJcRfxrQyP6laLGj_KJkNIpmgbpQVxfohvwPvIvb2C5ksvlXafcqFtQMFK5cNJbE5hLpKOfNxS9ZRuQAmGvbqVgi3CehOYOHmO0mXgY/s1600/access-key.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;305&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv8Ku_yXOgTjNQoCsU5g-IAIZqEKElq8MKSEKUFJcRfxrQyP6laLGj_KJkNIpmgbpQVxfohvwPvIvb2C5ksvlXafcqFtQMFK5cNJbE5hLpKOfNxS9ZRuQAmGvbqVgi3CehOYOHmO0mXgY/s640/access-key.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Access Keys screenshot&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Let&#39;s create X.509 certificates. Go to the X.509 certificates tab and click the link – ‘Create a new certificate’. A private key and an X.509 certificate will be generated for you. Remember to download at least your private key before you close the page. You can rename the file name of download keys to something easy to remember.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEillNMg_vB3FTdltZZjmdYSfNVG5a8K4q6IdXC3ZgW0Rqejkb8FvVDwZ4Ixmbv64Q82Oy8QWkdzLvykMR7K3Fe3kM_lVX9IcYSirGVF0snWVoNgsUZkM5N5kbRvRFXE6hYyNPETyiz4-Mk/s1600/x509-keys.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEillNMg_vB3FTdltZZjmdYSfNVG5a8K4q6IdXC3ZgW0Rqejkb8FvVDwZ4Ixmbv64Q82Oy8QWkdzLvykMR7K3Fe3kM_lVX9IcYSirGVF0snWVoNgsUZkM5N5kbRvRFXE6hYyNPETyiz4-Mk/s320/x509-keys.png&quot; width=&quot;280&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Now you have created the X.509 certificates. The final piece you need is Amazon EC2 Key Pairs﻿ for launching an Amazon EC2 instance. Click the Key Pairs tab, then the Create a New Key Pair&amp;nbsp;link. Save the private key(rename it if you want). Also download the public key.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQzrIuTUEwvNdA7-U3mOiDvfvW9rahq32tW7Nm3JFOBwSd44cyZqTXMLW7CeSYFZmMnnMEw1SXo1g41EeoDNddgBhV5Sw6PTKNh61GEUHQ8ptlfTg_Tj30m4iogGuRK74LlTWxrj19_9Y/s1600/key-pairs.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;265&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQzrIuTUEwvNdA7-U3mOiDvfvW9rahq32tW7Nm3JFOBwSd44cyZqTXMLW7CeSYFZmMnnMEw1SXo1g41EeoDNddgBhV5Sw6PTKNh61GEUHQ8ptlfTg_Tj30m4iogGuRK74LlTWxrj19_9Y/s640/key-pairs.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Let review what you have so far:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
AWS account ID&lt;/div&gt;
&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;li&gt;Access key ID&lt;/li&gt;
&lt;br /&gt;
&lt;li&gt;Secret Access KEY&lt;/li&gt;
&lt;li&gt;X.509 certificate file (.pem file)&lt;/li&gt;
&lt;li&gt;X.509 private key file (.pem file you saved to your computer)&lt;/li&gt;
&lt;li&gt;CloudFront public key file (.pem file)&lt;/li&gt;
&lt;li&gt;CloudFront private key file (.pem file)&lt;/li&gt;
&lt;/ul&gt;
Congratulations, you have completed the setup of your Amazon AWS! In &lt;a href=&quot;http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-3.html&quot; target=&quot;_blank&quot;&gt;Part 3&lt;/a&gt; I will talk about how to launch an instance and access it from your computer.</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/346578150411701984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-2.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/346578150411701984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/346578150411701984'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-2.html' title='Amazon Elastic Compute Cloud (EC2) : Part 2: Create Access Credentials'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv8Ku_yXOgTjNQoCsU5g-IAIZqEKElq8MKSEKUFJcRfxrQyP6laLGj_KJkNIpmgbpQVxfohvwPvIvb2C5ksvlXafcqFtQMFK5cNJbE5hLpKOfNxS9ZRuQAmGvbqVgi3CehOYOHmO0mXgY/s72-c/access-key.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8659349147279420686.post-162680353179953351</id><published>2011-12-08T19:05:00.001-08:00</published><updated>2011-12-10T06:54:32.366-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><title type='text'>Amazon Elastic Compute Cloud (EC2) : Part 1: Sign Up</title><content type='html'>Amazon EC2 is&amp;nbsp; is a web service offered by Amazon that provides resizable compute capacity in Amazon&#39;s Elastic Compute Cloud.&amp;nbsp;The newly introduced &lt;a href=&quot;http://aws.amazon.com/free/&quot; target=&quot;_blank&quot;&gt;AWS Free Usage Tier&lt;/a&gt; provides a very nice playground for developers like me to get their hand on Amazon EC2 for a test drive.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Create an account. You can sign in with your existing Amazon account or create a new one. You need to provide payment/credit card information during registration. They will use the phone number you provided to verify your identity. After you click the Call Me Know button, it will display a pin number on the screen. An automated&amp;nbsp;system will dial your number and ask you to enter the pin number through your phone.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0x0uah-4iXbrGePLGldQnVhUi73JzIYN3ZTUMnpQVLLbwuk-HAYDsU1B7f3ZaU2KMPsm-rKVsuZYDSFcoJLmG9B99_Ucx8xYiNmWt3ONzdqh4d0rkG0P1mg7Ja5iFozg9QAQJ1jNB1dE/s1600/id-verify.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; mda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0x0uah-4iXbrGePLGldQnVhUi73JzIYN3ZTUMnpQVLLbwuk-HAYDsU1B7f3ZaU2KMPsm-rKVsuZYDSFcoJLmG9B99_Ucx8xYiNmWt3ONzdqh4d0rkG0P1mg7Ja5iFozg9QAQJ1jNB1dE/s400/id-verify.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
After your account is created and activated, you need to log into your account to obtain your Access Identifiers to make valid web service requests. There are three types of security credentials associated with your Amazon AWS account.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;arrow_bullets&quot; style=&quot;margin-top: 5px;&quot;&gt;
&lt;ol&gt;
&lt;li&gt;&lt;b&gt;Access Credentials:&lt;/b&gt; Your Access Keys, X.509 Certificates, and Key Pairs. Use access keys to make secure REST or Query protocol requests to any AWS service API. Use X.509 certificates to make secure SOAP protocol requests to AWS service APIs. There are two types of key pairs currently used with specific AWS services — one for Amazon CloudFront and another for Amazon EC2. Use Amazon CloudFront key pairs when creating signed URLs that serve Amazon CloudFront private content. Use Amazon EC2 key pairs to launch and then securely access your Amazon EC2 instances.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Sign-In Credentials:&lt;/b&gt; Your E-mail Address, Password, and AWS Multi-Factor Authentication Device. To sign in to secure pages on the AWS web site, the AWS Management Console, the AWS Discussion Forums, and the AWS Premium Support site, you need to provide your Amazon e-mail address and password. &lt;/li&gt;
&lt;li&gt;&lt;b&gt;Account Identifiers:&lt;/b&gt; Your AWS Account ID and Canonical User ID&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
I will talk about &lt;a href=&quot;http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-2.html&quot; target=&quot;_blank&quot;&gt;creating Access Credentials in Part 2&lt;/a&gt;.&lt;br /&gt;
&lt;div align=&quot;left&quot; class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
﻿&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lzw-programmingjourney.blogspot.com/feeds/162680353179953351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-1.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/162680353179953351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8659349147279420686/posts/default/162680353179953351'/><link rel='alternate' type='text/html' href='http://lzw-programmingjourney.blogspot.com/2011/12/amazon-elastic-compute-cloud-ec2-part-1.html' title='Amazon Elastic Compute Cloud (EC2) : Part 1: Sign Up'/><author><name>lzw</name><uri>http://www.blogger.com/profile/11810307708687662615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0x0uah-4iXbrGePLGldQnVhUi73JzIYN3ZTUMnpQVLLbwuk-HAYDsU1B7f3ZaU2KMPsm-rKVsuZYDSFcoJLmG9B99_Ucx8xYiNmWt3ONzdqh4d0rkG0P1mg7Ja5iFozg9QAQJ1jNB1dE/s72-c/id-verify.png" height="72" width="72"/><thr:total>7</thr:total></entry></feed>