Multi Cloud Architecture
Skill files3 files

references/

SKILL.md180 lines
1
---
2
name: multi-cloud-architecture
3
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.
4
---
5
6
# Multi-Cloud Architecture
7
8
Decision framework and patterns for architecting applications across AWS, Azure, GCP, and OCI.
9
10
## Purpose
11
12
Design cloud-agnostic architectures and make informed decisions about service selection across cloud providers.
13
14
## When to Use
15
16
- Design multi-cloud strategies
17
- Migrate between cloud providers
18
- Select cloud services for specific workloads
19
- Implement cloud-agnostic architectures
20
- Optimize costs across providers
21
22
## Cloud Service Comparison
23
24
### Compute Services
25
26
| AWS | Azure | GCP | OCI | Use Case |
27
| ------- | ------------------- | --------------- | ------------------- | ------------------ |
28
| EC2 | Virtual Machines | Compute Engine | Compute | IaaS VMs |
29
| ECS | Container Instances | Cloud Run | Container Instances | Containers |
30
| EKS | AKS | GKE | OKE | Kubernetes |
31
| Lambda | Functions | Cloud Functions | Functions | Serverless |
32
| Fargate | Container Apps | Cloud Run | Container Instances | Managed containers |
33
34
### Storage Services
35
36
| AWS | Azure | GCP | OCI | Use Case |
37
| ------- | --------------- | --------------- | -------------- | -------------- |
38
| S3 | Blob Storage | Cloud Storage | Object Storage | Object storage |
39
| EBS | Managed Disks | Persistent Disk | Block Volumes | Block storage |
40
| EFS | Azure Files | Filestore | File Storage | File storage |
41
| Glacier | Archive Storage | Archive Storage | Archive Storage | Cold storage |
42
43
### Database Services
44
45
| AWS | Azure | GCP | OCI | Use Case |
46
| ----------- | ---------------- | ------------- | ------------------- | --------------- |
47
| RDS | SQL Database | Cloud SQL | MySQL HeatWave | Managed SQL |
48
| DynamoDB | Cosmos DB | Firestore | NoSQL Database | NoSQL |
49
| Aurora | PostgreSQL/MySQL | Cloud Spanner | Autonomous Database | Distributed SQL |
50
| ElastiCache | Cache for Redis | Memorystore | OCI Cache | Caching |
51
52
**Reference:** See `references/service-comparison.md` for complete comparison
53
54
## Multi-Cloud Patterns
55
56
### Pattern 1: Single Provider with DR
57
58
- Primary workload in one cloud
59
- Disaster recovery in another
60
- Database replication across clouds
61
- Automated failover
62
63
### Pattern 2: Best-of-Breed
64
65
- Use best service from each provider
66
- AI/ML on GCP
67
- Enterprise apps on Azure
68
- Regulated data platforms on OCI
69
- General compute on AWS
70
71
### Pattern 3: Geographic Distribution
72
73
- Serve users from nearest cloud region
74
- Data sovereignty compliance
75
- Global load balancing
76
- Regional failover
77
78
### Pattern 4: Cloud-Agnostic Abstraction
79
80
- Kubernetes for compute
81
- PostgreSQL for database
82
- S3-compatible storage (MinIO)
83
- Open source tools
84
85
## Cloud-Agnostic Architecture
86
87
### Use Cloud-Native Alternatives
88
89
- **Compute:** Kubernetes (EKS/AKS/GKE/OKE)
90
- **Database:** PostgreSQL/MySQL (RDS/SQL Database/Cloud SQL/MySQL HeatWave)
91
- **Message Queue:** Apache Kafka or managed streaming (MSK/Event Hubs/Confluent/OCI Streaming)
92
- **Cache:** Redis (ElastiCache/Azure Cache/Memorystore/OCI Cache)
93
- **Object Storage:** S3-compatible API
94
- **Monitoring:** Prometheus/Grafana
95
- **Service Mesh:** Istio/Linkerd
96
97
### Abstraction Layers
98
99
```
100
Application Layer
101
↓
102
Infrastructure Abstraction (Terraform)
103
↓
104
Cloud Provider APIs
105
↓
106
AWS / Azure / GCP / OCI
107
```
108
109
## Cost Comparison
110
111
### Compute Pricing Factors
112
113
- **AWS:** On-demand, Reserved, Spot, Savings Plans
114
- **Azure:** Pay-as-you-go, Reserved, Spot
115
- **GCP:** On-demand, Committed use, Preemptible
116
- **OCI:** Pay-as-you-go, annual commitments, burstable/flexible shapes, preemptible instances
117
118
### Cost Optimization Strategies
119
120
1. Use reserved/committed capacity (30-70% savings)
121
2. Leverage spot/preemptible instances
122
3. Right-size resources
123
4. Use serverless for variable workloads
124
5. Optimize data transfer costs
125
6. Implement lifecycle policies
126
7. Use cost allocation tags
127
8. Monitor with cloud cost tools
128
129
**Reference:** See `references/multi-cloud-patterns.md`
130
131
## Migration Strategy
132
133
### Phase 1: Assessment
134
135
- Inventory current infrastructure
136
- Identify dependencies
137
- Assess cloud compatibility
138
- Estimate costs
139
140
### Phase 2: Pilot
141
142
- Select pilot workload
143
- Implement in target cloud
144
- Test thoroughly
145
- Document learnings
146
147
### Phase 3: Migration
148
149
- Migrate workloads incrementally
150
- Maintain dual-run period
151
- Monitor performance
152
- Validate functionality
153
154
### Phase 4: Optimization
155
156
- Right-size resources
157
- Implement cloud-native services
158
- Optimize costs
159
- Enhance security
160
161
## Best Practices
162
163
1. **Use infrastructure as code** (Terraform/OpenTofu)
164
2. **Implement CI/CD pipelines** for deployments
165
3. **Design for failure** across clouds
166
4. **Use managed services** when possible
167
5. **Implement comprehensive monitoring**
168
6. **Automate cost optimization**
169
7. **Follow security best practices**
170
8. **Document cloud-specific configurations**
171
9. **Test disaster recovery** procedures
172
10. **Train teams** on multiple clouds
173
174
175
## Related Skills
176
177
- `terraform-module-library` - For IaC implementation
178
- `cost-optimization` - For cost management
179
- `hybrid-cloud-networking` - For connectivity
180

