Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

🤖 Artificial Intelligence
☁️ Cloud and Infrastructure
💾 Data and Databases
💼 Professional Skills
🎯 Programming and Development
🔒 Security and Networking
📚 Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
© 2026 CheatGrid™. All rights reserved.
Privacy PolicyTerms of UseAboutContact

AWS CLI Cheat Sheet

AWS CLI Cheat Sheet

Back to Operating Systems and CLI
Updated 2026-04-28
Next Topic: Azure CLI Cheat Sheet

The AWS Command Line Interface (AWS CLI) is a unified command-line tool for managing Amazon Web Services from your terminal. Instead of clicking through multiple console pages, you can create, configure, and delete AWS resources using simple text commands that can be scripted, automated, and version-controlled. The CLI v2 — the current major version — supports over 200 AWS services and provides both high-level convenience commands (like aws s3 sync and aws ddb put) and low-level API access for precise control. CLI v1 enters maintenance mode in July 2026; migrating to v2 is strongly recommended.

What This Cheat Sheet Covers

This topic spans 32 focused tables and 261 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Installation and SetupTable 2: Authentication and CredentialsTable 3: Global Options and FormattingTable 4: Input and Output ControlTable 5: S3 High-Level CommandsTable 6: S3 API-Level CommandsTable 7: EC2 Instance ManagementTable 8: EC2 Networking and SecurityTable 9: IAM User and Group ManagementTable 10: IAM Roles and PoliciesTable 11: Lambda Function ManagementTable 12: DynamoDB OperationsTable 13: RDS Database ManagementTable 14: CloudFormation Stack ManagementTable 15: CloudWatch MonitoringTable 16: VPC and NetworkingTable 17: Route 53 DNS ManagementTable 18: Elastic Load BalancingTable 19: ECS Container ManagementTable 20: ECR Container RegistryTable 21: EKS Kubernetes ManagementTable 22: CloudFront CDN ManagementTable 23: SNS and SQS MessagingTable 24: Secrets Manager and Parameter StoreTable 25: KMS Encryption Key ManagementTable 26: Step FunctionsTable 27: EventBridgeTable 28: CloudTrail AuditingTable 29: Auto ScalingTable 30: Amazon Bedrock AI CommandsTable 31: Wait CommandsTable 32: Advanced Techniques

Table 1: Installation and Setup

MethodExampleDescription
Configure credentials
aws configure
• Interactive setup for access key ID, secret access key, default region, and output format
• stores in ~/.aws/credentials and ~/.aws/config.
Verify installation
aws --version
• Displays the installed version (e.g., aws-cli/2.34.0)
• confirms installation success.
Configure named profile
aws configure --profile dev
• Creates a separate profile for different accounts or roles
• use --profile dev in commands to switch context.
Configure SSO profile
aws configure sso
• Sets up IAM Identity Center authentication
• modern replacement for long-term access keys in multi-account environments.
List configured profiles
aws configure list-profiles
• Prints all named profile names from config files
• v2-only command.
Import CSV credentials
aws configure import --csv file://credentials.csv
• Imports credentials from a console-generated CSV file
• creates named profiles matching IAM user names
• v2-only.

More in Operating Systems and CLI

  • Azure CLI Cheat Sheet
  • Command Line Fundamentals Cheat Sheet
  • GCP CLI Cheat Sheet
  • Linux Package Management Cheat Sheet
  • ripgrep Code Search Cheat Sheet
  • systemd and Linux Service Management Cheat Sheet
View all 51 topics in Operating Systems and CLI