AWS CheatSheet

Category Service / Command Description
Compute EC2 Virtual servers in the cloud
Compute aws ec2 describe-instances List EC2 instances
Compute aws ec2 start-instances --instance-ids i-0123456789 Start an EC2 instance
Storage S3 Object storage service
Storage aws s3 ls List all S3 buckets
Storage aws s3 cp file.txt s3://mybucket/ Upload file to S3
Security IAM Manage users and permissions
Security aws iam list-users List all IAM users
Security aws sts get-caller-identity Check current credentials
Networking VPC Virtual Private Cloud
Networking aws ec2 describe-vpcs List all VPCs
Serverless Lambda Run code without managing servers
Serverless aws lambda list-functions List Lambda functions
Database RDS Managed relational database service
Database aws rds describe-db-instances List RDS instances
DevOps CloudFormation Infrastructure as Code
DevOps aws cloudformation list-stacks List all stacks
Monitoring CloudWatch Monitoring and logging
Monitoring aws logs describe-log-groups List log groups
General aws configure Set up AWS CLI credentials
General aws --version Check AWS CLI version
General aws help CLI help manual
Back to blog

Leave a comment