Spaces:
Sleeping
Sleeping
Upload data/cmdb.json with huggingface_hub
Browse files- data/cmdb.json +101 -0
data/cmdb.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"db-migration": {
|
| 3 |
+
"primary_ci": "DB-PROD-PG-01",
|
| 4 |
+
"environment": "Production",
|
| 5 |
+
"items": [
|
| 6 |
+
{"ci_id": "DB-PROD-PG-01", "type": "Database Server", "description": "Primary - us-east-1a, 32 vCPU, 256GB RAM", "criticality": "Critical"},
|
| 7 |
+
{"ci_id": "DB-PROD-PG-02", "type": "Database Server", "description": "Replica - us-east-1b, 32 vCPU, 256GB RAM", "criticality": "High"},
|
| 8 |
+
{"ci_id": "DB-PROD-PG-03", "type": "Database Server", "description": "Replica - us-east-1c, 32 vCPU, 256GB RAM", "criticality": "High"},
|
| 9 |
+
{"ci_id": "DB-PROD-PG-04", "type": "Database Server", "description": "Analytics Replica - us-east-1d, 64 vCPU, 512GB RAM", "criticality": "Medium"},
|
| 10 |
+
{"ci_id": "LB-DB-PROD-01", "type": "Load Balancer", "description": "HAProxy - Primary", "criticality": "Critical"},
|
| 11 |
+
{"ci_id": "LB-DB-PROD-02", "type": "Load Balancer", "description": "HAProxy - Backup", "criticality": "High"},
|
| 12 |
+
{"ci_id": "APP-PAYMENT-API", "type": "Application", "description": "20 instances, ECS", "criticality": "Critical"},
|
| 13 |
+
{"ci_id": "APP-AUTH-SERVICE", "type": "Application", "description": "15 instances, ECS", "criticality": "Critical"},
|
| 14 |
+
{"ci_id": "APP-ORDER-PROC", "type": "Application", "description": "12 instances, ECS", "criticality": "High"},
|
| 15 |
+
{"ci_id": "APP-INVENTORY", "type": "Application", "description": "8 instances, ECS", "criticality": "Medium"},
|
| 16 |
+
{"ci_id": "APP-ANALYTICS", "type": "Application", "description": "6 instances, Lambda", "criticality": "Medium"},
|
| 17 |
+
{"ci_id": "MONITORING-DATADOG-001", "type": "Monitoring", "description": "Datadog APM", "criticality": "High"},
|
| 18 |
+
{"ci_id": "MONITORING-PROMETHEUS-PROD", "type": "Monitoring", "description": "Prometheus metrics", "criticality": "Medium"},
|
| 19 |
+
{"ci_id": "BACKUP-S3-BUCKET-PROD-DB", "type": "Storage", "description": "S3 backup bucket", "criticality": "Critical"},
|
| 20 |
+
{"ci_id": "VPC-PROD-EAST-1", "type": "Network", "description": "Production VPC", "criticality": "Critical"},
|
| 21 |
+
{"ci_id": "SG-DB-PROD", "type": "Security", "description": "Database security group", "criticality": "Critical"},
|
| 22 |
+
{"ci_id": "IAM-ROLE-DB-ACCESS", "type": "Security", "description": "Database IAM role", "criticality": "High"},
|
| 23 |
+
{"ci_id": "KMS-KEY-DB-ENCRYPTION", "type": "Security", "description": "Database encryption key", "criticality": "Critical"},
|
| 24 |
+
{"ci_id": "CLOUDWATCH-ALARMS-DB", "type": "Monitoring", "description": "12 database alarms", "criticality": "High"},
|
| 25 |
+
{"ci_id": "ROUTE53-DB-INTERNAL-DNS", "type": "Network", "description": "Internal DNS for database", "criticality": "High"},
|
| 26 |
+
{"ci_id": "EBS-VOLUMES-DB-PRIMARY", "type": "Storage", "description": "8x 2TB volumes", "criticality": "Critical"},
|
| 27 |
+
{"ci_id": "EBS-VOLUMES-DB-REPLICAS", "type": "Storage", "description": "12x 2TB volumes", "criticality": "High"},
|
| 28 |
+
{"ci_id": "SNAPSHOT-POLICY-PROD-DB", "type": "Backup", "description": "Automated snapshot policy", "criticality": "High"}
|
| 29 |
+
],
|
| 30 |
+
"total_ci_count": 23,
|
| 31 |
+
"data_volume": "30TB",
|
| 32 |
+
"peak_transactions": "50,000/minute",
|
| 33 |
+
"dependencies": ["Payment API", "User Auth", "Order Processing", "Analytics"]
|
| 34 |
+
},
|
| 35 |
+
"security-patch": {
|
| 36 |
+
"primary_ci": "APP-JAVA-SERVICES",
|
| 37 |
+
"environment": "Production (multi-region)",
|
| 38 |
+
"items": [
|
| 39 |
+
{"ci_id": "APP-JAVA-SERVICES", "type": "Application Fleet", "description": "340 microservices across 8 clusters", "criticality": "Critical"},
|
| 40 |
+
{"ci_id": "KAFKA-PROD-CLUSTER-01", "type": "Message Queue", "description": "12 brokers, 450 topics, 2.1M msg/sec", "criticality": "Critical"},
|
| 41 |
+
{"ci_id": "KAFKA-PROD-CLUSTER-02", "type": "Message Queue", "description": "8 brokers, backup cluster", "criticality": "High"},
|
| 42 |
+
{"ci_id": "ELASTIC-PROD-001", "type": "Search", "description": "9-node cluster, 15TB data", "criticality": "Critical"},
|
| 43 |
+
{"ci_id": "ELASTIC-LOGGING-001", "type": "Logging", "description": "6-node cluster, 8TB logs", "criticality": "High"},
|
| 44 |
+
{"ci_id": "ELASTIC-METRICS-001", "type": "Monitoring", "description": "4-node cluster, 3TB metrics", "criticality": "Medium"},
|
| 45 |
+
{"ci_id": "ADMIN-PORTAL-PROD", "type": "Application", "description": "8 instances, 2400 internal users", "criticality": "High"},
|
| 46 |
+
{"ci_id": "INTEGRATION-WEBHOOKS", "type": "Integration", "description": "45 endpoints, 12K webhooks/hr", "criticality": "High"},
|
| 47 |
+
{"ci_id": "WEBSOCKET-SERVER-PROD", "type": "Application", "description": "20 instances, 8500 concurrent connections", "criticality": "High"},
|
| 48 |
+
{"ci_id": "BATCH-PROCESSOR-NIGHTLY", "type": "Batch", "description": "8 instances, 340 nightly jobs", "criticality": "Medium"},
|
| 49 |
+
{"ci_id": "BATCH-PROCESSOR-REALTIME", "type": "Batch", "description": "12 instances, real-time processing", "criticality": "High"},
|
| 50 |
+
{"ci_id": "WAF-CLOUDFLARE-PROD", "type": "Security", "description": "WAF with Log4j mitigation rules", "criticality": "Critical"},
|
| 51 |
+
{"ci_id": "ECS-CLUSTER-JAVA-PROD-US", "type": "Container", "description": "120 tasks", "criticality": "Critical"},
|
| 52 |
+
{"ci_id": "ECS-CLUSTER-JAVA-PROD-EU", "type": "Container", "description": "80 tasks", "criticality": "High"},
|
| 53 |
+
{"ci_id": "LAMBDA-JAVA-FUNCTIONS", "type": "Serverless", "description": "28 functions", "criticality": "Medium"},
|
| 54 |
+
{"ci_id": "ALB-MICROSERVICES-PROD", "type": "Load Balancer", "description": "4 ALBs, 850K req/min", "criticality": "Critical"},
|
| 55 |
+
{"ci_id": "JENKINS-MASTER-01", "type": "CI/CD", "description": "Jenkins master + 15 agents", "criticality": "High"},
|
| 56 |
+
{"ci_id": "NEXUS-ARTIFACT-REPO", "type": "CI/CD", "description": "Artifact repository", "criticality": "Medium"},
|
| 57 |
+
{"ci_id": "SNS-TOPIC-SECURITY-ALERTS", "type": "Notification", "description": "Security alert topic", "criticality": "High"},
|
| 58 |
+
{"ci_id": "DYNAMODB-TABLE-PATCH-STATUS", "type": "Database", "description": "Patch tracking", "criticality": "Medium"}
|
| 59 |
+
],
|
| 60 |
+
"total_ci_count": 20,
|
| 61 |
+
"total_services": 340,
|
| 62 |
+
"engineering_teams": 8,
|
| 63 |
+
"dependencies": ["All Java-based services", "Kafka", "Elasticsearch", "CI/CD"]
|
| 64 |
+
},
|
| 65 |
+
"cost-optimization": {
|
| 66 |
+
"primary_ci": "ASG-WEB-PROD-US",
|
| 67 |
+
"environment": "Production (multi-region)",
|
| 68 |
+
"items": [
|
| 69 |
+
{"ci_id": "ASG-WEB-PROD-US", "type": "Auto-scaling", "description": "50-500 instances, t3.large, us-east-1", "criticality": "Critical"},
|
| 70 |
+
{"ci_id": "ASG-WEB-PROD-EU", "type": "Auto-scaling", "description": "30-300 instances, t3.large, eu-west-1", "criticality": "High"},
|
| 71 |
+
{"ci_id": "ASG-WEB-PROD-AP", "type": "Auto-scaling", "description": "20-200 instances, t3.large, ap-southeast-1", "criticality": "High"},
|
| 72 |
+
{"ci_id": "ASG-API-PROD-US", "type": "Auto-scaling", "description": "40-400 instances, c5.xlarge, us-east-1", "criticality": "Critical"},
|
| 73 |
+
{"ci_id": "ASG-API-PROD-EU", "type": "Auto-scaling", "description": "25-250 instances, c5.xlarge, eu-west-1", "criticality": "High"},
|
| 74 |
+
{"ci_id": "ASG-API-PROD-AP", "type": "Auto-scaling", "description": "15-150 instances, c5.xlarge, ap-southeast-1", "criticality": "High"},
|
| 75 |
+
{"ci_id": "ALB-PROD-GLOBAL", "type": "Load Balancer", "description": "Global Application Load Balancer", "criticality": "Critical"},
|
| 76 |
+
{"ci_id": "LAMBDA-SCALER-001", "type": "Serverless", "description": "Custom scaling logic, Python 3.11", "criticality": "High"},
|
| 77 |
+
{"ci_id": "CLOUDWATCH-METRICS-PROD", "type": "Monitoring", "description": "350 custom metrics", "criticality": "High"},
|
| 78 |
+
{"ci_id": "CLOUDWATCH-ALARMS-SCALING", "type": "Monitoring", "description": "48 scaling alarms", "criticality": "High"},
|
| 79 |
+
{"ci_id": "COST-EXPLORER-INTEGRATION", "type": "Financial", "description": "AWS Cost Explorer", "criticality": "Medium"},
|
| 80 |
+
{"ci_id": "COST-ANOMALY-DETECTOR", "type": "Financial", "description": "Cost anomaly detection", "criticality": "Medium"},
|
| 81 |
+
{"ci_id": "ECS-CLUSTER-PROD-US", "type": "Container", "description": "200 tasks, us-east-1", "criticality": "Critical"},
|
| 82 |
+
{"ci_id": "ECS-CLUSTER-PROD-EU", "type": "Container", "description": "120 tasks, eu-west-1", "criticality": "High"},
|
| 83 |
+
{"ci_id": "ECS-CLUSTER-PROD-AP", "type": "Container", "description": "80 tasks, ap-southeast-1", "criticality": "High"},
|
| 84 |
+
{"ci_id": "RDS-READ-REPLICA-US-1", "type": "Database", "description": "Read replica us-east-1", "criticality": "High"},
|
| 85 |
+
{"ci_id": "ELASTICACHE-PROD-US", "type": "Cache", "description": "Redis 7.0, 6 nodes", "criticality": "High"},
|
| 86 |
+
{"ci_id": "CLOUDFRONT-DIST-001", "type": "CDN", "description": "Web assets distribution", "criticality": "High"},
|
| 87 |
+
{"ci_id": "ROUTE53-HEALTH-CHECKS", "type": "DNS", "description": "15 health check endpoints", "criticality": "High"},
|
| 88 |
+
{"ci_id": "DYNAMODB-TABLE-SCALING-STATE", "type": "Database", "description": "Scaling state tracking", "criticality": "Medium"},
|
| 89 |
+
{"ci_id": "VPC-PROD-US-EAST-1", "type": "Network", "description": "Production VPC us-east-1", "criticality": "Critical"},
|
| 90 |
+
{"ci_id": "NAT-GATEWAY-US-1A", "type": "Network", "description": "NAT Gateway us-east-1a", "criticality": "High"},
|
| 91 |
+
{"ci_id": "NAT-GATEWAY-EU-1A", "type": "Network", "description": "NAT Gateway eu-west-1a", "criticality": "High"},
|
| 92 |
+
{"ci_id": "SNS-TOPIC-SCALING-EVENTS", "type": "Notification", "description": "Scaling event notifications", "criticality": "Medium"},
|
| 93 |
+
{"ci_id": "SQS-QUEUE-SCALING-ACTIONS", "type": "Queue", "description": "Scaling action queue", "criticality": "Medium"}
|
| 94 |
+
],
|
| 95 |
+
"total_ci_count": 25,
|
| 96 |
+
"current_monthly_spend": "$3.2M",
|
| 97 |
+
"projected_monthly_spend": "$1.1M",
|
| 98 |
+
"regions": ["us-east-1", "eu-west-1", "ap-southeast-1"],
|
| 99 |
+
"dependencies": ["Web Frontend", "API Gateway", "ECS", "RDS", "ElastiCache"]
|
| 100 |
+
}
|
| 101 |
+
}
|