AWS Cheat Sheet: Essential Commands for AWS Services


In today’s rapidly evolving technology landscape, Amazon Web Services (AWS) has emerged as a pivotal player, offering a vast array of cloud computing services that cater to diverse needs. This guide provides a succinct overview of some of the most crucial AWS services, serving as a quick reference for developers and IT professionals.

What is AWS?

Amazon Web Services is a comprehensive cloud computing platform provided by Amazon. It offers a wide range of services including computing power, database storage, and content delivery, among others. AWS is renowned for its flexibility, scalability, and cost-effectiveness, making it a go-to choice for businesses of all sizes.
Not: Python Learning Roadmap in 30 Days for here

  1. EC2 (Elastic Compute Cloud)
    • Start an instance: aws ec2 start-instances --instance-ids i-1234567890abcdef0
    • Stop an instance: aws ec2 stop-instances --instance-ids i-1234567890abcdef0
    • Terminate an instance: aws ec2 terminate-instances --instance-ids i-1234567890abcdef0
  2. S3 (Simple Storage Service)
    • Create a bucket: aws s3 mb s3://my-bucket
    • List buckets: aws s3 ls
    • Upload a file: aws s3 cp my-file.txt s3://my-bucket
    • Download a file: aws s3 cp s3://my-bucket/my-file.txt ./
  3. IAM (Identity and Access Management)
    • List users: aws iam list-users
    • Create a user: aws iam create-user --user-name my-new-user
    • Attach a policy to a user: aws iam attach-user-policy --policy-arn arn:aws:iam::aws:policy/AdministratorAccess --user-name my-new-user
  4. RDS (Relational Database Service)
    • Create a database: aws rds create-db-instance --db-instance-identifier mydbinstance --allocated-storage 20 --db-instance-class db.m1.small --engine mysql --master-username masteraws --master-user-password masterpassword
    • List databases: aws rds describe-db-instances
    • Delete a database: aws rds delete-db-instance --db-instance-identifier mydbinstance
  5. Lambda
    • Create a function: aws lambda create-function --function-name my-function --zip-file fileb:// --handler index.handler --runtime nodejs12.x --role arn:aws:iam::123456789012:role/lambda-role
    • Invoke a function: aws lambda invoke --function-name my-function outputfile.txt
    • List functions: aws lambda list-functions
  6. CloudFormation
    • Create a stack: aws cloudformation create-stack --stack-name my-stack --template-body file://mytemplate.json
    • Describe stacks: aws cloudformation describe-stacks
    • Delete a stack: aws cloudformation delete-stack --stack-name my-stack
  7. DynamoDB
    • Create a table: aws dynamodb create-table --table-name my-table --attribute-definitions AttributeName=id,AttributeType=S --key-schema AttributeName=id,KeyType=HASH --provisioned-throughput ReadCapacityUnits=1,WriteCapacityUnits=1
    • List tables: aws dynamodb list-tables
    • Delete a table: aws dynamodb delete-table --table-name my-table
aws cheat sheet
Amazon Web Services

🚀 AWS Cheat Sheet: Essential Commands for AWS Services

  • 🔍 Looking for a thorough guide to master AWS? Dive into the extensive AWS Cheat Sheet I’ve compiled on GitHub! It’s a treasure trove of information for both novices and seasoned developers. This cheat sheet covers everything from basic commands to advanced Aws features, ensuring you have a quick yet detailed reference at your fingertips.
  • 🔗 Access the full cheat sheet here: AWS Cheat Sheet: Essential Commands for AWS Services
  • 💡 Whether you’re starting out or looking to refine your AWS skills, this resource is tailored to boost your productivity and understanding of containerization. Don’t miss out on this valuable tool for modern software development!


This cheat sheet encapsulates the essence of some of the most commonly used services in AWS. Whether you’re managing cloud infrastructure, handling databases, or deploying applications, these commands offer a quick way to navigate the complexities of AWS. Embracing these tools can significantly enhance efficiency and productivity in cloud computing endeavors.

5 thoughts on “AWS Cheat Sheet: Essential Commands for AWS Services”

Leave a Comment

Join our Mailing list!

Get all latest news, exclusive deals and academy updates.