Loading tool…
cheatsheet
aws configureConfigure AWS credentials and default region
aws sts get-caller-identityVerify current IAM user/role
aws s3 lsList all S3 buckets
aws s3 mb s3://my-unique-bucket-nameCreate an S3 bucket
aws s3 cp local.txt s3://my-bucket/Upload a file to S3
aws s3 sync local_dir s3://my-bucket/remote_dirSync local directory with S3 bucket
aws s3 ls s3://my-bucket/List objects in an S3 bucket
aws s3 rm s3://my-bucket/file.txtDelete an object from S3
aws s3 rb s3://my-empty-bucket-nameRemove an empty S3 bucket
aws ec2 describe-instancesDescribe all EC2 instances
aws ec2 run-instances --image-id ami-xxxx --instance-type t2.micro --count 1Launch a new EC2 instance
aws ec2 stop-instances --instance-ids i-xxxxStop an EC2 instance
aws ec2 start-instances --instance-ids i-xxxxStart an EC2 instance
aws ec2 terminate-instances --instance-ids i-xxxxTerminate an EC2 instance
aws iam list-usersList all IAM users
aws iam create-user --user-name myuserCreate a new IAM user
aws iam attach-user-policy --user-name myuser --policy-arn arn:aws:iam::aws:policy/AdministratorAccessAttach a managed policy to a user
aws logs describe-log-groupsList all CloudWatch log groups
aws logs get-log-events --log-group-name my-log-group --log-stream-name my-log-streamRetrieve log events from a log stream
Get new cheatsheets & tools in your inbox
No spam — just new releases, occasionally.