AIDAN course book · Specialty · Specialty exam prep
AI Cloud Operations Course
Validates that you can design, build and secure the infrastructure that backs AI and web services—from managed platforms (Vercel, Supabase) and infrastructure as code (Terraform) to edge and DNS (Route 53, Cloudflare), zero-trust internal networks (ZTNA, VPN) and operational reliability.
Contents
- How to use this book
- Chapter 1. Managed app and data platforms (Foundations: Vercel & Supabase)
Vercel environment separation: The boundary between Preview and Production · Environment variables and the NEXT_PUBLIC_ exposure boundary · Deployment Protection and automation bypass design · Function region placement, execution time limits, Fluid Compute, and streaming · Supabase Postgres and Supavisor connection pooling: 6543 versus 5432 · Row Level Security (RLS): The exact working principles of USING and WITH CHECK · Trust boundaries of publishable and secret keys · Supabase Auth callback allowlist and mobile/web authentication flows · Supabase Storage: Public versus private buckets and signed URLs (Signed URL) · Active CPU billing and Vercel Sandbox · Discontinuation of automatic Data API exposure and RLS · Legacy API key and Postgres version schedules · Serverless cold starts, DB TLS handshakes, and transaction-local context · RLS performance pitfalls and bypass pattern inspection in multi-tenant AI services
- Chapter 2. Infrastructure as Code and deployment automation (Intermediate: Terraform & IaC)
Declarative model and core Terraform workflow · Role and structure of the state file (terraform.tfstate) · Remote backend and state locking · Module design and version pinning · Environment isolation: directory-based state separation versus workspaces (Workspace) · Precision decoding of terraform plan and blocking destructive changes (prevent_destroy) · Zero-downtime refactoring and importing existing resources: moved blocks and import blocks · Plaintext secret exposure in state files and managing sensitive variables · Drift detection and recovery procedures · Keyless CI/CD pipeline via GitHub Actions OIDC · Using variables in module and provider versions (Terraform 1.15 and 1.17) · Changes to plan in 1.17: -minimal-refresh and Terraform Policy · Choosing licenses and distributions: Terraform BSL and OpenTofu 1.13 · Attack surface of PR-based infrastructure automation (Atlantis pattern) and plan file integrity · Reducing the state file blast radius in large-scale infrastructure
- Chapter 3. Global DNS and edge networking (Advanced: Route 53 & Cloudflare)
DNS resolution path and core records: Why CNAME cannot be used for the root domain · Route 53 routing policies and zero-downtime traffic control via health checks · Zero-downtime domain and server migrations and the law of prior TTL (Time To Live) reduction · Cloudflare Proxied (orange cloud) versus DNS-only (gray cloud) and origin IP masking · SSL/TLS encryption modes: Why Flexible must never be used and Full (Strict) is the standard · WAF, Rate Limiting, Bot control, and protecting legitimate webhooks · CDN cache rules and preventing cache poisoning for dynamic APIs and streaming · Cloudflare Workers and Queues: Edge computing and asynchronous task decoupling · Cloudflare AI Gateway: Observability, caching, rate limiting, and fallback for LLM traffic · Route 53 accelerated recovery: Until records can be modified again · Route 53 DNS Firewall: Egress control inspecting domain names only · Workers secrets: Per-Worker secrets and account-level Secrets Store · Differences between DNS weighted routing and edge routing in zero-downtime blue-green infrastructure transitions · Origin IP leak paths and complete origin lockdown
- Chapter 4. Corporate network security and remote access (Enterprise: ZTNA & VPN rollout)
Limitations of traditional perimeter VPNs and Zero Trust (NIST SP 800-207) · Outbound-only connectors: cloudflared (Cloudflare Tunnel) and eliminating inbound ports · Mesh VPNs (WireGuard and Tailscale): Subnet routers, DERP relays, and least-privilege ACLs · Split tunneling (Split Tunneling) and resolving home router range (RFC 1918) conflicts · Split-horizon DNS (Split-Horizon DNS) and preventing internal domain exposure · IdP integration (SSO/MFA) and automated deprovisioning of departing employees via SCIM · Device posture (Device Posture) and enforcing endpoint security health · Distributing endpoint root CA certificates and resolving TLS errors in developer CLI tools and coding agents · What changed in name versus what changed in recommendation: Cloudflare One Client and Tailscale grants · RPC ports on internal inference servers: Do not leave them open just because they are inside the internal network · Token ownership and lifespan: MCP authorization and Vercel OIDC federation · Short-lived SSH Certificates without SSH Private Key Distribution and Session Auditing · Balancing developer productivity and security controls: Company-wide phased ZTNA rollout strategy
- Chapter 5. Infrastructure reliability, secret management and incident response
Zero-downtime secret and certificate rotation: Dual-Key Acceptance Pattern · Criteria for deciding between scheduled rotation and emergency revocation in key exposure incidents · Backup strategies and Point-in-Time Recovery (PITR): RPO/RTO design and recovery rehearsals · Zero-downtime schema migration: Expand-Contract (parallel change) pattern · The three pillars of observability and OpenTelemetry distributed tracing · Log scrubbing and sensitive information masking · Cost and usage anomaly alerts and circuit breakers · Incident isolation and rollback runbooks and blameless postmortems · Changes in secret management tools in 2026: Vercel Secret, AWS managed rotation, and Vault 2.0 · GPU memory on self-hosted inference servers: weight dtype and KV cache · Deserialization risks in model serving and vLLM patch decisions · Zero-Lock DDL Checklist in Large-Scale PostgreSQL Operations · Layered Health Checks and Graceful Degradation in Multi-Region and Multi-Vendor AI Services
- Appendix A. Glossary
- Appendix B. Self-check answers and explanations
- Appendix C. Exam day guide
- Appendix D. Reference documents
AIDAN wrote this course book independently from each vendor's official documentation. It is not affiliated with or endorsed by them. Products and policies change, so check the linked official documentation for the latest details.