TIL-AWS-CLI

Assuming a new role has allowed me to learn more about Public cloud platforms . Specifically AWS , TIL there is a AWS CLI that can be used to interact with the services for the organization.

Install AWSCLI
### CLI Download for MACOS:

curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /

### AWSCLIV2.pkg is the name of the file saved on the local machine 

### Install the Package 
sudo installer -pkg ./AWSCLIV2.pkg -target /

### Confirm Installation 
user@ip-172-16-0-179 vector--demo % which aws
/usr/local/bin/aws

### Add directory to $PATH
export PATH=$PATH:/usr/local/bin/aws

### Confirm 
user@ip-172-16-0-179 ~ % echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

Links:
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html#getting-started-install-instructions

Leave a comment