Installing AWS CLI

Posted under » Ubuntu » AWS on 4 May 2021

There are many ways to install the AWS CLI. There is a windows version and there the ubuntu version

$ sudo apt install awscli

Once installed check the AWS CLI version using below command

$ aws --version
aws-cli/1.18.69 Python/3.8.5 Linux/5.4.0-72-generic botocore/1.16.19

Now you have to go to your AWS profile > My security credentials > and create and generate an AWS Access Key ID. Configure.

$ aws configure
---
AWS Access Key ID [None]: 1423
AWS Secret Access Key [None]: 43565473
Default region name [None]: ap-southeast-1
Default output format [None]: JSON

Now you have configured your AWS account using AWS CLI.

The AWS CLI stores sensitive credential information that you specify with aws configure in a local file named credentials, in a folder named .aws in your home directory. The less sensitive configuration options that you specify with aws configure are stored in a local file named config, also stored in the .aws folder in your home directory.

You can use this to configure S3.

web security linux ubuntu python django git Raspberry apache mysql php drupal cake javascript css AWS