justmeans power point

24
How to begin with Amazon EC2 by Vikrant Labde http://www.cuelogic.co.in [email protected]

Upload: justmeanscsr

Post on 19-Jun-2015

112 views

Category:

Documents


1 download

DESCRIPTION

Justmeans power point

TRANSCRIPT

Page 1: Justmeans power point

How to begin with Amazon EC2

by Vikrant Labde

http://www.cuelogic.co.in

[email protected]

Page 2: Justmeans power point

Step 1:

http://aws.amazon.com/ec2/Visit & Signup:

Step 2:

After Signup/Sign in go to Amazon Management Console

https://console.aws.amazon.com/ec2/home

Page 3: Justmeans power point

Step 2: This is very handy consol where you can manage all of the Amazon Cloud Server products

Instance = Cloud server on which you port your website.Elastic IPs = This is the IP address to which you need to point your domain/website

For now you just get to know What is Instance & Elastic IPs?

Page 4: Justmeans power point

Step 3: Launch new Instance

Its better to start with predefined EBS device. I am opting for small instance which has LAMP and ROR

Page 5: Justmeans power point

Step 4:

We do not need to do much, just click on Continue

Page 6: Justmeans power point

Step 5:

You can set your own IDs but, at the beginning its not mandatory. Click continue.

Page 7: Justmeans power point

Step 6:

You can assign tags to your instance. It will just simplify the administration if you have robustEC2 infrastructure.

Page 8: Justmeans power point

Step 7:

This is the most important step. It creates Public/Private keypaire for your new instance. You cant access your instance through SSH without keypair. This will download cuelogic_new.pem file which is Private Keyon your computer. Save that file on appropriate location.

Page 9: Justmeans power point

Step 8:

This is firewall, you can start with Quick-start-1. Amazon will setup new group if you do not have one.You can change the rule afterwards.

Page 10: Justmeans power point

Step 9:

There you go. Click on Launch.

Page 11: Justmeans power point

Step 10:

Page 12: Justmeans power point

Your instance is now Up and Running.

Page 13: Justmeans power point

Now question is, how do I access my instance?

Couple Softwares.

PuTTY.exe — Secure Shell clientPuTTYgen.exe — SSH public/private key generator

One Elastic IP address, which is available at your finger tip

For that you need

http://www.putty.nl/download.html

Page 14: Justmeans power point

One Elastic IP address, which is available at your finger tips

Step 1:

Step 2: Select newly created IP address and click on Associate. Then in the popup select your instance andclick on “Associate” button.

Grab one IP address for you.

Page 15: Justmeans power point

Couple Softwares.

I hope you have downloaded both putty softwares from http://www.putty.nl/download.html

Step 1: Open puTTYgen.exe and go to “Conversion > Import key” and select “.pem” file you downloadat the time of creating the instance.

Page 16: Justmeans power point

Couple Softwares.

Step 2: Enter passphrase and Save Public Key on to your computer.

Page 17: Justmeans power point

Couple Softwares.

Step 3:Enter any “Passpharase” and Save Private Key on to your computer. Paaspharase is likePassword. You need this at the time of login to your server. So keep it handy.

Page 18: Justmeans power point

Couple Softwares.

Step 4: Open putty.exe and enter Elastic IP in the text box labeled as “Host Name (or IP address)

Wait!!! I have not asked you to click on Open yet.

Page 19: Justmeans power point

Couple Softwares.

Step 5: Go to SSH > Auth and Select your private key file which you stored via puTTYgen.exe

Wait!!! I STILL have not asked you to click on Open .

Page 20: Justmeans power point

Couple Softwares.

Step 6: Go back Session, Name your session under “Saved Session” text box and click on “Save”

Wait!!! I STILL have not asked you to click on Open .

Page 21: Justmeans power point

Couple Softwares.

Step 7: You will find your session info in the List Box. Select that and Now you can Click on OPEN

Page 22: Justmeans power point

Couple Softwares.

Step 8: Since you are a first time going into your server. Click on “YES”

Page 23: Justmeans power point

Couple Softwares.

Step 8: Here’s your “Black Screen”, enjoy the “root” access

Page 24: Justmeans power point

Now you have one Linux server and One dedicated IP address to access the server

What you are waiting for?

Go to Domain control panel and point “A” record (DNS) to you’re your “Elastic IP”