This repository contains a collection of awesome tools and scripts for Developers and Engineers seeking to automate routine tasks on AWS Cloud.
This repository contains scripts for AWS Developers, DevOps Engineers, and Cloud Architects. Tools focus on task automation and infrastructure management.
[!TIP]
AWS Done Right: Ship Faster, More Securely, at Lower Cost! Our AWS CDK Landing Zone Service helps B2B startups & enterprises achieve SOC 2 compliance 90% faster, reclaim 30% of developer capacity for product innovation while eliminating six-figure Cloud Engineering costs.Discover how we deliver 10x AWS infrastructure value while cutting costs.
☁️ Learn more how we help businesses succeed on AWS Cloud...
AWS promises simplicity but delivers complexity. Businesses struggle with security risks and compliance requirements that divert developers from core product work.
Without AWS expertise, you face vulnerabilities, technical debt, and market delays while competitors race ahead.
Traditional consultancies worsen this by prioritizing billable hours over outcomes.
We take the opposite approach, focusing exclusively on business outcomes by eliminating AWS complexity, accelerating your developers, and securing your infrastructure through:
Deploying a Secure Landing Zone
- Multi-account architecture with strict security boundaries
- 100% score on CIS AWS Foundation Benchmark
- 96% rating on AWS foundational security best practices
- Manage user access securely on AWS via Single Sign-On (SSO)
- Full AWS CDK implementation (Infrastructure as Code)
- Multi-region deployments supported
- Cross-account monitoring and security alerts
- View our Roadmap for all implemented and upcoming features
Upskilling and accelerating your developers
- They get access to our production-ready, security-hardened AWS CDK components
- They receive AWS best practices guidance to prevent technical debt
Providing support and maintenance
- Landing Zone gets updates and security patches
- Priority Slack/Teams support for infrastructure challenges
- Quarterly security and cost optimization assessments to stay compliant and reduce AWS costs
What This Means For Your Business
- 30% Lower TCO: Cut Total Cost by 40% through right-sized resources while eliminating the $150K+ cost of a specialized AWS hire.
- Accelerate Development: Redirect 30% of engineering time from infrastructure to revenue-generating features with pre-built, compliant CDK components.
- Compliance-Ready Infrastructure: Meet security requirements from day one with architecture that speeds up audit preparation by 90% for SOC 2, HIPAA, and other security frameworks.
All of this is included in a fixed monthly subscription. No lock-in, no large upfront costs, just predictable monthly pricing.
Book a free call to see how we deliver 10x AWS infrastructure value at a fraction of a Cloud Engineer’s cost.
Navigate to the relevant AWS service section. Click on the script name in the table below to open the content and usage instructions.
This collection includes Python and Bash scripts for managing various AWS services. The scripts are organized by service for easy navigation.
Category | Script Name | Description |
---|---|---|
AppStream | appstream_delete_image.py | Unshares AppStream image, then deletes it |
CloudFormation | cfn_delete_stackset.py | Deletes stackset and associated instances |
CloudWatch | cw_count_log_groups.py | Counts the total number of CloudWatch log groups in an AWS account |
CloudWatch | cw_delete_log_groups.py | Deletes log groups based on age |
CloudWatch | cw_fetch_log_groups_with_creation_date.py | Fetches log groups with creation date |
CloudWatch | cw_set_retention_policy.py | Sets retention policy for log groups |
CodePipeline | cp_slack_notifications.py | Enables notifications on Slack |
EC2 | ec2_delete_unattached_volumes.py | Deletes unattached EBS volumes |
EC2 | ec2_delete_orphaned_snapshots.py | Deletes snapshots that are not associated with any volumes |
EC2 | ec2_delete_ssh_access_security_groups.py | Deletes SSH (port 22) inbound rules from all security groups |
EC2 | ec2_delete_unused_amis.py | Deletes unused AMIs (Amazon Machine Images) in an AWS account |
EC2 | ec2_delete_unused_eips.py | Deletes unused Elastic IPs |
EC2 | ec2_delete_unused_keypairs_all_regions.py | Deletes unused EC2 keypairs in all regions |
EC2 | ec2_delete_unused_keypairs_single_region.py | Deletes unused EC2 keypairs in a single region |
EC2 | ec2_delete_tagged_security_groups.py | Deletes tagged security groups |
EC2 | ec2_find_unattached_volumes.py | Finds unattached EBS volumes |
EC2 | ec2_asg_ssh.sh | SSH wrapper for Auto Scaling group instances |
EC2 | ec2_list_available_eips.sh | Lists unassociated Elastic IPs |
EC2 | ec2_request_spot_instances.sh | Requests spot instances |
EC2 | ec2_resize_volume.sh | Resizes EBS volume |
ECS | ecs_delete_inactive_task_definitions.py | Deletes inactive ECS task definitions |
ECS | ecs_publish_ecr_image.sh | Publishes Docker image to ECR |
EFS | efs_delete_tagged_filesystems.py | Deletes tagged EFS and mount targets |
IAM | iam_delete_user.py | Deletes IAM users |
IAM | iam_identity_center_create_users.py | Create IAM Identity Center (SSO) users |
IAM | iam_rotate_access_keys.py | Rotates IAM user keys |
IAM | iam_assume_role.sh | Assumes IAM role |
Organizations | org_assign_sso_access_by_ou.py | Assigns SSO access for accounts in an OU |
Organizations | org_import_users_to_sso.py | Imports users/groups to AWS SSO |
Organizations | org_list_accounts_by_ou.py | Lists accounts in an OU |
Organizations | org_list_sso_assignments.py | Lists SSO assignments for accounts |
Organizations | org_remove_sso_access_by_ou.py | Removes SSO access for accounts in an OU |
S3 | s3_create_tar.py | Creates tar files |
S3 | s3_delete_empty_buckets.py | Deletes empty S3 buckets |
S3 | s3_list_old_files.py | Lists old files in S3 |
S3 | s3_search_bucket_and_delete.py | Deletes S3 bucket and its contents |
S3 | s3_search_bucket_and_download.py | Finds S3 bucket and download all its content |
S3 | s3_search_file.py | Searches for files in S3 bucket |
S3 | s3_search_key.py | Searches for a key in S3 bucket |
S3 | s3_search_multiple_keys.py | Searches for multiple keys in S3 bucket |
S3 | s3_search_subdirectory.py | Searches subdirectories in S3 |
SSM | ssm_delete_parameters.sh | Deletes SSM parameters |
SSM | ssm_import_parameters.sh | Imports SSM parameters |
General | delete_unused_security_groups.py | Deletes unused security groups |
General | aws_cli_aliases.sh | AWS CLI command aliases |
General | tag_secrets_manager_secrets.py | Tags Secrets Manager secrets |
General | set-alternate-contact.py | Sets alternate contacts for all accounts in an organization |
General | multi_account_command_executor.py | Runs commands across multiple AWS accounts |
This section lists tools that enhance AWS usage across console, CLI, and APIs.
This project exists thanks to all the people who contribute.
See how you can contribute to this repository.