AWS CLI:

Jyoti Pawar
Oct 22, 2020

AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.

AWS CLI v2 offers several new features including improved installers, new configuration options such as AWS Single Sign-On (SSO), and various interactive features.

With this CLI we can perform various tasks like ;

1. Creating a new key value pair in AWS

2. Creating the security group

3. Configure the security group

4. Launching the instance using the above created key value pair and security group

5. Launching the EBS volume

6. Attach the above EBS volume to the launched instance

1. Creating a new key value pair:

We can now see in aws gui interface a new key pair is created

2.Creating a security group:

A new security group MySecurity is created in the AWS

3.Configure the security group:

4. Launching the instance:

5.Launching the EBS volume:

6. Attaching the volume created to the launched instance:

Here we can see the above volume dev/sdx is attached to the previous instance through command line

So in this way, we can perform the same GUI tasks with the help of CLI and cli gives us the facility to customize it in one cmd only.

Hope you all liked this…..

--

--

Jyoti Pawar

Devops || AWS || ML || Deep learning || Python || Flask || Ansible RH294 || OpenShift DO180