AWS Cheatsheet
AWS Cheatsheet
Basic Commands
$ aws help
$ aws <command> help
$ aws <command> <subcommand> help
$ aws --version
Basic Commands
EC2
$ aws ec2 run-instances --image-id ami-a0b1234 --instance-
type t2.micro --security-group-ids sg-00000000 --dry-run
Stop an instance.
CHEATSHEET
Security Groups
$ aws ec2 describe-security-groups
AWS IAM
$ aws iam create-user --user-name UserName
AWS IAM
Delete a user.
Access Keys
$ aws iam create-access-key --user-name UserName --output
text | tee UserName.txt
AWS S3
$ aws s3 mb s3://<bucketName>
$ aws s3 ls
List S3 buckets.
CHEATSHEET
AWS S3
$ aws s3 ls s3://<bucketName>
$ aws s3 rb s3://<bucketName>
Sync objects.
Create a group
Delete a group.