This is an old revision of the document!
CloudFormation - template na vytvoreni zdroju, jako ARM
~/.aws/config … Glogablí nastavení pro AWS CLI
~/.aws/credentials … kredence pro AWS CLI
aws configure
… nastaví kredence do konfiguračních souborů, interaktivní vstup
aws configure --profile AAA
… nastaví kredence pro profil AAA, může být název účtu
export AWS_PROFILE=AAA
… nastaví pro aktualní shell profil AAA
aws ecr list-images --repository-name
… vylistování obsahu ECR repozitáře
aws ecr get-login-password --region region | docker login --username AWS --password-stdin aws_account_id.dkr.ecr.region.amazonaws.com … nastaví token ECR pro Docker
aws ec2 describe-vpcs … seznam virtualních privátních cloudů (sítí)
aws ec2 describe-regions
… seznam regionů
aws ec2 describe-instances --region eu-central-1
… seznam EC2 instancí - virtuálních počítačů - v regionu
aws ec2 describe-subnets
… seznam subnet
aws –profile PROFIL s3 ls … vylistuje všechna S3 uložiště
aws –profile aws-automation s3api list-buckets –query “Buckets[].Name” … další možnost vylistování
aws n s3 ls s3:/BUCKET/ADRESAR1/ADRESAR2 … vylistování obsahu S3 Bucketu