← Cheat Sheets

AWS CLI Basics

Everyday AWS command line usage.

# AWS CLI Basics

Everyday AWS command line usage.

```bash
aws configure                          # set keys and region
aws sts get-caller-identity            # who am I
aws s3 ls
aws s3 ls s3://bucket/prefix/
aws s3 cp file.txt s3://bucket/
aws s3 sync ./dist s3://bucket --delete
aws s3 rm s3://bucket/path --recursive
aws ec2 describe-instances --output table
aws logs tail /aws/lambda/fn --follow
aws --profile work s3 ls
```