Cloud Adoption Framework
Microsoft's Cloud Adoption Framework provides an organization-wide roadmap for adopting Azure and integrating it into business, platform, governance, security, and operations. This guide connects the programming model to production decisions, failure modes, security, testing, performance, deployment, and operations.
Overview
CAF organizes cloud adoption into connected methodologies. Strategy defines motivations and outcomes; Plan prepares people, skills, inventory, costs, and a roadmap; Ready establishes the Azure environment and landing zones; Adopt migrates, modernizes, or builds cloud-native workloads. Govern, Secure, and Manage operate continuously across the estate. CAF complements the workload-focused Well-Architected Framework and implementation patterns in the Azure Architecture Center. The central design goal is aligning cloud strategy, planning, landing zones, governance, security, operations, workload migration, and measurable business outcomes. The Cloud Adoption Framework supplies guidance and decision structure; each organization must tailor it to regulations, operating model, skills, portfolio, risk appetite, and workload needs. Teams should begin with a concrete user outcome and quality-attribute scenario, choose the smallest architecture that satisfies it, and record the operational owner. Migrating workloads before identity, connectivity, policy, ownership, budgets, logging, recovery, and support are ready reproduces legacy risk at cloud speed. A production design therefore needs explicit limits, identity, cancellation, telemetry, evaluation, recovery, and a safe change path. The dedicated sample keeps external infrastructure optional so readers can inspect the governing mechanics locally, then maps those mechanics to the hosted services and controls required in a real environment.
What you will learn
- Explain the purpose and boundaries of Cloud Adoption Framework without confusing the tool with the whole architecture.
- Decide when Cloud Adoption Framework is appropriate and when a simpler design is safer.
- Design the core contracts, ownership, data flow, and failure behavior for aligning cloud strategy, planning, landing zones, governance, security, operations, workload migration, and measurable business outcomes.
- Apply authentication, authorization, validation, privacy, and least privilege at every trust boundary.
- Test normal behavior, negative paths, dependency failure, recovery, and operational signals.
- Deploy incrementally with observable acceptance criteria, rollback, and accountable ownership.
- Run and extend the dedicated CAF Landing Zone Readiness sample.
Prerequisites
- .NET 10, C# async programming, dependency injection, configuration, and structured logging.
- The domain and platform fundamentals referenced by Cloud Adoption Framework.
- Basic security, testing, observability, and continuous-delivery concepts.
- A .NET 10 SDK to run CAF Landing Zone Readiness; no paid cloud account is required for its default path.
When to use Cloud Adoption Framework
Good fit
- Use Cloud Adoption Framework when aligning cloud strategy, planning, landing zones, governance, security, operations, workload migration, and measurable business outcomes directly addresses a measured product or operational need.
- Use it when a named team can own the contracts, data, deployment, telemetry, cost, and incident response.
- Introduce it behind a narrow boundary and prove the riskiest assumption with a production-shaped experiment.
Choose another approach when
- Avoid Cloud Adoption Framework when the same outcome is available through a smaller in-process or managed capability.
- Do not adopt it only for résumé value, diagram symmetry, or a vendor checklist.
- Do not proceed without a threat model, failure policy, observability, and an exit or rollback path.
Key concepts
Business outcomes, financial justification, operating model, skills, digital estate, prioritization, and an actionable adoption backlog set direction.
Tenant, identity, management groups, subscriptions, networking, policy, security, and platform automation create a governed environment for workloads.
Teams choose migration, modernization, or cloud-native paths and onboard workloads through repeatable application landing zones and delivery practices.
Continuous controls, security posture, operations, cost, compliance, ownership, and improvement keep the cloud estate aligned as it grows.
Landing-zone readiness is a first-class design concern for aligning cloud strategy, planning, landing zones, governance, security, operations, workload migration, and measurable business outcomes.
Adoption and governance operating model is a first-class design concern for aligning cloud strategy, planning, landing zones, governance, security, operations, workload migration, and measurable business outcomes.
Architecture
Business strategy becomes an adoption plan and landing-zone foundation; workload teams then migrate or build while governance, security, and management operate continuously across the estate.
Conceptual architecture · Adapt to your system context
Implementation walkthrough
Build the critical path deliberately, then verify its observable behavior.
- 01
- 02
- 03
- 04
- 05
- 06
- 07
Code example
A small application landing-zone module exposes ownership and environment metadata as required deployment inputs instead of adding them manually later.
targetScope = 'subscription'
@allowed([
'dev'
'test'
'prod'
])
param environment string
param workloadName string
param owner string
param location string
resource workloadGroup 'Microsoft.Resources/resourceGroups@2024-03-01' = {
name: '${workloadName}-${environment}'
location: location
tags: {
workload: workloadName
environment: environment
owner: owner
managedBy: 'platform-landing-zone'
}
}Testing strategy
Test Cloud Adoption Framework as a behavior and operational boundary, not only as a library call.
- Unit-test deterministic policy, validation, mapping, and error classification.
- Use contract tests for provider, protocol, platform, and downstream boundaries.
- Run integration tests with realistic serialization, configuration, identity, cancellation, and dependency behavior.
- Exercise the primary failure: Migrating workloads before identity, connectivity, policy, ownership, budgets, logging, recovery, and support are ready reproduces legacy risk at cloud speed.
- Load-test representative and adversarial inputs while observing latency, errors, saturation, and cost.
- Keep a versioned acceptance suite that protects behavior during dependency and configuration changes.
Security considerations
Treat Cloud Adoption Framework input, dependencies, credentials, output, and administrative controls as separate trust boundaries.
- Authenticate the caller and workload; authorize the operation and resource at the system that performs it.
- Validate type, size, count, format, tenant, and allowed values before expensive or consequential work.
- Use short-lived identity and least privilege; keep secrets out of source, logs, prompts, packages, and client storage.
- Classify data, minimize collection and retention, redact telemetry, encrypt in transit and at rest, and support deletion policy.
- Require explicit approval and idempotency for external side effects; audit actor, intent, policy decision, and outcome.
- Patch and inventory dependencies, pin trusted sources, scan artifacts, and restrict outbound destinations.
Performance and scalability
Optimize the end-to-end user outcome within downstream capacity and cost limits.
- Measure p50, p95, p99, throughput, failures, saturation, queue time, payload size, and cost together.
- Set end-to-end deadlines and propagate cancellation instead of stacking independent timeouts.
- Bound concurrency, queues, retries, payloads, fan-out, and caches so overload cannot grow without limit.
- Cache only when identity, freshness, privacy, invalidation, and failure semantics are explicit.
- Batch or stream only when the workload and user latency target justify the complexity.
- Capacity-test dependency degradation and recovery because retry and replay traffic often dominate peak load.
Deployment and operations
Promote an immutable, observable change through environments with compatibility and rollback evidence.
- Keep environment configuration external, validated at startup, and free of long-lived credentials.
- Provision dependencies, identity, network policy, dashboards, alerts, and budgets through reviewed automation.
- Use additive contracts and mixed-version compatibility before removing old behavior.
- Deploy with canary or staged exposure, health gates, graceful shutdown, and automated rollback signals.
- Record version and configuration in telemetry; retain runbooks, ownership, recovery targets, and escalation paths.
- Rehearse dependency loss, restore, credential rotation, region or device failure, and data recovery where applicable.
Common problems and fixes
The local sample works but production behavior differs
Likely cause: Provider, identity, network, limits, data, or configuration assumptions were hidden.
Fix: Compare effective configuration and correlated dependency telemetry, then reproduce the smallest differing boundary.
Latency rises sharply under load
Likely cause: Concurrency, fan-out, retries, queues, or a downstream quota is unbounded.
Fix: Inspect saturation and queue time, stop retry amplification, apply backpressure, and reduce work per request.
A request succeeds twice or creates duplicate effects
Likely cause: The caller retried after an ambiguous result and the operation was not idempotent.
Fix: Use a stable operation ID, persist the outcome with the effect, and return the recorded result on replay.
Sensitive information appears in telemetry
Likely cause: Raw inputs, outputs, headers, or exceptions were logged without classification and redaction.
Fix: Stop the leak, restrict and rotate access as needed, redact by default, and test the telemetry schema.
A dependency upgrade changes behavior
Likely cause: Application semantics depended on provider-specific defaults or an untested protocol detail.
Fix: Pin or roll back, compare release notes and contract traces, then update the acceptance suite before retrying.
Operators cannot explain a failed user outcome
Likely cause: Logs, metrics, traces, version, and business identifiers are not correlated.
Fix: Add end-to-end correlation and a dashboard that links the user journey to dependency and deployment signals.
Best practices
- Tie adoption to measurable business outcomes, named owners, funding, risk, and an operating model rather than a technology migration target alone.
- Use enterprise-scale landing-zone principles but tailor implementation to organizational size, compliance, connectivity, and platform capabilities.
- Automate subscription and application landing-zone vending, policy, identity, networking, budgets, observability, and workload onboarding as platform products.
- Run Govern, Secure, and Manage continuously, and assess individual workloads with the Well-Architected Framework throughout their lifecycle.
- Separate platform landing-zone ownership from workload subscription ownership while agreeing interfaces, policies, support, and escalation.
- Use policy and automation to prevent or quickly detect drift, but test effects and provide a governed exception lifecycle.
Production checklist
- The need for Cloud Adoption Framework, alternatives, owner, constraints, and exit criteria are recorded.
- Contracts, data ownership, trust boundaries, limits, and compatibility policy are explicit.
- Identity, least privilege, validation, privacy, redaction, audit, and side-effect approval are enforced.
- Timeout, cancellation, retry, backpressure, idempotency, fallback, and recovery behavior are tested.
- Logs, metrics, traces, cost, quality, business outcomes, dashboards, alerts, and runbooks identify version and owner.
- Capacity, dependency failure, restore, rollback, credential rotation, and incident response are rehearsed.
- Lifecycle, deprecation, data retention, dependency patching, and operational cost have named owners.
Common interview questions
How is CAF different from the Azure Well-Architected Framework?
CAF guides organization-wide cloud adoption, platform readiness, governance, security, and management. WAF evaluates the design and operation of individual workloads across five quality pillars.
What is an Azure landing zone?
A scalable environment and operating model for identity, resource organization, networking, security, governance, management, and workload subscriptions.
Why are Govern, Secure, and Manage continuous?
The estate, threats, regulations, costs, services, and workloads keep changing, so controls and operations must evolve throughout adoption rather than occur once at the end.
Why should strategy precede migration?
Business outcomes, constraints, portfolio priorities, and economics determine which workloads move, modernize, replace, retain, or retire.
How would you introduce Cloud Adoption Framework safely?
Start with one measurable user journey, make ownership and trust boundaries explicit, test the highest-risk assumption, release gradually, and compare operational evidence to the acceptance criteria.
Dedicated GitHub sample
Clone, run, test, and modify the focused implementation created for this guide.
CAF Landing Zone Readiness
A .NET 10 landing-zone readiness assessment that scores identity, organization, network, policy, operations, security, cost, and recovery gates.
- Run
dotnet run --project src/CafLandingZoneReadiness- Test
dotnet run --project src/CafLandingZoneReadiness -- --self-test