This tutorial will show you how to create a CentOS 7 instance on AWS. We assume that you already have you AWS account created and that you are logged in already.
Click Services and then EC2
Click Launch Instance
- Click AWS Marketplace
- Search for CentOS
- Select the top result – CentOS7
Select your machine type and click Next Configure Instance details. In our case we will select the t2.micro instance as it is free tier eligible.
Change Auto-assign public IP to Enable and click Next: Add storage.
Leave the defaults and click Next:Add Tags
Click Next: Configure Security Group
Click review and Launch.
Review your settings and then click Launch.
In the drop down menu select create a new key pair, give the key pair a name and Download the Key Pair, then click launch Instances.
Click your instance ID to see the instance.
You should now see your instance.
To connect to our instance we will need to convert the key we downloaded, to do so we will use putty and puttygen they can be downloaded form here: https://www.putty.org/
Open puttygen and click Load
Navigate to where you downloaded your key, click all files, click on your key and click open.
Now click Save Private key, when prompted click yes you want to save without a passphrase.
Now open putty and enter your public IP into the host name or IP address field, then expand SSH on the left had side.
Click auth and then browse, navigate to where you saved your key and select it.
Now click open
Enter centos as the username and click enter.
You will now be logged in
A full video tutorial can be found here: