_*Task Description - AWS*_ 👨🏻‍💻

🔅 Create a key pair
🔅 Create a security group
🔅 Launch an instance using the above created key pair and security group.
🔅 Create an EBS volume of 1 GB.
🔅 The final step is to attach the above created EBS volume to the instance you created in the previous steps.

_All the above steps must be performed using AWS CLI_


Downlaod and Install aws cli in windows operating system


Check that AWS Cli is successfully installed or not in our windows operating system for this just type “aws --version”.

Step 3:

To login in cli we need access key and secret which is automatically created while we create a user on IAM. And provide him permission .


Type “aws configure” command over command prompt and fill the requirements and login.

Step 5:

Now we have to create a keypair so to do this we take help by simply help after the services for e.g . “Ec2 help” it provide all the services related to ec2.

Step 6:

Create a key pair.

aws ec2 create-key-pair --key-name MykeyPair .

Verified it via WebUI.

Step 7:

Launching an instance in Mumbai region.

aws ec2 instance --image_id ami-0e306788ff2473ccb --instance type t2.micro --count 1 --subnet-id subnet-bd0c05d5 security group sg-eqf72586 --key-name “MyKeyName

Verified using WebUI.

Step :8 #FINAL STEP#

Create a new volume and attach it to your existing instance.

Verified your volume using WebUI.