aws

Install AWS CLI on MAC and Linux

sidtechtalks.in

aws

AWS CLI?

sidtechtalks.in

The AWS CLI is a unified tool to manage AWS services. With just one tool to download and configure, we can control multiple AWS services from the command line and automate them through scripts.

aws

INstall version 1

sidtechtalks.in

Use the pip or pip3 command to install or update the AWS CLI. We recommend that if you use Python version 3 or later that you use the  pip3 command.

$ pip3 install awscli

aws

INstall version 1

sidtechtalks.in

Verify that the AWS CLI is installed correctly.

$ aws --version

aws

INstall version 1

sidtechtalks.in

If you will get same like the below output then it is installed correctly. Output:

aws-cli/1.22.23 Python/3.8.8 Linux/4.14.133-113.105.amzn2.x86_64 botocore/1.13

aws

Setup AWS CLI

sidtechtalks.in

It explains how to quickly configure basic settings that the AWS Command Line Interface (AWS CLI) uses to interact with AWS.  These include your security credentials, the default output format, and the default AWS Region.

aws

sidtechtalks.in

The aws configure  command is one of the ways to set up your AWS CLI installation. When you enter this command, the AWS CLI prompts you for four pieces of information: – Access Key – Secret Key – Output – Region

aws

Profiles

sidtechtalks.in

A collection of settings is called a profile. By default, the AWS CLI uses the default profile. You can create and use additional named profiles with varying credentials and settings by specifying the --profile option and assigning a name.

aws

sidtechtalks.in

Congratulations!! you have successfully installed and set up AWS CLI on Mac/Linux. You would be able to communicate well with your AWS services and automate the process which will make it easier to interact.

Installed!

aws

sidtechtalks.in

I hope you enjoyed the article and if you found this useful, then please share it with your friends and colleagues. If this post helps you, spread this so that other people can also benefit.

Read more...