aws-tools icon indicating copy to clipboard operation
aws-tools copied to clipboard

Some of my tools and sample code for building with AWS.

aws-tools

githubactions githubactions codecov CodeQL SecretsScan

This repository includes some tools and sample code I created for building with AWS.
All notable changes to this project will be documented in CHANGELOG.

Jump to:

  • Built with
  • To run the scripts
    • AWS Login with saml2aws-multi
    • For running Python scripts
    • For running CLI tools and shell scripts
  • My notes
  • Quick links for news, blogs and resources

Built with

  • Python, Shell, PowerShell, JavaScript, TypeScript, Go, Docker
  • AWS CDK v2, AWS SAM
  • cfn-lint is used for to validating CloudFormation templates.
  • CodeQL is enabled in this repository.
  • Dependabot is enabled for auto dependency updates.
  • Gitleaks and TruffleHog are enabled in this GitHub Actions workflow for detecting and preventing hardcoded secrets.
  • Snyk is enabled in this GitHub Actions workflow for vulnerability scanning and auto pull-request

To run the scripts

AWS login

  • saml2aws-multi is my version of AWS login tool providing an easy-to-use command line interface to support login and retrieve AWS temporary credentials for multiple roles of different accounts with saml2aws.

For running Python scripts

  • Most of the Python scripts support processing multiple AWS accounts (via AWS profiles in ~/.aws/credentials) and AWS regions using AwsApiHelper in the common helper.aws.AwsApiHelper module.
  • Tested with Python 3.10, 3.11, 3.12
  • To start, install dependencies by running:
    pip3 install -r requirements.txt
    
  • Set aliases (optional):
    source .aliases
    

For running CLI tools and shell scripts

  • To start, install dependencies by running:
    pip3 install -r requirements-cli.txt
    

My notes

  • My notes of each service is in its folder respectively.
  • Some specific topics (no folder)
    • App Mesh
    • Closing Account
    • ECS vs. EKS
    • Encryption
    • Mutual Transport Layer Security (mutual TLS or mTLS) authentication
    • Networking
    • Other useful tools
    • Security
    • Serverless
    • Service Limits
    • Visualisation

Quick links for news, blogs and resources

AWS design + build tools

Other AWS related tools

Best Practices Guides

Data Sources