Site Tools


cloud:aws:awscli

AWS CLI

Installation

Installation Windows

Either install it via download here: https://awscli.amazonaws.com/AWSCLIV2.msi

or via msiexec in PowerShell

msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi

Installation Linux

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

Check Installation

Execute the following to show the current version

aws --version

Source: docs.aws.amazon.com - Install AWS CLI

Configuration

Add credencials to AWS CLI

Type “aws configure” to set your login credencials

aws configure
AWS Access Key ID [None]: ABCDEFGHIJKL1EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-west-2
Default output format [None]: json

If you dont have a keypair yet, check here on how to create one: Lunetikk.de - Create a keypair

Source: docs.aws.amazon.com - CLI Configure

cloud/aws/awscli.txt · Last modified: 2022/09/03 16:28 by lunetikk