Steps:
- While logged into to AWS management console, we can able to see “Ec2” service.
- Click “launch instance”.
- Select “Amazon Linux”.
- Select “t2.micro” (or required).
- Click “Next”.
- Leave default settings and click next.
- Click ”Next”
- Leave default settings and click “Next”.
- Click “Next”.
- In Add tags, Key as Name and value as “webserver”.
- Click “Next”.
- While configuring security group, create a new security group for Linux Instance.
- Type security group name as Linux-Sec-Group
- Description as Linux-Sec-Group (or relevant)
- Click “Review and Launch”.
- Click “Launch”.
- While launch instance, it asked to select an existing key pair or create a new key pair.
- Now we need to launch the instance (LinuX) by using putty.