runbooks 1.1.4__py3-none-any.whl → 1.1.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- runbooks/__init__.py +31 -2
- runbooks/__init___optimized.py +18 -4
- runbooks/_platform/__init__.py +1 -5
- runbooks/_platform/core/runbooks_wrapper.py +141 -138
- runbooks/aws2/accuracy_validator.py +812 -0
- runbooks/base.py +7 -0
- runbooks/cfat/assessment/compliance.py +1 -1
- runbooks/cfat/assessment/runner.py +1 -0
- runbooks/cfat/cloud_foundations_assessment.py +227 -239
- runbooks/cli/__init__.py +1 -1
- runbooks/cli/commands/cfat.py +64 -23
- runbooks/cli/commands/finops.py +1005 -54
- runbooks/cli/commands/inventory.py +135 -91
- runbooks/cli/commands/operate.py +9 -36
- runbooks/cli/commands/security.py +42 -18
- runbooks/cli/commands/validation.py +432 -18
- runbooks/cli/commands/vpc.py +81 -17
- runbooks/cli/registry.py +22 -10
- runbooks/cloudops/__init__.py +20 -27
- runbooks/cloudops/base.py +96 -107
- runbooks/cloudops/cost_optimizer.py +544 -542
- runbooks/cloudops/infrastructure_optimizer.py +5 -4
- runbooks/cloudops/interfaces.py +224 -225
- runbooks/cloudops/lifecycle_manager.py +5 -4
- runbooks/cloudops/mcp_cost_validation.py +252 -235
- runbooks/cloudops/models.py +78 -53
- runbooks/cloudops/monitoring_automation.py +5 -4
- runbooks/cloudops/notebook_framework.py +177 -213
- runbooks/cloudops/security_enforcer.py +125 -159
- runbooks/common/accuracy_validator.py +17 -12
- runbooks/common/aws_pricing.py +349 -326
- runbooks/common/aws_pricing_api.py +211 -212
- runbooks/common/aws_profile_manager.py +40 -36
- runbooks/common/aws_utils.py +74 -79
- runbooks/common/business_logic.py +126 -104
- runbooks/common/cli_decorators.py +36 -60
- runbooks/common/comprehensive_cost_explorer_integration.py +455 -463
- runbooks/common/cross_account_manager.py +197 -204
- runbooks/common/date_utils.py +27 -39
- runbooks/common/decorators.py +29 -19
- runbooks/common/dry_run_examples.py +173 -208
- runbooks/common/dry_run_framework.py +157 -155
- runbooks/common/enhanced_exception_handler.py +15 -4
- runbooks/common/enhanced_logging_example.py +50 -64
- runbooks/common/enhanced_logging_integration_example.py +65 -37
- runbooks/common/env_utils.py +16 -16
- runbooks/common/error_handling.py +40 -38
- runbooks/common/lazy_loader.py +41 -23
- runbooks/common/logging_integration_helper.py +79 -86
- runbooks/common/mcp_cost_explorer_integration.py +476 -493
- runbooks/common/mcp_integration.py +99 -79
- runbooks/common/memory_optimization.py +140 -118
- runbooks/common/module_cli_base.py +37 -58
- runbooks/common/organizations_client.py +175 -193
- runbooks/common/patterns.py +23 -25
- runbooks/common/performance_monitoring.py +67 -71
- runbooks/common/performance_optimization_engine.py +283 -274
- runbooks/common/profile_utils.py +111 -37
- runbooks/common/rich_utils.py +315 -141
- runbooks/common/sre_performance_suite.py +177 -186
- runbooks/enterprise/__init__.py +1 -1
- runbooks/enterprise/logging.py +144 -106
- runbooks/enterprise/security.py +187 -204
- runbooks/enterprise/validation.py +43 -56
- runbooks/finops/__init__.py +26 -30
- runbooks/finops/account_resolver.py +1 -1
- runbooks/finops/advanced_optimization_engine.py +980 -0
- runbooks/finops/automation_core.py +268 -231
- runbooks/finops/business_case_config.py +184 -179
- runbooks/finops/cli.py +660 -139
- runbooks/finops/commvault_ec2_analysis.py +157 -164
- runbooks/finops/compute_cost_optimizer.py +336 -320
- runbooks/finops/config.py +20 -20
- runbooks/finops/cost_optimizer.py +484 -618
- runbooks/finops/cost_processor.py +332 -214
- runbooks/finops/dashboard_runner.py +1006 -172
- runbooks/finops/ebs_cost_optimizer.py +991 -657
- runbooks/finops/elastic_ip_optimizer.py +317 -257
- runbooks/finops/enhanced_mcp_integration.py +340 -0
- runbooks/finops/enhanced_progress.py +32 -29
- runbooks/finops/enhanced_trend_visualization.py +3 -2
- runbooks/finops/enterprise_wrappers.py +223 -285
- runbooks/finops/executive_export.py +203 -160
- runbooks/finops/helpers.py +130 -288
- runbooks/finops/iam_guidance.py +1 -1
- runbooks/finops/infrastructure/__init__.py +80 -0
- runbooks/finops/infrastructure/commands.py +506 -0
- runbooks/finops/infrastructure/load_balancer_optimizer.py +866 -0
- runbooks/finops/infrastructure/vpc_endpoint_optimizer.py +832 -0
- runbooks/finops/markdown_exporter.py +337 -174
- runbooks/finops/mcp_validator.py +1952 -0
- runbooks/finops/nat_gateway_optimizer.py +1512 -481
- runbooks/finops/network_cost_optimizer.py +657 -587
- runbooks/finops/notebook_utils.py +226 -188
- runbooks/finops/optimization_engine.py +1136 -0
- runbooks/finops/optimizer.py +19 -23
- runbooks/finops/rds_snapshot_optimizer.py +367 -411
- runbooks/finops/reservation_optimizer.py +427 -363
- runbooks/finops/scenario_cli_integration.py +64 -65
- runbooks/finops/scenarios.py +1277 -438
- runbooks/finops/schemas.py +218 -182
- runbooks/finops/snapshot_manager.py +2289 -0
- runbooks/finops/types.py +3 -3
- runbooks/finops/validation_framework.py +259 -265
- runbooks/finops/vpc_cleanup_exporter.py +189 -144
- runbooks/finops/vpc_cleanup_optimizer.py +591 -573
- runbooks/finops/workspaces_analyzer.py +171 -182
- runbooks/integration/__init__.py +89 -0
- runbooks/integration/mcp_integration.py +1920 -0
- runbooks/inventory/CLAUDE.md +816 -0
- runbooks/inventory/__init__.py +2 -2
- runbooks/inventory/aws_decorators.py +2 -3
- runbooks/inventory/check_cloudtrail_compliance.py +2 -4
- runbooks/inventory/check_controltower_readiness.py +152 -151
- runbooks/inventory/check_landingzone_readiness.py +85 -84
- runbooks/inventory/cloud_foundations_integration.py +144 -149
- runbooks/inventory/collectors/aws_comprehensive.py +1 -1
- runbooks/inventory/collectors/aws_networking.py +109 -99
- runbooks/inventory/collectors/base.py +4 -0
- runbooks/inventory/core/collector.py +495 -313
- runbooks/inventory/core/formatter.py +11 -0
- runbooks/inventory/draw_org_structure.py +8 -9
- runbooks/inventory/drift_detection_cli.py +69 -96
- runbooks/inventory/ec2_vpc_utils.py +2 -2
- runbooks/inventory/find_cfn_drift_detection.py +5 -7
- runbooks/inventory/find_cfn_orphaned_stacks.py +7 -9
- runbooks/inventory/find_cfn_stackset_drift.py +5 -6
- runbooks/inventory/find_ec2_security_groups.py +48 -42
- runbooks/inventory/find_landingzone_versions.py +4 -6
- runbooks/inventory/find_vpc_flow_logs.py +7 -9
- runbooks/inventory/inventory_mcp_cli.py +48 -46
- runbooks/inventory/inventory_modules.py +103 -91
- runbooks/inventory/list_cfn_stacks.py +9 -10
- runbooks/inventory/list_cfn_stackset_operation_results.py +1 -3
- runbooks/inventory/list_cfn_stackset_operations.py +79 -57
- runbooks/inventory/list_cfn_stacksets.py +8 -10
- runbooks/inventory/list_config_recorders_delivery_channels.py +49 -39
- runbooks/inventory/list_ds_directories.py +65 -53
- runbooks/inventory/list_ec2_availability_zones.py +2 -4
- runbooks/inventory/list_ec2_ebs_volumes.py +32 -35
- runbooks/inventory/list_ec2_instances.py +23 -28
- runbooks/inventory/list_ecs_clusters_and_tasks.py +26 -34
- runbooks/inventory/list_elbs_load_balancers.py +22 -20
- runbooks/inventory/list_enis_network_interfaces.py +26 -33
- runbooks/inventory/list_guardduty_detectors.py +2 -4
- runbooks/inventory/list_iam_policies.py +2 -4
- runbooks/inventory/list_iam_roles.py +5 -7
- runbooks/inventory/list_iam_saml_providers.py +4 -6
- runbooks/inventory/list_lambda_functions.py +38 -38
- runbooks/inventory/list_org_accounts.py +6 -8
- runbooks/inventory/list_org_accounts_users.py +55 -44
- runbooks/inventory/list_rds_db_instances.py +31 -33
- runbooks/inventory/list_rds_snapshots_aggregator.py +192 -208
- runbooks/inventory/list_route53_hosted_zones.py +3 -5
- runbooks/inventory/list_servicecatalog_provisioned_products.py +37 -41
- runbooks/inventory/list_sns_topics.py +2 -4
- runbooks/inventory/list_ssm_parameters.py +4 -7
- runbooks/inventory/list_vpc_subnets.py +2 -4
- runbooks/inventory/list_vpcs.py +7 -10
- runbooks/inventory/mcp_inventory_validator.py +554 -468
- runbooks/inventory/mcp_vpc_validator.py +359 -442
- runbooks/inventory/organizations_discovery.py +63 -55
- runbooks/inventory/recover_cfn_stack_ids.py +7 -8
- runbooks/inventory/requirements.txt +0 -1
- runbooks/inventory/rich_inventory_display.py +35 -34
- runbooks/inventory/run_on_multi_accounts.py +3 -5
- runbooks/inventory/unified_validation_engine.py +281 -253
- runbooks/inventory/verify_ec2_security_groups.py +1 -1
- runbooks/inventory/vpc_analyzer.py +735 -697
- runbooks/inventory/vpc_architecture_validator.py +293 -348
- runbooks/inventory/vpc_dependency_analyzer.py +384 -380
- runbooks/inventory/vpc_flow_analyzer.py +1 -1
- runbooks/main.py +49 -34
- runbooks/main_final.py +91 -60
- runbooks/main_minimal.py +22 -10
- runbooks/main_optimized.py +131 -100
- runbooks/main_ultra_minimal.py +7 -2
- runbooks/mcp/__init__.py +36 -0
- runbooks/mcp/integration.py +679 -0
- runbooks/monitoring/performance_monitor.py +9 -4
- runbooks/operate/dynamodb_operations.py +3 -1
- runbooks/operate/ec2_operations.py +145 -137
- runbooks/operate/iam_operations.py +146 -152
- runbooks/operate/networking_cost_heatmap.py +29 -8
- runbooks/operate/rds_operations.py +223 -254
- runbooks/operate/s3_operations.py +107 -118
- runbooks/operate/vpc_operations.py +646 -616
- runbooks/remediation/base.py +1 -1
- runbooks/remediation/commons.py +10 -7
- runbooks/remediation/commvault_ec2_analysis.py +70 -66
- runbooks/remediation/ec2_unattached_ebs_volumes.py +1 -0
- runbooks/remediation/multi_account.py +24 -21
- runbooks/remediation/rds_snapshot_list.py +86 -60
- runbooks/remediation/remediation_cli.py +92 -146
- runbooks/remediation/universal_account_discovery.py +83 -79
- runbooks/remediation/workspaces_list.py +46 -41
- runbooks/security/__init__.py +19 -0
- runbooks/security/assessment_runner.py +1150 -0
- runbooks/security/baseline_checker.py +812 -0
- runbooks/security/cloudops_automation_security_validator.py +509 -535
- runbooks/security/compliance_automation_engine.py +17 -17
- runbooks/security/config/__init__.py +2 -2
- runbooks/security/config/compliance_config.py +50 -50
- runbooks/security/config_template_generator.py +63 -76
- runbooks/security/enterprise_security_framework.py +1 -1
- runbooks/security/executive_security_dashboard.py +519 -508
- runbooks/security/multi_account_security_controls.py +959 -1210
- runbooks/security/real_time_security_monitor.py +422 -444
- runbooks/security/security_baseline_tester.py +1 -1
- runbooks/security/security_cli.py +143 -112
- runbooks/security/test_2way_validation.py +439 -0
- runbooks/security/two_way_validation_framework.py +852 -0
- runbooks/sre/production_monitoring_framework.py +167 -177
- runbooks/tdd/__init__.py +15 -0
- runbooks/tdd/cli.py +1071 -0
- runbooks/utils/__init__.py +14 -17
- runbooks/utils/logger.py +7 -2
- runbooks/utils/version_validator.py +50 -47
- runbooks/validation/__init__.py +6 -6
- runbooks/validation/cli.py +9 -3
- runbooks/validation/comprehensive_2way_validator.py +745 -704
- runbooks/validation/mcp_validator.py +906 -228
- runbooks/validation/terraform_citations_validator.py +104 -115
- runbooks/validation/terraform_drift_detector.py +461 -454
- runbooks/vpc/README.md +617 -0
- runbooks/vpc/__init__.py +8 -1
- runbooks/vpc/analyzer.py +577 -0
- runbooks/vpc/cleanup_wrapper.py +476 -413
- runbooks/vpc/cli_cloudtrail_commands.py +339 -0
- runbooks/vpc/cli_mcp_validation_commands.py +480 -0
- runbooks/vpc/cloudtrail_audit_integration.py +717 -0
- runbooks/vpc/config.py +92 -97
- runbooks/vpc/cost_engine.py +411 -148
- runbooks/vpc/cost_explorer_integration.py +553 -0
- runbooks/vpc/cross_account_session.py +101 -106
- runbooks/vpc/enhanced_mcp_validation.py +917 -0
- runbooks/vpc/eni_gate_validator.py +961 -0
- runbooks/vpc/heatmap_engine.py +185 -160
- runbooks/vpc/mcp_no_eni_validator.py +680 -639
- runbooks/vpc/nat_gateway_optimizer.py +358 -0
- runbooks/vpc/networking_wrapper.py +15 -8
- runbooks/vpc/pdca_remediation_planner.py +528 -0
- runbooks/vpc/performance_optimized_analyzer.py +219 -231
- runbooks/vpc/runbooks_adapter.py +1167 -241
- runbooks/vpc/tdd_red_phase_stubs.py +601 -0
- runbooks/vpc/test_data_loader.py +358 -0
- runbooks/vpc/tests/conftest.py +314 -4
- runbooks/vpc/tests/test_cleanup_framework.py +1022 -0
- runbooks/vpc/tests/test_cost_engine.py +0 -2
- runbooks/vpc/topology_generator.py +326 -0
- runbooks/vpc/unified_scenarios.py +1297 -1124
- runbooks/vpc/vpc_cleanup_integration.py +1943 -1115
- runbooks-1.1.6.dist-info/METADATA +327 -0
- runbooks-1.1.6.dist-info/RECORD +489 -0
- runbooks/finops/README.md +0 -414
- runbooks/finops/accuracy_cross_validator.py +0 -647
- runbooks/finops/business_cases.py +0 -950
- runbooks/finops/dashboard_router.py +0 -922
- runbooks/finops/ebs_optimizer.py +0 -973
- runbooks/finops/embedded_mcp_validator.py +0 -1629
- runbooks/finops/enhanced_dashboard_runner.py +0 -527
- runbooks/finops/finops_dashboard.py +0 -584
- runbooks/finops/finops_scenarios.py +0 -1218
- runbooks/finops/legacy_migration.py +0 -730
- runbooks/finops/multi_dashboard.py +0 -1519
- runbooks/finops/single_dashboard.py +0 -1113
- runbooks/finops/unlimited_scenarios.py +0 -393
- runbooks-1.1.4.dist-info/METADATA +0 -800
- runbooks-1.1.4.dist-info/RECORD +0 -468
- {runbooks-1.1.4.dist-info → runbooks-1.1.6.dist-info}/WHEEL +0 -0
- {runbooks-1.1.4.dist-info → runbooks-1.1.6.dist-info}/entry_points.txt +0 -0
- {runbooks-1.1.4.dist-info → runbooks-1.1.6.dist-info}/licenses/LICENSE +0 -0
- {runbooks-1.1.4.dist-info → runbooks-1.1.6.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,327 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: runbooks
|
3
|
+
Version: 1.1.6
|
4
|
+
Summary: CloudOps Automation Toolkit with Enhanced Cloud Foundations Assessment for DevOps and SRE teams.
|
5
|
+
Author-email: Maintainers <nnthanh101@gmail.com>
|
6
|
+
License-Expression: Apache-2.0
|
7
|
+
Project-URL: Homepage, https://cloudops.oceansoft.io
|
8
|
+
Project-URL: Repository, https://github.com/1xOps/CloudOps-Runbooks
|
9
|
+
Project-URL: Documentation, https://cloudops.oceansoft.io/runbooks/
|
10
|
+
Project-URL: Issues, https://github.com/1xOps/CloudOps-Runbooks/issues
|
11
|
+
Project-URL: Changelog, https://github.com/1xOps/CloudOps-Runbooks/blob/main/CHANGELOG.md
|
12
|
+
Keywords: runbooks,automation,DevOps,SRE,CloudOps,AWS,cloud-foundations,FinOps,enterprise,cost-optimization,security-compliance,multi-account,business-intelligence
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
14
|
+
Classifier: Environment :: Console
|
15
|
+
Classifier: Operating System :: OS Independent
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
20
|
+
Classifier: Topic :: System :: Systems Administration
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
22
|
+
Classifier: Topic :: Utilities
|
23
|
+
Requires-Python: <3.14,>=3.11
|
24
|
+
Description-Content-Type: text/markdown
|
25
|
+
License-File: LICENSE
|
26
|
+
Requires-Dist: boto3>=1.35.40
|
27
|
+
Requires-Dist: botocore>=1.35.40
|
28
|
+
Requires-Dist: diagrams>=0.24.4
|
29
|
+
Requires-Dist: click>=8.2.1
|
30
|
+
Requires-Dist: pydantic>=2.10.0
|
31
|
+
Requires-Dist: jinja2>=3.1.4
|
32
|
+
Requires-Dist: werkzeug>=3.1.0
|
33
|
+
Requires-Dist: markdown>=3.7.0
|
34
|
+
Requires-Dist: simplejson>=3.20.1
|
35
|
+
Requires-Dist: python-dateutil>=2.9.0
|
36
|
+
Requires-Dist: loguru>=0.7.3
|
37
|
+
Requires-Dist: graphviz>=0.20.1
|
38
|
+
Requires-Dist: rich>=14.1.0
|
39
|
+
Requires-Dist: reportlab>=3.6.1
|
40
|
+
Requires-Dist: requests>=2.32.0
|
41
|
+
Requires-Dist: packaging>=21.0
|
42
|
+
Requires-Dist: pyyaml>=6.0.2
|
43
|
+
Requires-Dist: jmespath>=1.0.1
|
44
|
+
Requires-Dist: urllib3<1.27,>=1.26.18
|
45
|
+
Requires-Dist: openapi-spec-validator>=0.7.2
|
46
|
+
Requires-Dist: mcp>=1.12.3
|
47
|
+
Requires-Dist: pandas>=2.3.1
|
48
|
+
Requires-Dist: ipython>=9.4.0
|
49
|
+
Requires-Dist: psutil>=7.0.0
|
50
|
+
Requires-Dist: matplotlib>=3.10.5
|
51
|
+
Requires-Dist: seaborn>=0.13.2
|
52
|
+
Requires-Dist: plotly>=6.3.0
|
53
|
+
Requires-Dist: papermill>=2.6.0
|
54
|
+
Requires-Dist: jupyter>=1.1.1
|
55
|
+
Requires-Dist: ipywidgets>=8.1.7
|
56
|
+
Requires-Dist: pytest>=8.4.1
|
57
|
+
Requires-Dist: scipy>=1.16.2
|
58
|
+
Dynamic: license-file
|
59
|
+
|
60
|
+
# 🚀 CloudOps Runbooks - Enterprise AWS Automation
|
61
|
+
|
62
|
+
[](https://pypi.org/project/runbooks/)
|
63
|
+
[](https://pypi.org/project/runbooks/)
|
64
|
+
[](https://opensource.org/licenses/Apache-2.0)
|
65
|
+
[](https://cloudops.oceansoft.io/runbooks/)
|
66
|
+
[](https://pypi.org/project/runbooks/)
|
67
|
+
|
68
|
+
> **Enterprise-grade AWS automation toolkit for DevOps and SRE teams managing multi-account cloud environments at scale** 🏢⚡
|
69
|
+
|
70
|
+
**Quick Value**: Discover, analyze, and optimize AWS resources across multi-account AWS environments with production-validated automation patterns.
|
71
|
+
|
72
|
+
---
|
73
|
+
|
74
|
+
## Runbooks FinOps & AWS MCP Servers
|
75
|
+
|
76
|
+
> The hybrid approach (Runbooks FinOps & AWS MCPs) leverages the strengths of both solutions: AWS MCPs for real-time accuracy data access and Runbooks FinOps for business intelligence and visualization, ensuring optimal cost optimization results for your enterprise environment.
|
77
|
+
|
78
|
+
---
|
79
|
+
|
80
|
+
## 🏆 **5-Minute Manager Success Path**
|
81
|
+
|
82
|
+
### **Step 1: Installation** (30 seconds)
|
83
|
+
```bash
|
84
|
+
pip install runbooks
|
85
|
+
runbooks --version
|
86
|
+
```
|
87
|
+
|
88
|
+
### **Step 2: Cost Discovery** (3 minutes)
|
89
|
+
```bash
|
90
|
+
# Replace with your billing profile
|
91
|
+
export AWS_BILLING_PROFILE="your-billing-readonly-profile"
|
92
|
+
runbooks finops --dry-run --profile $AWS_BILLING_PROFILE
|
93
|
+
|
94
|
+
# Expected output: Cost optimization opportunities across multiple categories
|
95
|
+
```
|
96
|
+
|
97
|
+
### **Step 3: Executive Reports** (90 seconds)
|
98
|
+
```bash
|
99
|
+
runbooks finops --export pdf --report-name executive-summary
|
100
|
+
runbooks finops --export csv --detailed-analysis
|
101
|
+
```
|
102
|
+
|
103
|
+
## 🎯 Why CloudOps Runbooks?
|
104
|
+
|
105
|
+
| Feature | Benefit | Status |
|
106
|
+
|---------|---------|--------|
|
107
|
+
| 🤖 **AI-Agents Orchestration** | AI-Agents FAANG SDLC coordination | ✅ Production Ready |
|
108
|
+
| ⚡ **Blazing Performance** | Sub-second CLI responses | ✅ 0.11s execution |
|
109
|
+
| 💰 **Cost Analysis** | Multi-account cost monitoring | ✅ Real-time analysis |
|
110
|
+
| 🔒 **Enterprise Security** | Zero-trust, compliance ready | ✅ SOC2, PCI-DSS, HIPAA |
|
111
|
+
| 🏗️ **Multi-Account Ready** | Universal AWS integration | ✅ 200+ accounts supported |
|
112
|
+
| 📊 **Rich Reporting** | Executive + technical dashboards | ✅ 15+ output formats |
|
113
|
+
|
114
|
+
## 💰 **Strategic Value Framework**
|
115
|
+
|
116
|
+
### **Business Impact Matrix**
|
117
|
+
```bash
|
118
|
+
# Enterprise cost optimization suite
|
119
|
+
pip install runbooks
|
120
|
+
|
121
|
+
# Business scenario analysis
|
122
|
+
runbooks finops --scenario workspaces --dry-run
|
123
|
+
runbooks finops --scenario nat-gateway --dry-run
|
124
|
+
runbooks finops --scenario elastic-ip --dry-run
|
125
|
+
runbooks finops --scenario rds-snapshots --dry-run
|
126
|
+
runbooks finops --scenario ebs-volumes --dry-run
|
127
|
+
|
128
|
+
# Strategic analysis modes
|
129
|
+
runbooks finops --profile $AWS_BILLING_PROFILE # Cost visibility
|
130
|
+
runbooks finops --trend --profile $AWS_BILLING_PROFILE # Trend analysis
|
131
|
+
runbooks finops --audit --profile $AWS_BILLING_PROFILE # Audit compliance
|
132
|
+
```
|
133
|
+
|
134
|
+
### **Executive-Ready Deliverables**
|
135
|
+
| Scenario | Time to Value | Deliverable |
|
136
|
+
|----------|---------------|-------------|
|
137
|
+
| 🏢 **WorkSpaces Optimization** | 2 minutes | Executive PDF report |
|
138
|
+
| 🌐 **Network Cost Reduction** | 3 minutes | Cost analysis dashboard |
|
139
|
+
| 📊 **Storage Efficiency** | 2 minutes | Optimization roadmap |
|
140
|
+
| 🎯 **Complete Cost Audit** | 5 minutes | Comprehensive analysis |
|
141
|
+
|
142
|
+
## 📦 Installation & Quick Start
|
143
|
+
|
144
|
+
### Production Installation
|
145
|
+
```bash
|
146
|
+
pip install runbooks
|
147
|
+
|
148
|
+
# Verify installation
|
149
|
+
runbooks --help
|
150
|
+
runbooks inventory collect --help
|
151
|
+
```
|
152
|
+
|
153
|
+
### Configuration
|
154
|
+
```bash
|
155
|
+
# Set up your AWS profiles
|
156
|
+
export AWS_BILLING_PROFILE="your-billing-readonly-profile"
|
157
|
+
export AWS_MANAGEMENT_PROFILE="your-management-readonly-profile"
|
158
|
+
export AWS_OPERATIONS_PROFILE="your-operations-readonly-profile"
|
159
|
+
|
160
|
+
# Test single account access
|
161
|
+
runbooks inventory collect --profile $AWS_OPERATIONS_PROFILE --regions us-east-1
|
162
|
+
```
|
163
|
+
|
164
|
+
## 🧰 Core Modules
|
165
|
+
|
166
|
+
| Module | Purpose | Key Commands | Business Value |
|
167
|
+
|--------|---------|--------------|----------------|
|
168
|
+
| 📊 **Inventory** | Multi-account resource discovery | `runbooks inventory collect` | Complete visibility across 50+ services |
|
169
|
+
| 💰 **FinOps** | Multi-account cost analysis | `runbooks finops` | Real-time cost optimization |
|
170
|
+
| 🔒 **Security** | Compliance & baseline testing | `runbooks security assess` | 15+ security checks, 4 languages |
|
171
|
+
| 🏛️ **CFAT** | Cloud Foundations Assessment | `runbooks cfat assess` | Executive-ready compliance reports |
|
172
|
+
| ⚙️ **Operate** | Resource lifecycle management | `runbooks operate ec2 start` | Safe resource operations |
|
173
|
+
| 🔗 **VPC** | Network analysis & optimization | `runbooks vpc analyze` | Network cost optimization |
|
174
|
+
| 🏢 **Organizations** | OU structure management | `runbooks org setup-ous` | Landing Zone automation |
|
175
|
+
| 🛠️ **Remediation** | Automated security fixes | `runbooks remediate` | 50+ security playbooks |
|
176
|
+
|
177
|
+
## ⚡ Essential Commands Reference
|
178
|
+
|
179
|
+
### 🔍 Discovery & Inventory
|
180
|
+
```bash
|
181
|
+
# Multi-service resource discovery
|
182
|
+
runbooks inventory collect -r ec2,s3,rds --profile production
|
183
|
+
|
184
|
+
# Cross-account organization scan
|
185
|
+
runbooks scan --all-accounts --include-cost-analysis
|
186
|
+
|
187
|
+
# Specialized discovery operations
|
188
|
+
runbooks inventory collect -r lambda --include-code-analysis
|
189
|
+
```
|
190
|
+
|
191
|
+
### 💰 Cost Management
|
192
|
+
```bash
|
193
|
+
# Interactive cost dashboard
|
194
|
+
runbooks finops --profile your-billing-profile
|
195
|
+
|
196
|
+
# Cost optimization analysis
|
197
|
+
runbooks finops --optimize --target-savings 30
|
198
|
+
|
199
|
+
# Multi-account cost aggregation
|
200
|
+
runbooks finops --all-accounts --breakdown-by service,account,region
|
201
|
+
```
|
202
|
+
|
203
|
+
### 🔒 Security & Compliance
|
204
|
+
```bash
|
205
|
+
# Security baseline assessment
|
206
|
+
runbooks security assess --profile production --language EN
|
207
|
+
|
208
|
+
# Multi-framework compliance check
|
209
|
+
runbooks cfat assess --compliance-framework "AWS Well-Architected"
|
210
|
+
|
211
|
+
# Specialized security operations
|
212
|
+
runbooks security check root_mfa --profile management
|
213
|
+
```
|
214
|
+
|
215
|
+
### ⚙️ Resource Operations
|
216
|
+
```bash
|
217
|
+
# Safe EC2 operations (dry-run by default)
|
218
|
+
runbooks operate ec2 stop --instance-ids i-1234567890abcdef0 --dry-run
|
219
|
+
|
220
|
+
# S3 security hardening
|
221
|
+
runbooks operate s3 set-public-access-block --account-id 123456789012
|
222
|
+
|
223
|
+
# CloudFormation operations
|
224
|
+
runbooks operate cloudformation move-stack-instances \
|
225
|
+
--source-stackset old-baseline --target-stackset new-baseline --dry-run
|
226
|
+
```
|
227
|
+
|
228
|
+
## 🏗️ Architecture Highlights
|
229
|
+
|
230
|
+
### Modern Stack
|
231
|
+
- **🐍 Python 3.11+**: Modern async capabilities
|
232
|
+
- **⚡ UV + Ruff**: 10x faster dependency resolution & linting
|
233
|
+
- **🎨 Rich CLI**: Beautiful terminal interfaces
|
234
|
+
- **📊 Pydantic V2**: Type-safe data models
|
235
|
+
- **🔗 boto3**: Native AWS SDK integration
|
236
|
+
- **🤖 MCP Servers**: Real-time AWS API access ([MCP Specification](https://modelcontextprotocol.io/))
|
237
|
+
|
238
|
+
### Enterprise Features
|
239
|
+
- **🔐 Multi-Profile AWS**: Seamless account switching
|
240
|
+
- **🌐 Multi-Language Reports**: EN/JP/KR/VN support
|
241
|
+
- **📈 DORA Metrics**: DevOps performance tracking
|
242
|
+
- **🚨 Safety Controls**: Dry-run defaults, approval workflows
|
243
|
+
- **📊 Executive Dashboards**: Business-ready reporting
|
244
|
+
|
245
|
+
## 📚 Documentation
|
246
|
+
|
247
|
+
### Quick Links
|
248
|
+
- **🏠 [Homepage](https://cloudops.oceansoft.io)** - Official project website
|
249
|
+
- **📖 [Documentation](https://cloudops.oceansoft.io/runbooks/)** - Complete guides
|
250
|
+
- **🐛 [Issues](https://github.com/1xOps/CloudOps-Runbooks/issues)** - Bug reports & features
|
251
|
+
- **💬 [Discussions](https://github.com/1xOps/CloudOps-Runbooks/discussions)** - Community support
|
252
|
+
|
253
|
+
### Enterprise Module Documentation
|
254
|
+
|
255
|
+
| Module | Documentation Hub | Key Business Value | Technical Implementation |
|
256
|
+
|--------|-------------------|-------------------|--------------------------|
|
257
|
+
| 💰 **FinOps** | [📊 Module Hub](docs/modules/finops/) | 20-40% cost optimization | [Code](src/runbooks/finops/) |
|
258
|
+
| 🔒 **Security** | [🛡️ Module Hub](docs/modules/security/) | 15+ security checks, 4 languages | [Code](src/runbooks/security/) |
|
259
|
+
| 📊 **Inventory** | [🔍 Module Hub](docs/modules/inventory/) | 50+ AWS services discovery | [Code](src/runbooks/inventory/) |
|
260
|
+
| ⚙️ **Operations** | [🔧 Module Hub](docs/modules/operate/) | Resource lifecycle management | [Code](src/runbooks/operate/) |
|
261
|
+
|
262
|
+
## 🔧 Configuration
|
263
|
+
|
264
|
+
### AWS Profiles Setup
|
265
|
+
```bash
|
266
|
+
# Environment variables for enterprise setup
|
267
|
+
export AWS_BILLING_PROFILE="your-billing-readonly-profile"
|
268
|
+
export AWS_MANAGEMENT_PROFILE="your-management-readonly-profile"
|
269
|
+
export AWS_OPERATIONS_PROFILE="your-operations-readonly-profile"
|
270
|
+
|
271
|
+
# Universal profile usage patterns
|
272
|
+
runbooks finops --profile $AWS_BILLING_PROFILE # Cost analysis
|
273
|
+
runbooks inventory collect --profile $AWS_MANAGEMENT_PROFILE # Discovery
|
274
|
+
runbooks operate --profile $AWS_OPERATIONS_PROFILE # Operations
|
275
|
+
```
|
276
|
+
|
277
|
+
### Advanced Configuration
|
278
|
+
```bash
|
279
|
+
# Custom configuration directory
|
280
|
+
export RUNBOOKS_CONFIG_DIR="/path/to/config"
|
281
|
+
|
282
|
+
# Performance tuning
|
283
|
+
export RUNBOOKS_PARALLEL_WORKERS=10
|
284
|
+
export RUNBOOKS_TIMEOUT=300
|
285
|
+
```
|
286
|
+
|
287
|
+
## 🛡️ Security & Compliance
|
288
|
+
|
289
|
+
| Framework | Status | Coverage |
|
290
|
+
|-----------|--------|----------|
|
291
|
+
| **AWS Well-Architected** | ✅ Full | 5 pillars |
|
292
|
+
| **SOC2** | ✅ Compliant | Type II ready |
|
293
|
+
| **PCI-DSS** | ✅ Validated | Level 1 |
|
294
|
+
| **HIPAA** | ✅ Ready | Healthcare compliant |
|
295
|
+
| **ISO 27001** | ✅ Aligned | Security management |
|
296
|
+
|
297
|
+
## 🚦 Roadmap
|
298
|
+
|
299
|
+
| Version | Timeline | Key Features |
|
300
|
+
|---------|----------|--------------|
|
301
|
+
| **v1.1.4** | **Current** | ✅ **Enterprise Production** - ProfileManager + Enhanced exports |
|
302
|
+
| **v1.2** | Q1 2026 | Enhanced enterprise features and expanded service coverage |
|
303
|
+
| **v1.3** | Q2 2026 | Enhanced AI orchestration with universal compatibility |
|
304
|
+
| **v1.5** | Q3 2026 | Self-healing infrastructure across any AWS setup |
|
305
|
+
| **v2.0** | Q4 2026 | Multi-cloud support (Azure, GCP) |
|
306
|
+
|
307
|
+
## 🆘 Support Options
|
308
|
+
|
309
|
+
### Community Support (Free)
|
310
|
+
- 🐛 **[GitHub Issues](https://github.com/1xOps/CloudOps-Runbooks/issues)** - Bug reports & feature requests
|
311
|
+
- 💬 **[GitHub Discussions](https://github.com/1xOps/CloudOps-Runbooks/discussions)** - Community Q&A
|
312
|
+
|
313
|
+
### Enterprise Support
|
314
|
+
- 🏢 **Professional Services** - Custom deployment assistance
|
315
|
+
- 🎓 **Training Programs** - Team enablement workshops
|
316
|
+
- 🛠️ **Custom Development** - Tailored collector modules
|
317
|
+
- 📧 **Email**: [info@oceansoft.io](mailto:info@oceansoft.io)
|
318
|
+
|
319
|
+
## 📄 License
|
320
|
+
|
321
|
+
Apache License 2.0 - See [LICENSE](LICENSE) file for details.
|
322
|
+
|
323
|
+
---
|
324
|
+
|
325
|
+
**🏗️ Built with ❤️ by the xOps team at OceanSoft**
|
326
|
+
|
327
|
+
*Transform your AWS operations from reactive to proactive with enterprise-grade automation* 🚀
|