In this article, we will see how to install and configure AWS CLI for managing our AWS. It provides direct access to the API of AWS.
Through AWS CLI we can use this for bash scripts to automate.
Now we will see how to install AWS CLI in Ubuntu 18.04
AWS CLI is already available in the official package repository of Ubuntu 18.04. First, we will update the repository.
Now install AWS CLI:
AWS CLI should be installed.
Now check whether AWS CLI is working or not.
Configure AWS through AWS CLI
First we will configure AWS CLI client with AWS account credentials.If you dont know how to set up Access and Secret Key In AWS IAM,Refer to this Article: https://www.techrunnr.com/how-to-set-up-access-and-secret-key-in-aws-iam/?utm_source=WhatsApp&utm_medium=IM&utm_campaign=share
Now we will run AWS configure command.
The configuration files of AWS CLI is stored in ~/.aws/config and ~/.aws/credentials file as you can see below.
Now AWS CLI has been configured in Ubuntu 18.04.
In next article we see the Basic AWS S3 cli commands like copy file to s3,download file from s3,create bucket,removebucket etc..
© 2019, Techrunnr. All rights reserved.