Design Patterns
The following patterns are proven and derived from the WAF++ principles. They are formulated in a cloud-agnostic manner, with provider-specific notes.
Pattern 1: Region-Pinned Landing Zone
Problem
Without a structured landing zone, individual teams can create resources in arbitrary regions.
Solution
A landing zone with built-in region pinning overrides all other measures through technical upfront constraints.
Structure
Organization Root
βββ Management Account
β βββ Service Control Policy: DenyOutsideApprovedRegions
βββ Sovereign Workload OU
β βββ Production Account
β β βββ Terraform: provider.region = var.aws_region (validated)
β β βββ VPC Endpoints: S3, KMS, ECR, STS
β β βββ CloudTrail: multi-region, log-validation, sovereign S3
β βββ Non-Production Account
β βββ Same constraints, different data classification
βββ Shared Services Account
βββ Central Logging: CloudWatch Logs, S3 (eu-central-1 enforced)
Pattern 2: Sovereign Key Hierarchy
Solution
A three-tier key hierarchy based on data criticality:
Tier 1 β Public/Low-sensitivity Data
βββ Provider-Managed Key (PMK) β acceptable
Tier 2 β Internal/Operational Data
βββ Customer-Managed Key (CMK) in Cloud-KMS
βββ Rotation: automatic (annual)
βββ Key Policy: restrict to specific services/principals
Tier 3 β PII / Financial / Health Data
βββ BYOK: Customer-Key, Cloud-managed HSM (CloudHSM, Azure HSM, Cloud HSM)
or
HYOK: Key in external HSM (Thales, Utimaco, Securosys)
βββ Access for cloud provider: technically not possible
βββ Rotation: manual / process-driven
Pattern 3: Sovereign Observability Stack
Solution
A sovereign observability stack processes data within approved regions:
Application
βββ OpenTelemetry SDK (vendor-neutral)
βββ Traces β Sovereign Trace Backend (Jaeger/Tempo in eu-central-1)
βββ Metrics β Sovereign Metrics Backend (Prometheus/Thanos in eu-central-1)
βββ Logs β CloudWatch/S3 (eu-central-1, retention=90d, KMS-encrypted)
βββ Optional export to DPA-secured SIEM
Pattern 4: Break-Glass with Zero Standing Privilege
Solution
Zero Standing Privilege: admin access does not exist permanently, but is only activated on demand.
Normal Operations:
βββ Developers: read-only or scoped write (application level)
βββ Operations: operations role (no IAM access)
βββ Platform: platform role (IaC deploy, no data access)
Break-Glass Activation:
βββ Trigger: documented incident / approval (Dual Control)
βββ Activation: JIT system (IAM Identity Center / Azure PIM)
βββ Duration: max. 4h, automatic deactivation after expiry
βββ Logging: CloudTrail captures all actions
βββ Review: post-incident review within 5 business days, record archived
Pattern 5: Sovereign Egress Gateway
Solution
Centralized egress point with domain allow-list and anomaly detection:
Workload Subnet (Private)
βββ all outgoing connections β Egress Gateway
Egress Gateway
βββ AWS Network Firewall / Azure Firewall / GCP Cloud Armor
βββ Domain Allow-List (FQDN-based)
β βββ Approved: *.amazonaws.com (via VPC Endpoint)
β βββ Approved: *.internal.company.com
β βββ Blocked: * (default deny)
βββ DNS: Route53 Resolver / Azure Private DNS
βββ Logging: Flow Logs β sovereign S3
VPC Endpoints (no internet routing):
βββ com.amazonaws.eu-central-1.s3
βββ com.amazonaws.eu-central-1.kms
βββ com.amazonaws.eu-central-1.ecr.api
βββ com.amazonaws.eu-central-1.sts
Pattern 6: Exit-Ready IaC Architecture
Solution
Portable IaC with abstract modules and open standards:
IaC Abstraction Layer
βββ Module: network/vpc β AWS VPC or Azure VNet
βββ Module: storage/object β S3 or Azure Blob or GCS
βββ Module: database/relational β RDS PostgreSQL or Azure PostgreSQL
βββ Module: compute/container β EKS or AKS or GKE
Data Standards:
βββ PostgreSQL (open) instead of Aurora Serverless v2 (proprietary)
βββ OpenTelemetry instead of X-Ray (proprietary)
βββ S3-compatible API instead of proprietary object store features
Exit-Readiness:
βββ Quarterly Data Export Test: all data exported and validated
βββ Terraform Plan in target cloud: IaC adapted and planned
βββ Lessons Learned documented