<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://kb.owrench.com/index.php?action=history&amp;feed=atom&amp;title=Amazon_server_steps</id>
	<title>Amazon server steps - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://kb.owrench.com/index.php?action=history&amp;feed=atom&amp;title=Amazon_server_steps"/>
	<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Amazon_server_steps&amp;action=history"/>
	<updated>2026-05-04T04:23:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://kb.owrench.com/index.php?title=Amazon_server_steps&amp;diff=93&amp;oldid=prev</id>
		<title>imported&gt;Kishor at 04:36, 22 June 2017</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Amazon_server_steps&amp;diff=93&amp;oldid=prev"/>
		<updated>2017-06-22T04:36:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;We have many amazon ec2 instances hosting various applications either in production or development stage. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;This doc describes the purchase, creation and initial setup of such an instance. &amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
NOTE: This doc doesn't contain internal setup of the server such as LAMP installation or application configurations. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Go to hostdime cPanel for origamitachnologies.com and create a new mail id. (to be used for creating amazon account) &amp;lt;br&amp;gt;&lt;br /&gt;
2. Login to the webmail (roundcube) of this mail id and add a filter to forward all incoming mails to hosting@origamitechnologies.com&amp;lt;br&amp;gt;(So that we don't miss any updates from amazon regarding our new server) &amp;lt;br&amp;gt;&lt;br /&gt;
3. Go to http://aws.amazon.com/ &amp;lt;br&amp;gt;&lt;br /&gt;
4. Register as a new user by following the onscreen setup wizard. &amp;lt;br&amp;gt;&lt;br /&gt;
5. We need to add a credit card during this setup, then only you can start using amazon services. &amp;lt;br&amp;gt;&lt;br /&gt;
6. Obtain the card details from Mr Anoop Francis and finish the registration.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Now we need to proceed to using amazon to create an ec2 instance.&amp;lt;/b&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Creating Ec2 instance and launching it :-&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
1. To configure an Ec2 instance go to ec2 dashboard and click on launch instance  &lt;br /&gt;
&lt;br /&gt;
2. Here you will see two radio  buttons named classic wizard(selected default) and Quick launch wizard.&lt;br /&gt;
&lt;br /&gt;
3. We need to create a customized instance as per our need so we will use classic wizard  .&lt;br /&gt;
&lt;br /&gt;
4. Next  you need to click on continue button which opens up “Request Instance Wizard” window.&lt;br /&gt;
&lt;br /&gt;
5. Select the appropriate combination of  OS/Applications and click select , you will get an option to chose the instance type(small/medium etc) and geographical region(Us/asia/europe)  where you would like your instance to run ..&lt;br /&gt;
&lt;br /&gt;
6. Here you will see two radio  buttons named classic wizard(selected default) and Quick launch wizard.&lt;br /&gt;
&lt;br /&gt;
We need to create a customized instance as per our need so we will use classic wizard  .&lt;br /&gt;
&lt;br /&gt;
7. Next  you need to click on continue button which opens up “Request Instance Wizard” window.&lt;br /&gt;
&lt;br /&gt;
8. Select the appropriate combination of  OS/Applications and click select , you will get an option to chose the instance type(small/medium etc) and geographical region(Us/asia/europe)  where you would like your instance to run ..&lt;br /&gt;
&lt;br /&gt;
You can leave it as it is and click on continue button  this will ask you to provide a tag as a combination of Key/value pair that will help you manage your Ec2 instances like search , organize etc.&lt;br /&gt;
&lt;br /&gt;
9. Provide a key and value as you wish and click continue button.&lt;br /&gt;
&lt;br /&gt;
10. Click continue button that will opens up public/private key pair generation window.&lt;br /&gt;
&lt;br /&gt;
11. It will ask you to enter name of your key pair file and click on click on “Create and download key pair&amp;quot; button .&lt;br /&gt;
&lt;br /&gt;
12. Allow download and save of this key pair file , this is very important file that let you  securely connect to your Ec2 instance once your launch is completed.&lt;br /&gt;
&lt;br /&gt;
13. After you have done downloading and saving the file , click to continue button that will ask you to chose the security group under which you would like to run your instance .&lt;br /&gt;
&lt;br /&gt;
14. This is final step here you can review the settings and other things with which your instance is going to be launched  , to modify any settings you can click on back link at bottom left side and go back to previous steps .&lt;br /&gt;
&lt;br /&gt;
15. Finally click the launch button and you are done with your Ec2 instance !&lt;br /&gt;
&lt;br /&gt;
16. &amp;lt;b&amp;gt;To connect to server from terminal,&amp;lt;/b&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Go to the folder where the key file is stored and enter &amp;lt;br&amp;gt;&lt;br /&gt;
Eg: ssh -i &amp;quot;filename.pem&amp;quot; ec2-user@ec2-52-xx-xx-xx.us-west-2.compute.amazonaws.com &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;i&amp;gt;where filename.pem is the key file, ec2-user is the user and the rest is the hostname of the server(can be obtained from the ec2 section inside the corresponding aws account).&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Add an elastic IP for the instance before configuring the application in the server, so that the IP will not change when the server is rebooted&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    To associate an Elastic IP address with an instance using the console&lt;br /&gt;
&lt;br /&gt;
    Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.&lt;br /&gt;
&lt;br /&gt;
    In the navigation pane, choose Elastic IPs.&lt;br /&gt;
&lt;br /&gt;
    Select an Elastic IP address and choose Actions, Associate address.&lt;br /&gt;
&lt;br /&gt;
    Select the instance from Instance and then choose Associate.&lt;br /&gt;
    &lt;br /&gt;
    (ref: https://www.youtube.com/watch?v=A3F2vIQYlu8)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt; More details: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/get-set-up-for-amazon-ec2.html#create-a-key-pair &amp;lt;/b&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:it-support]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Kishor</name></author>
		
	</entry>
</feed>