AWS☁#03 AWS Command Line Interface(AWS CLI)

AWS☁#03 AWS Command Line Interface(AWS CLI)

👋 Hi and welcome.....

In this blog, you will learn about AWS Command Line Interface (AWS CLI). Nowadays we all are more familiar with the graphical user interface(GUI) but cloud engineers interact programmatically with AWS resources using AWS CLI.

Normally, we use to manage AWS services using the AWS management console through a web browser but by using this AWS CLI you can manage your AWS services through the command line itself without login into the AWS management console. With the AWS CLI, you can create, monitor, update, and delete stacks from your system's terminal. You can also use the AWS CLI to automate actions through scripts. AWS To access the services, you can use the AWS Management Console, the Command Line Interface (CLI), or Software Development Kits (SDKs).

🔸 What is AWS CLI?

The AWS Command Line Interface (AWS CLI) is an open-source tool that enables you to interact with AWS services using commands in your command-line shell. It is one of the best Amazon Web Services tools that is being used by developers all over the world. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.

This tool helps the developers to control Amazon cloud services. In this, they can write the command in the specified line and run the application. The AWS CLI provides direct access to the public APIs of AWS services. You can explore a service's capabilities with the AWS CLI, and develop shell scripts to manage your resources.

🔸 Why AWS CLI?

  1. Easy Installation

    The installation and configuration of CLI are very easy. There are no complex tasks required to start with AWS CLI. It’s very straightforward: download AWS CLI, and then install and configure it.

  2. Time-saving

    For example, if you want to check out all the S3 buckets in your account, you don’t need to log in to your Management Console, choose the service, and then take a look at all the buckets. Instead, you can just type in a single command and get the list.

  3. Process Automation

    You can automate the management of your AWS services through scripts. The provisioning and management of your cloud infrastructure can be automated through shell scripts.

  4. Supports all Amazon Web Services

    It is a unified tool through which you can access all of your cloud services from a single tool. Note that Amazon has over 200 services

🔸 Install and update requirements on Windows:

1. We support the AWS CLI on Microsoft-supported versions of 64-bit Windows.

2. Admin rights to install software

Step 1. To install AWS CLI for Windows, you will have to download the AWS CLI MSI installer. Download it from the below link

Click here -> Download and run the AWS CLI MSI installer for Windows (64-bit)

Step 2. To confirm the installation, open the Start menu, search for cmd to open a command prompt window, and at the command prompt use the command.

aws --version

aws --version

otherwise, you can open a command prompt by pressing the Windows Key + r to open the run box and enter cmd and press the OK button, and at the command prompt use the command aws --version

Once you are sure that AWS CLI is successfully installed, you need to configure it to start accessing your AWS Services through AWS CLI.

Please check Configure AWS CLI

🎉Congratulations!

You have learned how to install the AWS CLI on Windows.

So it can be beneficial to do some research and find the opportunities that can be most helpful in building your career & becoming a part of the cloud computing world.

If you enjoyed this article, share it with your friends and colleagues!