Overview
The infrastructure and publishing pipeline powering mrck.si—designed for zero server maintenance while applying defense-in-depth controls normally reserved for larger production workloads.
Key Controls
- Dual-Layer Origin Lockdown: AWS WAFv2 (
default_action = BLOCK) accepts requests on CloudFront only when the TCP peer IP belongs to Cloudflare's official IPv4/IPv6 ranges and carries a 256-bitX-Origin-Verifyheader injected at the Cloudflare edge. - End-to-End TLS 1.3 & KMS Storage: Viewer → Cloudflare (
min_tls_version = 1.3, HSTS preload) → CloudFront (TLSv1.3_2025, ECDSA P-256 ACM certificate) → Private S3 via SigV4 OAC, encrypted at rest with a customer-managed KMS key. - Keyless GitHub OIDC CI/CD: Pushing to
mainruns CSP, SRI, broken-link, and WCAG verification, assumes a repository-scoped IAM role via OpenID Connect, syncs S3 (pruning stale keys), and invalidates CloudFront automatically.