Create AWS EC2 Instance(Linux)

In this blog we are going to create an EC2 instance actually we can manage AWS using API and CLI in this I'm going to show both ways. Let’s dev into practical first, we are going to create EC2 using AWS API
STEP 1: Go to AWS Create Account if not exists, then login with your mail id and password.

STEP 2: Search EC2 and click on EC2

STEP 3: Click Launch Instance

STEP 4: Select Image for Instance here I’m selecting Linux Amazone Image

STEP 5: Sele t Instance Type and go to next step

STEP 6: Keep the default and move to the next.

STEP 7: Keep default if need extra storage we can add by clicking on add new Volume

STEP 8: Configure Security Group here I’m allowing to connect everyone through SSH even we can add as many Security Rules

STEP 9: Launch Instance

STEP 10: Select Create a new Keypair and give password and create Key Pair



Now our instance is successfully launched and It’s Running

Now we are going to create an Instance using CLI

Requirements:
Install AWS CLI in your OS
Before that, we need to create an IAM user and login through CLI
Steps to create IAM








Create Instance using AWS CLI

Login through IAM access Key and Secret Key give the region and format to display output

Now my login is successful within one line we can create an EC2 instance one-click Instance is launched

Thank you for reading :)