Note: The AWS CLI must be configured on your local work station. simple by downloading it from AWS.
There are different ways to install this but my preferred method is by using an installer which can be downloaded from this site. https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html
Use-Case: Install AWS CLI on Windows
Note: You can also have it installed on MacOS and linux. Please See the URL above for the steps.
The installer can be downloaded here for Windows: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html
After installation, Please verify, it has been installed correctly by using the command below.
Follow the next steps below to configure the AWS CLI
$aws configure AWS Access Key ID [None]: Your Access Key ID AWS Secret Access Key [None]: Your Secret Key Default region name [None]: Enter your desired region in this format (us-west-2) Default output format [None]: I usually leave this by default as (json)
When you type this command, the AWS CLI prompts you for four pieces of information and stores them in a profile (a collection of settings) named
default. This profile is then used any time you run an AWS CLI command that doesn’t explicitly specify a profile to use.