So, you have heard about the cloud quite a bit. And you have heard about Amazon Web Services (AWS) as well for quite some time now and you want to get started but need help in setting up your first EC2 instance. Follow the below quick steps and you will be up and running in no time.
Login to you AWS Dashboard (https://console.aws.amazon.com/console/home)
Make sure you select the correct region you want to setup in on the top right and then click on “EC2”
Click on “Launch Instance”
Select an OS/AMI (Disk Image). For the purposes of this quick tutorial, select the Amazon Linux AMI
Select the “t2.micro” instance as this is the one included in the free tier. Click Next
Leave everything at default but check the box that says “protect against accidental termination”. Click Next.
Make the storage size 30GB as this is included in the free tier. Uncheck “delete on termination” and click Next.
Type in a name to identify your EC2 instance and click Next
Give your security group a name. For the purposes of this tutorial, we will be enabling only remote access and no www web access. This can be edited at a later time. Click on Review and Launch
Click on Launch
Select create a new key pair, give your key a name and hit the Download Key Pair. This is your SSH key to access your EC2 instance. Make sure you keep it safe in your local system.
That’s it! Your EC2 instance is now being provisioned. You can go back into the EC2 screen and click on “instances” and see if it is running and ready for use. Find the IP address from the indicated positions in the screenshot and go ahead and use Putty to connect via SSH if you’re on Windows.
Hope this quick tutorial has been informative enough to help you get started. Keep following the blog for a more detailed write up on what each of the selection in each of the steps mean and also for other great content on AWS.