Guide

A cloud provider sells a few dozen kinds of building block: virtual machines, disks, object buckets, managed databases and queues. AWS has more than 200 services and GCP well over 100. Most production systems are built from about fifteen of them. Learn those well, and you can read most architecture diagrams, estimate their cost and spot where they will fail.

The page starts with the physical layout, regions and zones, because almost every reliability decision depends on it. Then it covers compute, storage and managed services. Each section shows the AWS and GCP names side by side.

The concept pages

StepConceptWhat it answers
1Regions and availability zonesWhat survives when a zone or region fails?
2VMs, spot and autoscalingHow do you size, buy and scale virtual machines?
3Storage typesBlock, object or file: which one fits the data?
4Managed databases and messagingWhich managed service matches the access pattern?
5Managed vs self-hostedWhen is running it yourself worth the cost?

AWS and GCP side by side

Most concepts translate one to one. The differences are in the details. GCP VPCs are global, while AWS VPCs are regional. GCP projects are the billing and IAM boundary, where AWS uses accounts.

CategoryAWSGCP
VMsEC2Compute Engine
KubernetesEKSGKE
Containers, serverlessECS/Fargate, App RunnerCloud Run
FunctionsLambdaCloud Run functions
Block storageEBSPersistent Disk / Hyperdisk
Object storageS3Cloud Storage
RelationalRDS, AuroraCloud SQL, AlloyDB, Spanner
CacheElastiCacheMemorystore
Queue and pub/subSQS, SNS, EventBridgePub/Sub, Cloud Tasks, Eventarc
WarehouseRedshiftBigQuery

A review checklist: the Well-Architected pillars

AWS's Well-Architected Framework groups good practice into six pillars. Use them as questions when you review a design doc.

PillarQuestion to ask
Operational excellenceIs everything in code, and is there a runbook?
SecurityIs IAM least-privilege, and is nothing public by accident?
ReliabilityDoes it span AZs with spare capacity, and have backups been restored?
Performance efficiencyIs the instance family right, and was it load-tested?
Cost optimisationIs it rightsized, and are cross-AZ and egress charges understood?
SustainabilityAre idle resources shut down?

A design that answers each row in a sentence is in good shape. If it cannot answer the reliability row ("what happens if one zone goes away?"), it is not ready.

Common mistakes

  • Assuming a managed service removes the work. You still own the schema, the access patterns and the bill.
  • Picking a service by its name. Pick it by how it fails, and what it costs at your traffic.
  • Ignoring data transfer. Cross-AZ and egress traffic are charged, and they grow with chatty services.

Key takeaways

  • Regions isolate failures. Zones are close enough to replicate across synchronously, so design every tier to lose one.
  • Default to managed databases, caches and queues. Count engineer time as well as the bill.
  • Learn the concepts first, then the names. AWS and GCP map almost one to one.

Further learning

Fireship's ten-minute tour is a fast way to put names to the long tail of AWS services, so you can recognise them in diagrams.

Top 50+ AWS Services Explained in 10 MinutesFireship
AWS Well-Architected FrameworkThe AWS Well-Architected Framework provides guidance to help developers build and deploy applications faster, lower risk, and make informed decisions following AWS best practices.Amazon Web Services, Inc.

Next, see how zones and regions shape a design in regions and availability zones.