Example
- Serverless + Python - Cheat Sheet May 16, 2019 In 'My Cheat Sheets' Delegating User Access Across AWS Accounts November 12, 2017 In 'AWS' Understanding IAM Users, Roles, Groups and Policies November 12, 2017 In 'AWS'.
- AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
- S3 CLI Commands. Command Option Description Usage Variables; ls: List all buckets. Route 53 Cheat Sheet; AWS Glue Cheat Sheet; How to Refresh a Materialized View.
S3 aws s3 ls s3://mybucket aws s3 rm s3://mybucket/folder -recursive aws s3 cp myfolder s3://mybucket/folder -recursive aws s3 sync myfolder s3://mybucket/folder -exclude.tmp ECS aws ecs create-cluster -cluster-name=NAME -generate-cli-skeleton aws ecs create-service Homebrew brew install awscli aws configure Configuration profiles. To run the s3 commands, you need to: AWS CLI installed, see Installing, updating, and uninstalling the AWS CLI for more information. AWS CLI configured, see Configuration basics for more information. The profile that you use must have permissions that allow the AWS operations performed by the examples.
Setup
Install AWS CLI
AWS CLI is an common CLI tool for managing the AWS resources. With this single tool we can manage all the aws resources
Bash one-liners
Cloudtrail - Logging and Auditing
http://docs.aws.amazon.com/cli/latest/reference/cloudtrail/ 5 Trails total, with support for resource level permissions
IAM
Users
https://blogs.aws.amazon.com/security/post/Tx15CIT22V4J8RP/How-to-rotate-access-keys-for-IAM-usershttp://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html Limits = 5000 users, 100 group, 250 roles, 2 access keys / user