aws <command> <subcommand> [options] [parameters]
- General command structure.
Example:
aws s3 ls s3://mybucket
A comprehensive cheatsheet covering essential AWS CLI commands, configuration, and usage examples for managing AWS services.
Example: |
|
Example:
|
|
|
Creating profiles |
|
Using profiles |
|
Setting environment variables |
|
|
Specify the output format: Example: |
|
Filter output using JMESPath expressions. Example: |
|
|
|
|
|
|
Describe security groups. |
|
Create a new security group. |
|
Add ingress rule to a security group. |
|
Remove ingress rule from a security group. |
|
Describe key pairs. |
|
Create a new key pair. |
|
Delete a key pair. |
|
|
|
|
|
Recursive remove |
|
Recursive copy |
|
Sync local folder with S3 bucket |
|
|
Create a new S3 bucket. |
|
Delete an empty S3 bucket. |
|
Set bucket ACL. |
|
|
|
|
Create ECS service. Requires cluster, task definition, etc. |
|
Update ECS service. |
|
Delete ECS service. |
Configuration files:
|
|