Catalog / AWS CLI Cheatsheet
AWS CLI Cheatsheet
A comprehensive cheatsheet covering essential AWS CLI commands, configuration, and usage examples for managing AWS services.
Core Commands & Configuration
Basic AWS CLI Usage
Example: |
|
Example:
|
|
|
Configuration Profiles
Creating profiles |
|
Using profiles |
|
Setting environment variables |
|
Output Options
|
Specify the output format: Example: |
|
Filter output using JMESPath expressions. Example: |
EC2 Management
Instance Operations
|
|
|
|
|
Security Groups
|
Describe security groups. |
|
Create a new security group. |
|
Add ingress rule to a security group. |
|
Remove ingress rule from a security group. |
Key Pairs
|
Describe key pairs. |
|
Create a new key pair. |
|
Delete a key pair. |
S3 Bucket Management
Basic S3 Operations
|
|
|
|
|
Recursive Operations & Sync
Recursive remove |
|
Recursive copy |
|
Sync local folder with S3 bucket |
|
Bucket Management
|
Create a new S3 bucket. |
|
Delete an empty S3 bucket. |
|
Set bucket ACL. |
ECS & Elastic Beanstalk
ECS Cluster Management
|
|
|
ECS Service Management
|
Create ECS service. Requires cluster, task definition, etc. |
|
Update ECS service. |
|
Delete ECS service. |
Elastic Beanstalk Configuration
Configuration files:
|
|