Aws cli setup - SoftupTechnologies/infrastructure-components GitHub Wiki
To set up aws cli you need to follow the download instructions based on what system you have. In this link you will find the intructions to install the v2 of aws cli. This version is recomended from AWS
To configure the aws cli we need the access key id and access secret key id from our user in aws account. These keys can provided from the account owner through IAM service or if you are the account owner you can create a user and generate a pair of keys.
In the terminal run:
aws configure
Fill in the information with the access key id and access secret key id, the default region that you want to aws cli to use and set the output as json
This creates the default profile to interact with aws resources through cli. To check the profile configuration and credentials run:
cat ~/.aws/config
cat ~/.aws/credentials