task-3(This task is done by using command line)


this task need to done by using your aws root passwords.

  1. create a ec2 instance

2. Create a security group

3. Launch an instance using the above created key pair and security group

4. Create an EBS volume of 1 GB

5. The final step is to attach the above created EBS volume to the instance you created in the previous steps

start the instance that is made by you…..

  • aws ec2 run-instances — image-id ami-0e306788ff2473ccb — instance-type tc2.micro — count 1 — subnet-id subnet -d4535bbc — security-group-ids sg-095bbe58031714482 — key-name keyex

👆this is the format to start your instance run and to check your created instance is working properly.



Himavarsha Madala