Managing AWS through CLI

The AWS Command Line Interface (CLI) is for managing your AWS services from a terminal session on your own client, allowing you to control and configure multiple AWS services and implement a level of automation.

With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.

we need to download AWS CLI Version 2 and then we’ll be ready to use command line interface

you can download it from here:

https://awscli.amazonaws.com/AWSCLIV2.msi

We have to provide keys to configure because unlike human, machines use keys to login instead of using username and password.

Here you can go to AWS GUI and verify whether the Key has been created or not.

Command : aws ec2 create-security-group — group-name awscsasg — description “awscsasg”

Now we can see it is created.

After creating security group we also have to add inbound rules into it.

we can check it manually also whether it is running or not.

Now we can see that this Volume is “in use” which means it is now attached to instance.

And this is all we have to do in this.

Hope you liked this blog, in case any suggestions then please suggest me.

Thank you !!!

--

--

Upcoming Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store