Category: CLI

  • AWS RDS CLI

    AWS RDS CLI

    List all RDS Output:

  • AWS DynamoDB CLI

    AWS DynamoDB CLI

    AWS DynamoDB CLI Make sure your json file is UTF-8 without BOM. Make sure your json file is UTF-8 without BOM. Make sure your json file is UTF-8 without BOM. Find current region Run: Output: List all Dynamodb tables Run: Output: List local Dynamodb tables Run: Output: Describe one Dynamodb tables We had one preset…

  • AWS Cloud9 CLI

    AWS Cloud9 CLI

    AWS Cloud9 CLI Create a new Cloud9 in ap-east-1. Linux Update Run: Output: Update AWS CLI Check current AWS CLI version. It should be version 1.x Run: Output: Update AWS CLI Run: Output: Reboot to use the CLI version 2. Run: Output: Install Python SDK boto3 Run: Output: Setup/Check AKSK Setup AKSK Run: Output: Read…

  • AWS S3 CLI

    AWS S3 CLI

    AWS S3 CLI You can use the AWS CLI in Mac, Linux or Windows. Make sure you did setup the AKSK in your computer or use Cloud9 to do these tasks. CLI help Run: Find current region Run: Output: Create bucket Create bucket current region Run: Output: Create bucket in another region Run: Output: Remove…

  • AWS S3 find bucket owner

    Firstly, you need to find your Canonical ID. (https://www.teachonetofish.net/aws-iam-cli/) The canonical user ID is the Amazon S3–only concept. It is a 64-character obfuscated version of the account ID. Therefore you can’t get anything out of the canonical user ID because it’s almost certainly a one-way hash. Then, you can find the bucket ID to see…

  • AWS IAM CLI

    https://docs.aws.amazon.com/cli/latest/reference/iam/ AWS account identifiers There are 2 types of account identifiers. AWS account ID AWS account ID is a 12-digit number, such as 123456789012, that uniquely identifies an AWS account. Account IDs are not considered sensitive information. Many AWS resources include the account ID in their Amazon Resource Names (ARNs). The account ID portion distinguishes…