CLI toolkit for RDS/Aurora PostgreSQL planning, parameter group presets, and Oracle-to-PostgreSQL readiness analysis.
Project description
📘 RDS Ops Kit
Automatisiertes Planning, Validation und Readiness-Checks für Amazon RDS / Aurora PostgreSQL und Oracle-→PostgreSQL-Migrationen.
RDS Ops Kit ist ein CLI-Toolkit für Engineers, die wiederkehrende RDS-Deployments, Parameter-Gruppen-Management und Migrations-Readiness nicht jedes Mal manuell bauen wollen. Es kombiniert:
Plan-Generator für RDS/Aurora-Deployments
Parameter-Group Presets + Diff/Export
Readiness-Analyse für Oracle-DDL
Preflight-Checks gegen AWS (READ-only)
Report-Generierung (HTML/JSON)
🚀 Features ✔️ Plan Generation
Erzeugt reproduzierbare JSON-Deploy-Pläne basierend auf einer einzelnen Konfigurationsdatei (ENV/YAML/JSON).
✔️ Plan Validation
Validiert Konfigurationen read-only gegen AWS (Parameter Groups, Engine-Versionen, Subnet Groups, Storage Optionen).
✔️ Parameter-Group Engine
Presets (PostgreSQL / Aurora PostgreSQL)
Diff zwischen Presets
Export nach AWS-kompatiblen Strukturen
✔️ Readiness Check (Oracle → PostgreSQL)
Analysiert Oracle-DDL und erzeugt eine Readiness-Bewertung inklusive HTML-Report.
📦 Installation Option A: Install via pip (lokale venv empfohlen) python -m venv .venv source .venv/bin/activate # Windows: ..venv\Scripts\Activate.ps1 pip install --upgrade pip pip install rds-ops-kit
Option B: Installation aus Source (für Entwicklung) git clone https://github.com/gcon-cli/rds_ops_kit cd rds_ops_kit python -m venv .venv source .venv/bin/activate pip install -e .
🧩 CLI Overview
Das Toolkit folgt einer klar strukturierten CLI-Architektur:
rds-ops-kit [GLOBAL-OPTIONS] [OPTIONS]
Globale Optionen Flag Beschreibung --profile AWS Profile --region AWS Region `--format table json --verbose, --quiet Logging --version CLI Version 🔧 Commands
- Parameter Groups Liste aller Presets rds-ops-kit pg list
Preset anzeigen rds-ops-kit pg show aurora14-default
Diff zwischen zwei Presets rds-ops-kit pg diff aurora14-default custom-prod
Export eines Presets (z. B. AWS-Format) rds-ops-kit pg export aws aurora14-default --out pg.json
- Deployment Planning
Plan aus Konfiguration generieren
rds-ops-kit plan generate
--config config/orders.env
--out plans/orders-plan.json
Plan validieren (READ-only AWS-Checks)
rds-ops-kit plan validate
--config config/orders.env
--plan plans/orders-plan.json
Bald verfügbar (0.5.x): rds-ops-kit deploy apply --plan plans/orders-plan.json
(echtes Provisioning)
- Readiness (Oracle → PostgreSQL) CLI-Check (übersichtlich, stdout) rds-ops-kit readiness check --source oracle/schema.sql
HTML-Report erzeugen
rds-ops-kit readiness report
--source oracle/schema.sql
--out reports/readiness.html
📁 Projektstruktur . ├── cli/ # Haupt-Implementierung ├── scripts/ # interne Utilities ├── templates/ # PG-Presets, Config-Templates ├── tests/ # Unit- und Integrationstests ├── docs/ # Dokumentation ├── examples/ # Beispiel-Pläne & Reports ├── plans/ # (ignored) runtime output ├── reports/ # (ignored) runtime output └── README.md
🧹 Git Hygiene
RDS Ops Kit versioniert nur Quellcode & Doku. Alle generierten Artefakte bleiben lokal.
Wichtige Regeln:
Nie committen: .venv/, venv/, plans/, reports/, *.html, *.log, plan.json
Beispieldateien: in examples/
Alles andere: über .gitignore geregelt
🛠 Entwicklungs-Setup
-
Repo klonen git clone https://github.com/gcon-cli/rds_ops_kit cd rds_ops_kit
-
venv + Editable-Install python -m venv .venv ..venv\Scripts\Activate.ps1 pip install -e .
-
Tests ausführen pytest -q
📅 Roadmap 0.3.x
Stabilisierung Plan-Generator
Validierungs-Engine erweitern
CLI-API vereinheitlichen
0.4.x
Oracle-DDL-Parser
Verbesserte Readiness-Analyse
Multi-Format Reports (JSON, HTML, Markdown)
0.5.x
Deploy-Engine (apply) inkl.
DB-Cluster
Parameter Groups
Subnet Groups
Tags / IAM / Storage
1.0
API-Freeze
Vollständige Semver-Stabilität
CI/CD Release-Pipeline
Plugin-System (optional)
🤝 Contribution
Pull Requests sind willkommen. Bitte folgende Regeln beachten:
Black + isort für Code-Formatierung
Tests (pytest) müssen bestehen
Für neue Features: Doku im docs/-Verzeichnis erweitern
CLI-Änderungen müssen backward-kompatibel beginnen (0.x)
📣 Support
Issues und Feature-Requests bitte über GitHub: https://github.com/gcon-cli/rds_ops_kit/issues
📝 Lizenz
MIT License – freie Nutzung, Anpassung und Weitergabe erlaubt.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rds_ops_kit-1.8.0.tar.gz.
File metadata
- Download URL: rds_ops_kit-1.8.0.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69d76b150b3587cd5ad32a589284374ee1776b4390d2a6a9d828b56130141d94
|
|
| MD5 |
142fef4b61053717cb7ab6c98aefd3f0
|
|
| BLAKE2b-256 |
f35085ed3dd1ad3b9daad3acc5fe8a405f0b1ca416a0fa1ec7a56d3557dc1771
|
File details
Details for the file rds_ops_kit-1.8.0-py3-none-any.whl.
File metadata
- Download URL: rds_ops_kit-1.8.0-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f36c83cbd8a3c00c2f5a8668a217892b738a3131420d546e364407bac444a9c
|
|
| MD5 |
a3d72f8b4a28852a6bd02431f9f23a2e
|
|
| BLAKE2b-256 |
47659d3d91247499fe9915b8d2f39fcbef228f72dfb7ea8d1f989f274560105f
|