Draft — in editorial review, not yet published. Content has not been approved by a human reviewer.
Lesson 48 / 50 · Version 2.2.0
Cloud Architecture: AWS, Azure and Google Cloud
- Level
- Beginner–Intermediate
- Duration
- 15 min learn + 15 min apply
- Prerequisites:
- Basic networking and identity concepts
Why it matters: The three big clouds use different names for the same ideas. Learn the ideas once, then translate to any provider, and design with identity, exposure, and recovery in mind from the start.
By the end you can:
- Name the shared building blocks of cloud platforms
- Map concepts across AWS, Azure, and Google Cloud
- Explain shared responsibility
- Sketch a simple architecture with trust boundaries
Learn (15 min)
1. Shared building blocks (5 min)
| Concept | AWS | Azure | Google Cloud |
|---|---|---|---|
| Virtual machines | EC2 | Virtual Machines | Compute Engine |
| Functions | Lambda | Functions | Cloud Run functions |
| Containers | ECS / EKS | Container Apps / AKS | Cloud Run / GKE |
| Object storage | S3 | Blob Storage | Cloud Storage |
| Identity & access | IAM | Entra ID + RBAC | IAM |
| Secrets | Secrets Manager | Key Vault | Secret Manager |
| Monitoring | CloudWatch | Azure Monitor | Cloud Monitoring |
| DNS | Route 53 | Azure DNS | Cloud DNS |
| (Verify current service names; they evolve.) Resources live in accounts/subscriptions/projects and in regions and zones. |
2. Shared responsibility (5 min)
The provider secures the underlying cloud; you secure what you configure: identities, data access, network exposure, retention, backups. Managed services reduce maintenance but not your responsibility for configuration. Read each provider's current responsibility model for the services you use.
3. Design for least privilege and recovery (5 min)
Start with the workload: users, data sensitivity, traffic, recovery targets (how much downtime and data loss you can tolerate), and who operates it. Then: private storage by default; workload identities instead of embedded keys; encrypted data; logs on key actions; tested restores. A backup in the same failure domain isn't enough.
Apply (15 min)
Worked example (3 min). Internal document portal.
Users → (SSO login) → Web app (public endpoint, HTTPS only)
│ uses workload identity
▼
Private storage (no public access) ← files
│
Logs + alerts → owner; Nightly backup → second region
Questions answered: Public = web endpoint only. Storage identity = the app's role with read/write to one container. Secrets = vault. Recovery = restore test quarterly.
Lab (7 min): Draw and translate.
- Sketch an architecture for a simple client file-sharing portal (users, web tier, storage, logs, backup).
- Mark trust boundaries and the one public entry point.
- Translate each component to your chosen provider's service names.
- Write the restore-test question: "How would we prove we can recover within X hours?"
Deliverable: A diagram with a translation table. You're done when: Only intended components are public.
Check yourself (5 min)
- Name four cloud building blocks.
- Does a managed service remove your security responsibilities?
- How should an app access another cloud resource?
- Scenario: A storage bucket is "public by accident." Which design habit prevents it?
- Why test a restore?
Reference
Common mistakes
| Symptom | Likely cause | Fix |
|---|---|---|
| Unexpected public data | Default/loose sharing | Private by default; review exposure |
| Hardcoded access keys | No workload identity | Use identities + vault |
| "We have backups" but can't restore | Never tested | Scheduled restore tests |
Cheat sheet: Who uses it? What data? What's public? Which identity touches each resource? How is it monitored? What if a component or region fails? How do we restore?
Key terms: region, zone, IAM, shared responsibility, workload identity, trust boundary.
Interview prompts: Sketch a secure architecture for a file portal on any cloud.
Go deeper: AWS Well-Architected · Azure Well-Architected · Google Cloud Architecture Framework
Next: Lesson 49 — containers.