© Seth Hobson · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 11,968 prompts

More by @OpenSourceBuffGuy

See all
Configuration Validation prompt image

Configuration Validation

Builds configuration validation for an application: schemas, per-environment rules, runtime checks, secret handling, tests and a security report.

slash-command, code-generation, python, best-practices, security-review, testing, audit, yaml-prompt, developer-tools, for-developers, for-devops-engineers, code, report, documentation, migration, advanced, long-form, devops, deployment, structured-output

Acid Lime 3D Streetwear Type Poster Style prompt image

Acid Lime 3D Streetwear Type Poster Style

Defines a JSON style for glossy 3D streetwear campaign posters with black block type, acid-lime marker strokes, stickers and fashion props, with fill-in variables.

image-prompt, json-prompt, template, placeholders, 3d-render, fashion, toys, poster, vibrant-colors, studio-lighting, low-angle, sticker, typography, text-rendering, structured-output, style-reference, negative-prompt, for-designers, for-marketers, long-form, advanced

Azure Static Web Apps prompt image

Azure Static Web Apps

Helps an agent create, configure and deploy Azure Static Web Apps with the SWA CLI, including local emulation, Functions APIs and CI/CD.

agent-skill, azure, deployment, github-actions, ci-cd, serverless, command-line, frontend, step-by-step-guide, for-developers, best-practices, authentication, web-development, scaffolding, cloud, api, nodejs

Reviews

Loading reviews…

Discussion

Loading comments…