====== AWS CLI ======
===== Installation =====
==== Installation Windows ====
Either install it via download here: [[https://awscli.amazonaws.com/AWSCLIV2.msi|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: [[https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html|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: [[https://lunetikk.de/doku.php?id=cloud:aws:basics#create_a_keypair|Lunetikk.de - Create a keypair]]
Source: [[https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html|docs.aws.amazon.com - CLI Configure]]