Multi cloud architecture

From mtecoYY/ai-baike · View interactive version

Multi cloud architecture is an AI agent skill from the GitHub repository mtecoYY/ai-baike. 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.

How to use this skill

Skill file

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

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

Pattern 2: Best-of-Breed

Pattern 3: Geographic Distribution

Pattern 4: Cloud-Agnostic Abstraction

Cloud-Agnostic Architecture

Use Cloud-Native Alternatives

Abstraction Layers

Application Layer
    ↓
Infrastructure Abstraction (Terraform)
    ↓
Cloud Provider APIs
    ↓
AWS / Azure / GCP / OCI

Cost Comparison

Compute Pricing Factors

Cost Optimization Strategies

  1. Use reserved/committed capacity (30-70% savings)
  2. Leverage spot/preemptible instances
  3. Right-size resources
  4. Use serverless for variable workloads
  5. Optimize data transfer costs
  6. Implement lifecycle policies
  7. Use cost allocation tags
  8. Monitor with cloud cost tools

Reference: See references/multi-cloud-patterns.md

Migration Strategy

Phase 1: Assessment

Phase 2: Pilot

Phase 3: Migration

Phase 4: Optimization

Best Practices

  1. Use infrastructure as code (Terraform/OpenTofu)
  2. Implement CI/CD pipelines for deployments
  3. Design for failure across clouds
  4. Use managed services when possible
  5. Implement comprehensive monitoring
  6. Automate cost optimization
  7. Follow security best practices
  8. Document cloud-specific configurations
  9. Test disaster recovery procedures
  10. Train teams on multiple clouds

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.