Skip to main content

How to create Amazon EC2 Linux Instances

Let us see how to create Amazon EC2 Linux Instances, an instance is really a virtual server in the AWS cloud. With Amazon EC2, you are able to create and manage the OS (operating system) and applications which run on your AWS ec2 instances, you will get an Amazon EC2 for free using the AWS Free Tier, it won’t cost (ec2 instance pricing) you anything to finish this training.

What is EC2 Instance?
Amazon Elastic Compute Cloud (Amazon EC2 instance) provides scalable computing capacity within the Amazon Web Services (AWS) cloud. You may use Amazon EC2 to launch numerous of virtual servers as you want, configure security as well as networking, and manage storage. Amazon EC2 allows you to scale up or down to deal with alterations in needs.

Amazon Web Services Reviews

How to create Amazon EC2 Linux InstancesHow to create Amazon EC2 Linux Instances

 

To launch an Amazon EC2 instances:

1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/and choose Launch Instance.
2. Choose an Amazon Machine Image (AMI), for example, we have selected the Red Hat Enterprise Linux 7.4 AMIHow to create Amazon EC2 Linux Instances
3. Choose an Instance Type as Free tier only and click Review and launchHow to create Amazon EC2 Linux Instances3a. Click “Edit security groups”

3b. Select Assign a security group as “Create a new security group”

3c. Provide a “Security group name” and “Description” (if required/else go with default)

 3d. Choose
Type as SSH
Source as
My IP – Server can access only from you IP-address
or
Anywhere – Server can access from anywhere in the world
or
Custom – Provide CIDR range
3e. Click “Add Rule”
How to create Amazon EC2 Linux Instances

4. Review Instance and click LaunchHow to create Amazon EC2 Linux Instances
5. Select an existing key pair or create a new key pair
Select “Create a new key pair” from the drop-down, provide a “Key pair name: Sysadminview” then download the Key Pair and click Launch Instances (it will launch our EC2 Redhat Linux instances).How to create Amazon EC2 Linux Instances

Perform the below steps to connect to our Instance
6. Open PuTTy Key Generator
We are going to generate private key from the public key(which we downloaded on 5th Step)How to create Amazon EC2 Linux Instances
7. Click load on PuTTy Key Generator, Choose “All Files (*.*) and select the downloaded *.pem fileHow to create Amazon EC2 Linux Instances
8. Click ok, and click Save private key (If required you can specify Key passphrase) and save it as ppk.
9. Get the Public DNS name from your aws console How to create Amazon EC2 Linux Instances
10. Open Putty, go to Connection -> SSH -> Auth
In Private Key file for authentication, browse for a *.ppk file which we created.How to create Amazon EC2 Linux Instances
11. Enter the Public DNS name in putty hostname and click Open
Default username is: ec2-user
Example Hostname: ec2-user@ec2-54-209-240-33.compute-1.amazonaws.com
Enter the Public DNS name in putty host name and click Open
Successfully we connected to our Amazon EC2 instancesHow to create Amazon EC2 Linux Instances

Difference between AWS and OpenStack
Amazon AWS vs Google Cloud vs Azure

I hope this article provides you the information about, How to create Amazon EC2 Linux Instances. Thank you for studying!!. Be Social and share it on social media, if you really feel worth sharing it.

Leave a Reply

Your email address will not be published. Required fields are marked *