Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Repository files navigation

logo

AWS Scripts

A comprehensive CLI collection of helper scripts to manage, secure, and automate AWS resources.


🚀 Features Overview

aws-scripts provides a unified interface to streamline AWS operations:

  • Automation: Efficiently handle bulk tasks and resource management.
  • Security Audits: Perform automated security checks and compliance enforcement.
  • Backups: Simplified snapshot and restoration workflows across services.
  • Migrations: Automated transitions between resource configurations (e.g., GP2 to GP3).

🛠 Prerequisites & Installation

Prerequisites

  • Python 3.10+

Installation

The project includes an install.sh script to handle dependencies automatically using poetry and pipx.

./install.sh

💻 Global Usage

The CLI follows a standard syntax for all modules:

aws-scripts <module> <command> [OPTIONS]

Global configurations (such as AWS Profile and Region) are handled automatically by the AWSHelper utility. You can specify these via common flags:

aws-scripts s3 versioning --profile my-profile --region eu-central-1

📦 Modules Directory

Module Primary Capabilities
S3 Versioning, EventBridge, Inventory, PITR, Cross-region replication, Batch Ops, Multipart copy.
EC2 Snapshot & volume cleanup, IMDSv2 bulk updates, GP2 to GP3 migration.
DynamoDB CSV data imports, table-to-table data copying.
DocumentDB Bulk user creation, restoration from S3 backups.
CloudFront Distribution origin updates, TLS enforcement, maintenance mode, OAI security checks.
IAM Automated offboarding (keys, console, MFA, CodeCommit).
OpenSearch Snapshot lifecycle management (register S3 repo, trigger, restore, policies).
Route53 Export DNS zones to standard files.
SSM Bulk Parameter Store searching by prefix and value.
WAF Bulk WebACL assignments for CloudFront.
Backup Execute restore jobs from CSV lists.
ECR Force image replication across registries.
Security Manage and remove SSO user assignments.
Terraform (tfi) Automated imports (SG rules, Identity Store users/groups).

🤝 Contributing

How to Add a New Module

  1. Create a folder under the root directory.
  2. Implement main.py using the Typer library to define your CLI commands.
  3. Register the module in aws_scripts/__init__.py to integrate it into the main CLI entry point.

Authors (Epsilon Team)

About

Collection of useful scripts for work with AWS resources.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.