How naresh1401/enterprise-multi-cloud works
This repository combines a Flask/PostgreSQL sample service with infrastructure and deployment paths for six AWS, Google Cloud, and Azure targets. The user-facing flow is HTTP request → health/readiness or item handling → database access; a separate deployment flow provisions a target, builds and publishes the image, runs migrations, then routes traffic to the new version. Runtime edges are supported by the excerpts; cloud deployment relationships are documented in the README, while detailed infrastructure internals were not sampled.
Main entry points: workflows Manual deploy workflows · db.py DB connections · main.py HTTP API · migrate.py Migration runner
Components 17
Database lifecycle
- DB connections
app/db.py - PostgreSQL
- Migration runner
app/migrate.py - Schema revisions
app/migrations/versions/0001_create_items.py
Cloud targets
- AWS ECS target
infra/aws - AWS EKS target
infra/eks - Cloud Run target
infra/gcp - GKE target
infra/gke - Container Apps target
infra/azure - AKS target
infra/aks - Cloud runtime
Kubernetes delivery
- Kubernetes chart
deploy/helm/multi-cloud-app
Deployment flow
- Manual deploy workflows
.github/workflows - Container image
Dockerfile
Other components
- HTTP client
Connections 23
- HTTP client → HTTP API: sends requests
app/main.py - HTTP API → Items API: registers routes
app/main.py - HTTP API → DB connections: checks readiness
app/main.py - Items API → DB connections: opens connections
app/items.py - DB connections → PostgreSQL: connects and queries
app/db.py - Migration runner → DB connections: creates database
app/migrate.py - Migration runner → Schema revisions: applies revisions
app/migrate.py - Manual deploy workflows → Container image: builds image
README.md - Manual deploy workflows → AWS ECS target: provisions target
README.md - Manual deploy workflows → AWS EKS target: provisions target
README.md - Manual deploy workflows → Cloud Run target: provisions target
README.md - Manual deploy workflows → GKE target: provisions target
README.md - Manual deploy workflows → Container Apps target: provisions target
README.md - Manual deploy workflows → AKS target: provisions target
README.md - Manual deploy workflows → Migration runner: runs migrations
README.md - Manual deploy workflows → Kubernetes chart: upgrades chart
README.md - AWS ECS target → Cloud runtime: runs service
README.md - AWS EKS target → Cloud runtime: runs service
README.md - Cloud Run target → Cloud runtime: runs service
README.md - GKE target → Cloud runtime: runs service
README.md - Container Apps target → Cloud runtime: runs service
README.md - AKS target → Cloud runtime: runs service
README.md - Kubernetes chart → Cloud runtime: deploys service
README.md