AWS CLI used to create Security groups , Keys and EBS Volumes attached with an Instance
As we all are completely aware of the power and popularity of AWS Cloud. The most powerful way to connect to AWS Cloud is by using AWS CLI. Here i have created a tutorial of AWS Cloud using CLI. We are going to create key, security group and then launch instance using them . Then we will create an EBS Volume which will be attached to the Instance.
Here we use aws ec2 help to find out the command for creation of key
Key name key1 is created.
Security group name MySecurityGroup is created. We have also added ingress rules.
An instance is created.
We have created an EBS Volume of size 1GB.
Now we have attached our EBS Volume with our Instance.