We will go through setting up the AWS command line tool (CLI) in this lesson.
- Prerequisite: Create an account on AWS if you don't have one.
CLI Setup
For example, on Ubuntu:
$ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
$ unzip awscliv2.zip
$ sudo ./aws/install
Then, you can quickly check if the installation was successful:
$ aws --version
aws-cli/2.6.3 Python/3.9.11 Linux/5.10.60.1-microsoft-standard-WSL2 exe/x86_64.ubuntu.22 prompt/off
Configuration
First create an access key ID - secret access key pair. Then configure your first "default" profile:
$ aws configure
...