Lesson 2 of 9 · 24m
Portability Boundaries and Cloud Primitives
Map which layers can move cleanly — containers, data, events, policy — and which managed primitives quietly become architectural gravity.
Portability is not binary. It is a set of boundaries with different moving costs. A stateless container is easy to move until you include its IAM permissions, queue semantics, object-storage consistency, secret rotation, metrics, logging, deployment rollout, and outage runbook. Senior operators plan the moving cost by layer instead of repeating the word portability as if it were a property of the universe.
Classify each workload by moving cost
A useful inventory uses a blunt scale:
cost layer examples
low immutable artifacts OCI images, static assets, packages
medium orchestration Kubernetes, Nomad, VM images
high state systems Postgres, Kafka, object storage, caches
high control plane integration IAM, KMS, DNS, certificates, load balancers
severe differentiated managed services BigQuery, Cosmos DB, DynamoDB, SpannerNotice that compute is rarely the hard part. Stateful systems and control-plane integration dominate the move because they carry both data and operational history.
Kubernetes is a substrate, not a portability spell
Kubernetes gives you a common deployment vocabulary across clouds. It does not normalize storage classes, load balancer annotations, node identity, ingress behavior, network policy enforcement, secret encryption, or the incident response differences between providers:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: checkout
annotations:
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/scheme: internal
spec:
rules:
- host: checkout.internal.sudosecurity.orgThat manifest is portable YAML and non-portable infrastructure at the same time. The equivalent object in GCP or Azure uses different controller semantics, health checks, TLS integration, and permission assumptions.
Cloud primitives have semantic differences
Object storage is a good example. PUT behavior, consistency, conditional writes, retention, legal hold, lifecycle transitions, signed URLs, and inventory reports are close enough for demos and different enough to matter during recovery. The same is true for queues: visibility timeout, dead lettering, ordering, deduplication, and exactly-once claims differ across SQS, Pub/Sub, and Service Bus.
Choose explicit portability tiers
For each workload, choose one:
tier 0: provider-native, no exit requirement
tier 1: restorable elsewhere in days or weeks
tier 2: deployable elsewhere in hours with manual traffic cutover
tier 3: active in two clouds with continuous state replicationTier 3 is rare and expensive. Most honest systems contain a mix. The mistake is pretending everything is tier 3 because the platform team uses containers.
Field notes
- Data gravity beats application portability; moving 40 TB is a project, not a failover button.
- Managed database failover behavior is part of your architecture even if application code never mentions the provider.
- Every abstraction layer has a lowest-common-denominator pressure that can erase useful provider features.
- Record restore time, data freshness, and operator effort next to each portability tier — not just yes or no.
Was this lesson helpful?