Introduction
Launching the AWS ec2 instance from scratch step by step procedure.

Step 1: AWS Console Login

  • Access the AWS console by navigating to: AWS Console Login.

  • Log in to your AWS account.

 

Step 2: Deploy an EC2 Instance

  1. From the AWS Management Console, navigate to EC2.

  2. Select Launch Instance.

Choose Amazon Linux for your instance.

 

Step 3: Create a Key Pair

1.Create a new key pair by providing a name for it.

 

2.Download the key pair file (.pem) as you will need it for SSH access later.
– Click on Create Key pair after provide the name and select the proper formate

 

Step 4: Configure Security Groups

1.Create a new security group.
-Click on Create security group

 

2. Modify the inbound rules as needed (e.g., allow SSH on port 22).
-Click on add rule and provide the new inbound rule

 

-Here the new Security group name is Test_ns_linux_IN

 

Step 5: Launch the Instance

1.Return to the EC2 page, and select your newly created security group.

 

2.Click Launch Instance.

 

Step 6: Connect to Your EC2 Instance

1.After the instance is created, navigate to View Instances.

 

2.Select the checkbox for your Linux instance and click Connect.

 

3.Copy the connection details, including the username and public IP address.

 

Conclusion

After once the instance is ready proceed with the following steps
Option 1: Using Mobaxterm for SSH Connection

1.Open Mobaxterm and configure a new SSH session.

 

2.Use the public IP address of your EC2 instance and the .pem private key to connect.

Recent Posts

Start typing and press Enter to search