How to begin with Amazon EC2?


Published on

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.

Amazon EC2’s simple web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon’s proven computing environment. Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change. Amazon EC2 changes the economics of computing by allowing you to pay only for capacity that you actually use. Amazon EC2 provides developers the tools to build failure resilient applications and isolate themselves from common failure scenarios.

Published in: Technology
  • Be the first to comment

How to begin with Amazon EC2?

  1. 1. How to begin with Amazon EC2 by Vikrant Labde
  2. 2. Step 1: & Signup: Step 2: After Signup/Sign in go to Amazon Management Console
  3. 3. 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?
  4. 4. Step 3: Launch new Instance Its better to start with predefined EBS device. I am opting for small instance which has LAMP and ROR
  5. 5. Step 4: We do not need to do much, just click on Continue
  6. 6. Step 5: You can set your own IDs but, at the beginning its not mandatory. Click continue.
  7. 7. Step 6: You can assign tags to your instance. It will just simplify the administration if you have robust EC2 infrastructure.
  8. 8. 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 Key on your computer. Save that file on appropriate location.
  9. 9. 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.
  10. 10. Step 9: There you go. Click on Launch.
  11. 11. Step 10:
  12. 12. Your instance is now Up and Running.
  13. 13. Now question is, how do I access my instance? Couple Softwares. PuTTY.exe — Secure Shell client PuTTYgen.exe — SSH public/private key generator One Elastic IP address, which is available at your finger tip  For that you need
  14. 14. 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 and click on “Associate” button. Grab one IP address for you.
  15. 15. Couple Softwares. I hope you have downloaded both putty softwares from Step 1: Open puTTYgen.exe and go to “Conversion > Import key” and select “.pem” file you download at the time of creating the instance.
  16. 16. Couple Softwares. Step 2: Enter passphrase and Save Public Key on to your computer.
  17. 17. Couple Softwares. Step 3: Enter any “Passpharase” and Save Private Key on to your computer. Paaspharase is like Password. You need this at the time of login to your server. So keep it handy.
  18. 18. 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.
  19. 19. 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 .
  20. 20. 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 .
  21. 21. Couple Softwares. Step 7: You will find your session info in the List Box. Select that and Now you can Click on OPEN 
  22. 22. Couple Softwares. Step 8: Since you are a first time going into your server. Click on “YES”
  23. 23. Couple Softwares. Step 8: Here’s your “Black Screen”, enjoy the “root” access
  24. 24. 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”