èSETTING UP A AWS FREE
CLOUDè
1.Go to the website à
http://aws.amazon.com/ec2/
2.Click on create a free account on the right side.
3.Enter your email address and all the details, then click
on “create account and continue”.
4.Then it will ask your credit card number and phone
verification (but it will not charge for a free account) .
5.After registering, go to the homepage and click on “EC2 virtual
web server”.
6.Now in the create instance , click on “Launch instance”.
7.Now you will see the screen showing the different OS
available for the virtual machine.
**Available OS**
Amazon linux AMI, Red hat interprise linux, Ubuntu server
12.04.3 LTS,Ubuntu 13.10, Microsoft windows server 2012.
8. Select you OS (32 or 64-bit) and after selecting it will show the details like memory
available, instance storage, ECU’s, vCPU’s,
Network performance, etc.
**For a ubuntu server (32-bit)**
available memoryà0.613 GB
ECU’sà2
vCPU’sà1
9.Now click on “Next: Configure instance details” .
10.For a free server select “no preferences” in subnet and
click on “Next: Add storage” and it will show 8 GB storage. Now click on “Next:
Tag instances.”
11.Enter a Key(name) and Value and click on “Next:Configure
security group”.
12.Here it will show protocol(SSH), type(TCP), port range
code(22) and source. Click on “Review and Launch” and after it click on
“Launch”.
13.Now it will ask you to create a key pair. Enter the key
pair and click on “Download” & then select “Launch instance”.
14. A file will be downloaded in your system, and the screen
will show your launch status.
15. Go to “how to connect to your linux instance”.
16.Now in your putty configuration go to sessionàType your host IP
addressà
Give it a nameà
Click on saveà
select your name and then click on load.
17.Now go to
Connectionsà
SSHà Authà Browseà and open the file that
had been downloaded to your system.
18.Now again go to sessionàsave
it àand then double click
on your host name.
19.You should have puTTygen installed in your system before
proceeding further.
20.After installing puTTygen in your system go to “Connect
using puTTy” in the amazon page.
21.Open “puTTy key generator” in your system and click on
Loadà
Now open the previously downloaded keyàIt
will show a success messageàNow
click on “Save private key” and save it with a name say ”Amazon key”.
22.Now go back to puTTy àRight
Click on it and select “new session”àselect
your host name and load it.
23.Now go to SSHàAuthàBrowse the key which
you have just createdàLoad
itàA window of PuTTy will
ask “Login as”, here you have to enter the username(i.e for ubuntu the username
is ubuntu).
24.Now using command
“apt-get install git” you can install github
“apt-get install apache2” install apache and run it.
( i.e it is a WORKING LINUX BOX).
25.Open AWS pageàNetwork
& SecurityàSecurity
groupsà
Select your hostà
InboundàCreate
a new rule and select HTTP àApply
rule change.
26.Now enter your host IP address in your browser and you
can see that your site it running.
No comments:
Post a Comment