HOW TO SET UP AWS CLI

Posted on by By admin, in AWS | 0

In this article we are going to see how to set up AWS CLI. The AWS Command Line Interface (CLI) is a powerful tool that allows you to interact with the AWS resources directly from your local command line or terminal.

STEP1:

Install AWS CLI

The first step is to install AWS CLI on your local machine. AWS CLI is supported on Windows, macOS, and Linux operating systems. In this step, we will cover the installation process for Windows.

For Windows:

  1. Go to the AWS CLI official website (https://aws.amazon.com/cli/) and download the AWS CLI installer for Windows.
  2. Run the installer and follow the on-screen instructions to complete the installation.
  3. Open a new command prompt or PowerShell window to start using AWS CLI.AWS account should be created with data present in S3.

STEP2:

Configure AWS CLI

Once you have installed AWS CLI, the next step is to configure it with your AWS credentials. AWS CLI uses access key and secret access key for authentication, which can be obtained from the AWS Management.

  1. Open a command prompt.
  2. Run the below command to start the AWS CLI configuration process:
  3. HOW TO SET UP AWS CLI

  4. Enter your AWS access key ID, secret access key, region and output format as shown in the below screenshot.
  5. HOW TO SET UP AWS CLI

  6. Press Enter to complete the configuration process.

STEP3:

Verify AWS CLI Setup

After configuring AWS CLI, you can verify if it is set up correctly by running a simple command, such as listing your S3 buckets.

  1. Open a command prompt.
  2. Run the following command to list your S3 buckets.
  3. HOW TO SET UP AWS CLI

If you see a list of your S3 buckets, then your AWS CLI setup is successful.

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments