EC2 LinuxInstance
EC2 LinuxInstance
Learning Objectives:
Step 1: Log in to the AWS management console. In the top right corner go to the
region and then in the drop down select region in this case we are using the Mumbai
region.
www.cloud-plusplus.com/aws-training
Page 1|
Cloud Plus Plus Services
Step 2: Find for EC2 service in the search bar provided on the page. Click on
Instances option in left navigation panel so as to be directed to following page.
Step 3: After clicking on the launch instance we will be redirected to this page.
www.cloud-plusplus.com/aws-training
Page 2|
Cloud Plus Plus Services
Step 4: In Application and OS Images. Here search/select Amazon Linux 2
AMI.
www.cloud-plusplus.com/aws-training
Page 3|
Cloud Plus Plus Services
Step 6: In the key pair section if you are already having a key pair then you may
directly go to step 6 B or else continue with this step
A. Click on the Create the key pair.
In the key pair name write the name as Mumbai-KP and keep all the remaining
values as default. Then click on the Create key pair.
www.cloud-plusplus.com/aws-training
Page 4|
Cloud Plus Plus Services
www.cloud-plusplus.com/aws-training
Page 5|
Cloud Plus Plus Services
Step 6:
In the Subnet field select on the drop down list and select any one of the
Subnets.
In the Auto-assign Public IP field select on the drop down list and select
Enable option.
www.cloud-plusplus.com/aws-training
Page 6|
Cloud Plus Plus Services
Next: In Configure Security Group
In the description enter the following text: Security Groups for Linux Servers
www.cloud-plusplus.com/aws-training
Page 7|
Cloud Plus Plus Services
Step 8: Add Storage
Here are all the details regarding your instance. Read them once and check if all
the configurations are correct
Click on the Launch button at the bottom right corner. This will launch your
instance.
www.cloud-plusplus.com/aws-training
Page 8|
Cloud Plus Plus Services
www.cloud-plusplus.com/aws-training
Page 9|
Cloud Plus Plus Services
We will be redirected to the page below. Wait until you get the Status check as
2/2 checks passed then click on connect button. Refresh the page some times.
www.cloud-plusplus.com/aws-training
P a g e 10 |
Cloud Plus Plus Services
Step 10: A new window will open and we will be able to see the screen as per the
below image.
www.cloud-plusplus.com/aws-training
P a g e 11 |
Cloud Plus Plus Services
Now run the command sudo yum update to check the instances is working .
Step 11: If you no longer need this instance make sure to terminate the instance.
On your screen the window will be displayed as per the below image. Click on the
Terminate Instance.
www.cloud-plusplus.com/aws-training
P a g e 12 |
Cloud Plus Plus Services
Now you will be directed back to the instances page and you will see the terminated
successfully message. Thus you have successfully terminated the instances.
www.cloud-plusplus.com/aws-training
P a g e 13 |
Cloud Plus Plus Services
www.cloud-plusplus.com/aws-training
P a g e 14 |