multi-cloud-architecture
wshobson/agents
Design multi-cloud architectures across AWS, Azure, GCP, and OCI with decision frameworks and service selection patterns.
What is multi-cloud-architecture?
This skill provides a decision framework and architectural patterns for designing applications that span multiple cloud providers. Use it when building multi-cloud systems, avoiding vendor lock-in, selecting best-of-breed services, or planning cloud migrations.
- Compare compute, storage, and database services across AWS, Azure, GCP, and OCI
- Apply multi-cloud patterns: single provider with DR, best-of-breed, geographic distribution, and cloud-agnostic abstraction
- Design cloud-agnostic architectures using Kubernetes, PostgreSQL, and open-source tools
- Evaluate cost optimization strategies including reserved capacity, spot instances, and right-sizing
- Plan phased migration strategies from assessment through optimization
- Implement infrastructure as code for multi-cloud deployments
How to install multi-cloud-architecture
npx skills add https://github.com/wshobson/agents --skill multi-cloud-architectureHow to use multi-cloud-architecture
- 1.Review the cloud service comparison tables to map equivalent services across AWS, Azure, GCP, and OCI
- 2.Select a multi-cloud pattern that matches your requirements (DR, best-of-breed, geographic, or cloud-agnostic)
- 3.Use cloud-agnostic alternatives (Kubernetes, PostgreSQL, Redis) to reduce provider-specific dependencies
- 4.Plan your migration in phases: assessment, pilot, migration, and optimization
- 5.Implement infrastructure as code using Terraform to manage resources consistently across clouds
- 6.Apply cost optimization strategies appropriate to your workload patterns and provider pricing models
Use cases
- Migrate workloads between cloud providers while minimizing vendor lock-in
- Build best-of-breed architectures using AI/ML on GCP, enterprise apps on Azure, and regulated workloads on OCI
- Design disaster recovery across multiple clouds with automated failover
- Serve global users from nearest cloud region with data sovereignty compliance
- Optimize cloud costs by comparing pricing models and leveraging spot/preemptible instances
- Cloud architects designing multi-cloud strategies
- DevOps engineers managing deployments across providers
- Enterprise teams evaluating cloud migration paths
- Cost optimization specialists comparing cloud providers
- Teams building cloud-agnostic applications
multi-cloud-architecture FAQ
Use cloud-agnostic alternatives like Kubernetes for compute, PostgreSQL for databases, and S3-compatible storage. Implement infrastructure as code with Terraform and design applications to be portable across providers.
Select based on your needs: single provider with DR for simplicity, best-of-breed to leverage each provider's strengths, geographic distribution for global users, or cloud-agnostic abstraction for maximum portability.
Reserved/committed capacity offers 30-70% savings. Additional savings come from spot/preemptible instances, right-sizing, serverless for variable workloads, and optimizing data transfer costs.
Typical phased approach: assessment (1-2 weeks), pilot (2-4 weeks), migration (ongoing), optimization (ongoing). Timeline varies based on workload complexity and dependencies.
Not necessarily. Use managed services that exist across providers (databases, caching, messaging). Containerize with Kubernetes for portability. Rewrite only for cloud-native optimization after migration.
Full instructions (SKILL.md)
Source of truth, from wshobson/agents.
name: multi-cloud-architecture description: Design multi-cloud architectures using a decision framework to select and integrate services across AWS, Azure, GCP, and OCI. Use when building multi-cloud systems, avoiding vendor lock-in, or leveraging best-of-breed services from multiple providers.
Multi-Cloud Architecture
Decision framework and patterns for architecting applications across AWS, Azure, GCP, and OCI.
Purpose
Design cloud-agnostic architectures and make informed decisions about service selection across cloud providers.
When to Use
- Design multi-cloud strategies
- Migrate between cloud providers
- Select cloud services for specific workloads
- Implement cloud-agnostic architectures
- Optimize costs across providers
Cloud Service Comparison
Compute Services
| AWS | Azure | GCP | OCI | Use Case |
|---|---|---|---|---|
| EC2 | Virtual Machines | Compute Engine | Compute | IaaS VMs |
| ECS | Container Instances | Cloud Run | Container Instances | Containers |
| EKS | AKS | GKE | OKE | Kubernetes |
| Lambda | Functions | Cloud Functions | Functions | Serverless |
| Fargate | Container Apps | Cloud Run | Container Instances | Managed containers |
Storage Services
| AWS | Azure | GCP | OCI | Use Case |
|---|---|---|---|---|
| S3 | Blob Storage | Cloud Storage | Object Storage | Object storage |
| EBS | Managed Disks | Persistent Disk | Block Volumes | Block storage |
| EFS | Azure Files | Filestore | File Storage | File storage |
| Glacier | Archive Storage | Archive Storage | Archive Storage | Cold storage |
Database Services
| AWS | Azure | GCP | OCI | Use Case |
|---|---|---|---|---|
| RDS | SQL Database | Cloud SQL | MySQL HeatWave | Managed SQL |
| DynamoDB | Cosmos DB | Firestore | NoSQL Database | NoSQL |
| Aurora | PostgreSQL/MySQL | Cloud Spanner | Autonomous Database | Distributed SQL |
| ElastiCache | Cache for Redis | Memorystore | OCI Cache | Caching |
Reference: See references/service-comparison.md for complete comparison
Multi-Cloud Patterns
Pattern 1: Single Provider with DR
- Primary workload in one cloud
- Disaster recovery in another
- Database replication across clouds
- Automated failover
Pattern 2: Best-of-Breed
- Use best service from each provider
- AI/ML on GCP
- Enterprise apps on Azure
- Regulated data platforms on OCI
- General compute on AWS
Pattern 3: Geographic Distribution
- Serve users from nearest cloud region
- Data sovereignty compliance
- Global load balancing
- Regional failover
Pattern 4: Cloud-Agnostic Abstraction
- Kubernetes for compute
- PostgreSQL for database
- S3-compatible storage (MinIO)
- Open source tools
Cloud-Agnostic Architecture
Use Cloud-Native Alternatives
- Compute: Kubernetes (EKS/AKS/GKE/OKE)
- Database: PostgreSQL/MySQL (RDS/SQL Database/Cloud SQL/MySQL HeatWave)
- Message Queue: Apache Kafka or managed streaming (MSK/Event Hubs/Confluent/OCI Streaming)
- Cache: Redis (ElastiCache/Azure Cache/Memorystore/OCI Cache)
- Object Storage: S3-compatible API
- Monitoring: Prometheus/Grafana
- Service Mesh: Istio/Linkerd
Abstraction Layers
Application Layer
↓
Infrastructure Abstraction (Terraform)
↓
Cloud Provider APIs
↓
AWS / Azure / GCP / OCI
Cost Comparison
Compute Pricing Factors
- AWS: On-demand, Reserved, Spot, Savings Plans
- Azure: Pay-as-you-go, Reserved, Spot
- GCP: On-demand, Committed use, Preemptible
- OCI: Pay-as-you-go, annual commitments, burstable/flexible shapes, preemptible instances
Cost Optimization Strategies
- Use reserved/committed capacity (30-70% savings)
- Leverage spot/preemptible instances
- Right-size resources
- Use serverless for variable workloads
- Optimize data transfer costs
- Implement lifecycle policies
- Use cost allocation tags
- Monitor with cloud cost tools
Reference: See references/multi-cloud-patterns.md
Migration Strategy
Phase 1: Assessment
- Inventory current infrastructure
- Identify dependencies
- Assess cloud compatibility
- Estimate costs
Phase 2: Pilot
- Select pilot workload
- Implement in target cloud
- Test thoroughly
- Document learnings
Phase 3: Migration
- Migrate workloads incrementally
- Maintain dual-run period
- Monitor performance
- Validate functionality
Phase 4: Optimization
- Right-size resources
- Implement cloud-native services
- Optimize costs
- Enhance security
Best Practices
- Use infrastructure as code (Terraform/OpenTofu)
- Implement CI/CD pipelines for deployments
- Design for failure across clouds
- Use managed services when possible
- Implement comprehensive monitoring
- Automate cost optimization
- Follow security best practices
- Document cloud-specific configurations
- Test disaster recovery procedures
- Train teams on multiple clouds
Related Skills
terraform-module-library- For IaC implementationcost-optimization- For cost managementhybrid-cloud-networking- For connectivity
Related skills
More from wshobson/agents and the wider catalog.

multi-reviewer-patterns
Coordinate parallel code reviews across multiple dimensions with deduplication, severity calibration, and consolidated reporting.

nextjs-app-router-patterns
Master Next.js 14+ App Router with Server Components, streaming, and advanced patterns.

nft-standards
Implement ERC-721 and ERC-1155 NFT standards with metadata, minting, royalties, and marketplace integration.

nodejs-backend-patterns
Build production-ready Node.js backends with Express/Fastify, middleware patterns, authentication, and database integration.

nx-workspace-patterns
Configure and optimize Nx monorepo workspaces with production patterns for project boundaries, caching, and affected commands.

on-call-handoff-patterns
Master on-call shift handoffs with structured context transfer and escalation procedures.