Using AWS-CLI For Basic Operation on AWS
Ankit Pramanik
DevOps Engineer | 3.8+ Years Experience | Terraform Certified | 5x GCP Certified | AWS | GCP | Kubernetes & Docker Expert | CI/CD | Ansible | DevSecOps Enthusiast
?? 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.
What is AWS?
Amazon Web Services (AWS) is a secure cloud services platform, offering to compute power, database storage, content delivery, and other functionality to help businesses scale and grow. Running web and application servers in the cloud to host dynamic websites.
Since we know that AWS is a technology and to use any technology like AWS, we have three ways:
- Using WebUI
- Through a program/code
- Using CLI (Command Line Interface)
In this article, I will be performing each and every step using the AWS CLI.
1. Creating a Key Pair
And the key pair has been successfully created:
2. Creating an EBS (Elastic Block Storage ) Volume of size 1 Gb :
3. Creating a security group:
Security Group Created:
Providing ingress traffic rules to the security group
And here we have added ssh
4. Now, we create an EC2-instance using the CLI. We have used the same key-pair and the security group that I created in the above steps.
EC2 – instance created
5. Now, we attach the EBS volume (created earlier) with the EC2 instance we just created
EBS volume attached:
Thank You...