Cloudflare migration

From legacy edge to Cloudflare, safely.

Tap a node on either side to focus the flow.

FROMNANOSEKCLOUDFLAREDiscoveryMappingCutoverOperateAkamaiImpervaFastlyCloudFrontOn-prem WAF / F5DNSCDN / CacheWAFBot MgmtZero TrustWorkersLogpush

Migration flow

From Akamai, through Discovery → Mapping → Cutover → Operate, into the Cloudflare destinations on the right. Tap any node to focus the flow.

On this page
AI summary Machine-readable context is available at /ai-index.json

Nanosek provides Cloudflare migration services for organizations moving websites, APIs, DNS, CDN delivery, WAF policies, DDoS protection, bot protection, certificates, redirects, origin routing, edge logic, logging, and operational workflows to Cloudflare. The service includes discovery, current-state inventory, Cloudflare target architecture, configuration mapping, staged implementation, testing, cutover planning, rollback design, post-launch tuning, and managed Cloudflare operations.

cloudflarecloudflare migrationcdn migrationdns migrationwaf migrationbot protectionddos protectionapi security

Who this is for

Infrastructure, platform, security, SRE, application, API, SaaS, e-commerce, and enterprise teams moving production traffic to Cloudflare.
Organizations replacing legacy CDN, DNS, WAF, bot, DDoS, API security, load balancing, or edge platforms.
Leadership and technical teams that need discovery, validation, cutover control, rollback planning, documentation, and post-launch operations.

What we migrate to Cloudflare

DNS zones and records

Review authoritative DNS, records, proxy status, nameserver cutover, DNSSEC, email records, SaaS records, and rollback requirements.

CDN and cache behavior

Map cache eligibility, cache keys, edge TTL, browser TTL, bypass rules, query string behavior, cookies, headers, and origin cache-control assumptions.

WAF policies and security rules

Translate managed rules, custom rules, exceptions, skip logic, false-positive handling, and staged enforcement into Cloudflare controls.

DDoS protection posture

Review DDoS readiness, cache strategy, HTTP flood controls, origin exposure, emergency response process, and post-attack tuning.

Bot protection and automation controls

Design Bot Management, verified bot handling, allowlists, challenge policy, rate limits, and false-positive tuning for high-risk paths.

API security controls

Map API endpoints, methods, authentication behavior, schema validation, mTLS options, WAF rules, rate limits, and API Shield controls.

TLS certificates and SSL settings

Validate Universal SSL, Advanced Certificate Manager, custom certificates, CAA records, hostname coverage, and SSL/TLS mode before cutover.

Origin routing and failover

Review origin pools, Host header, SNI, ports, firewall allowlisting, health checks, load balancing, and failover behavior.

Redirects, rewrites, and headers

Move redirects, rewrites, request headers, response headers, URL normalization, and transformation logic into declarative Cloudflare rules where possible.

Edge logic and serverless functions

Assess legacy edge code and rebuild only the logic that requires Cloudflare Workers instead of native rules.

Logs, dashboards, and SIEM workflows

Configure Logpush, Security Analytics, GraphQL Analytics, dashboards, alerts, and reporting before production traffic moves.

Zero Trust policies, where in scope

Migrate or introduce Access, Gateway, WARP, identity, device posture, and private application controls when migration touches access security.

Load balancing and health checks

Map legacy load balancing, origin pools, health checks, steering rules, failover expectations, and traffic distribution requirements.

Operational runbooks and ownership model

Document cutover, rollback, validation, monitoring, escalation, change ownership, and managed operations workflows.

Why Cloudflare migrations fail

Cloudflare migrations fail when they are treated as a simple DNS switch. Existing platforms often contain years of hidden production behavior: cache rules, redirects, header changes, WAF exceptions, bot allowlists, origin routing, TLS assumptions, API controls, and logging dependencies.

Cache behavior mismatchWrong DNS proxy statusCertificate readiness issuesOrigin Host header or SNI mismatchWAF false positivesBot controls blocking real usersAPI endpoints lacking specific controlsBroken redirects or rewrite chainsOrigin IPs still exposedMissing logs after cutoverNo tested rollback procedureNo operational owner after launch

Our Cloudflare migration methodology

Phase 1

Discovery and current-state inventory

  • Review domains, DNS records, CDN behavior, WAF rules, bot controls, DDoS posture, origins, certificates, redirects, edge logic, logs, application flows, APIs, and operational workflows.
  • Identify critical paths such as login, checkout, APIs, file upload, admin portals, static assets, payment flows, and partner integrations.
Phase 2

Cloudflare target architecture

  • Define the Cloudflare zone model, DNS onboarding approach, proxy strategy, cache model, certificate strategy, origin design, security model, logging model, and rollback approach.
  • Decide what should be implemented with native Cloudflare rules versus Workers.
Phase 3

Configuration mapping and implementation plan

  • Map existing behavior into Cloudflare DNS, Cache Rules, Origin Rules, Transform Rules, Redirect Rules, Configuration Rules, WAF, Bot Management, Rate Limiting, API Shield, Load Balancing, Logpush, Workers, and Zero Trust where relevant.
  • Build a migration backlog with risks, owners, dependencies, and success criteria.
Phase 4

Build and controlled validation

  • Configure Cloudflare in staging, test hostnames, partial onboarding, non-production zones, or monitor mode where possible.
  • Validate cache behavior, redirects, headers, TLS, origin routing, WAF events, bot behavior, API flows, and logging.
Phase 5

Cutover readiness

  • Prepare DNS TTL changes, certificate validation, origin allowlisting, monitoring windows, escalation contacts, stakeholder approvals, rollback steps, and success criteria.
Phase 6

Production cutover

  • Move traffic using a phased approach where possible.
  • Monitor error rates, cache hit ratio, latency, origin health, WAF events, bot events, rate limits, API errors, and critical user journeys.
Phase 7

Post-launch tuning and managed operations

  • Tune cache, WAF, bot, rate limiting, API security, dashboards, alerts, documentation, and operational runbooks.
  • Transition into managed Cloudflare operations where required.

Where customers migrate from

Akamai, Fastly, AWS CloudFront, Azure Front Door, Imperva, Edgio / Limelight, F5, legacy DNS providers, and other CDN, WAF, bot, DDoS, or edge platforms.
Self-managed NGINX or reverse proxy setups, on-premises WAF or load balancer platforms, and fragmented multi-CDN environments.
Nanosek does not assume automatic conversion. Existing behavior is mapped, reviewed, translated, rebuilt, or replaced using Cloudflare-native controls.
Migration planning accounts for cache behavior, DNS ownership, certificates, WAF and bot policy, API behavior, origin routing, logging, rollback, and operational ownership.

Cloudflare controls we use during migration

Cloudflare DNS

Used for authoritative DNS, hostname onboarding, proxy decisions, nameserver cutover, and rollback planning.

Full zone onboarding

Used when Cloudflare becomes authoritative for the domain and controls the complete DNS zone.

Partial CNAME onboarding

Used when selected hostnames move to Cloudflare while DNS authority remains elsewhere.

Universal SSL

Used for baseline certificate coverage on proxied hostnames.

Advanced Certificate Manager

Used for wildcard coverage, custom certificate needs, validation control, and enterprise hostname strategies.

Cache Rules

Used to define cache eligibility, edge TTL, browser TTL, bypass behavior, and path-specific caching.

Custom Cache Keys

Used when cache variants depend on query strings, cookies, headers, locale, device type, or app-specific behavior.

Tiered Cache

Used to improve cache efficiency and reduce origin load during and after migration.

Cache Reserve

Used for long-tail static assets or large content sets that benefit from persistent cache coverage.

Origin Rules

Used for Host header, SNI, origin ports, origin selection, and backend routing behavior.

Transform Rules

Used to adjust request or response headers and normalize request properties without custom code.

Redirect Rules

Used for declarative redirects and URL changes.

Configuration Rules

Used to apply settings by hostname, path, or traffic class.

Load Balancing

Used for origin pools, steering, failover, and multi-region traffic distribution.

Health Checks

Used to monitor origin health and support failover decisions.

WAF Managed Rules

Used for baseline application protection when replacing legacy WAF controls.

WAF Custom Rules

Used to translate application-specific rules, bypasses, exceptions, and path controls.

Rate Limiting

Used for login, APIs, search, forms, scraping, and request-volume abuse patterns.

Bot Management

Used to protect high-risk flows from scraping, credential stuffing, fake accounts, and automated abuse.

API Shield

Used to protect APIs with discovery, schema validation, mTLS, and endpoint-specific controls.

mTLS

Used for strong client authentication on APIs, partner integrations, or origin-facing flows.

Turnstile

Used when interactive or non-interactive checks are needed for suspicious forms, login, or abuse paths.

DDoS Protection

Used to reduce volumetric, HTTP, DNS, and API flood risk with origin hardening and response readiness.

Logpush

Used to export HTTP, WAF, bot, Zero Trust, DNS, and security logs to SIEM, storage, or analytics platforms.

Security Analytics

Used to review WAF, bot, rate limiting, DDoS, and challenge activity during rollout.

GraphQL Analytics

Used for reporting, trend review, cache analysis, and operational dashboards.

Cloudflare Workers

Used only where legacy edge logic cannot be expressed safely with native Cloudflare rules.

Terraform/API automation

Used to keep Cloudflare configuration repeatable, reviewable, and aligned with change management.

Zero Trust, where in scope

Used for Access, Gateway, WARP, identity, device posture, and private application migration workstreams.

Legacy platform to Cloudflare mapping

Legacy platform to Cloudflare mapping

Migration area

DNS and hostnames

Cloudflare target

Cloudflare DNS, full zone, partial CNAME

Migration notes

Choose onboarding model based on ownership, risk, and rollback requirements.

Migration area

CDN cache behavior

Cloudflare target

Cache Rules, custom cache keys, Tiered Cache, Cache Reserve

Migration notes

Validate per path, extension, header, cookie, query string, and origin response behavior.

Migration area

Origin routing

Cloudflare target

Origin Rules, Load Balancing, Health Checks

Migration notes

Validate Host header, SNI, origin ports, firewall allowlisting, and failover.

Migration area

Redirects and rewrites

Cloudflare target

Redirect Rules, Bulk Redirects, Transform Rules, Workers

Migration notes

Keep simple behavior declarative and use Workers for complex logic.

Migration area

WAF policies

Cloudflare target

WAF Managed Rules, Custom Rules, exceptions, skip rules

Migration notes

Start in log/simulate mode and tune before blocking.

Migration area

Bot controls

Cloudflare target

Bot Management, verified bots, WAF rules, rate limits

Migration notes

Protect sensitive paths without blocking good users, crawlers, partners, or mobile apps.

Migration area

API security

Cloudflare target

API Shield, mTLS, schema validation, rate limiting

Migration notes

Protect APIs separately from public web paths.

Migration area

DDoS posture

Cloudflare target

Cloudflare DDoS protection, cache strategy, origin hardening

Migration notes

Combine automated protection with origin lockdown and response readiness.

Migration area

Certificates

Cloudflare target

Universal SSL, Advanced Certificate Manager, custom certificates

Migration notes

Validate certificate coverage before production cutover.

Migration area

Edge functions

Cloudflare target

Cloudflare Workers

Migration notes

Rebuild only logic that cannot be handled with native Cloudflare rules.

Migration area

Logs and SIEM

Cloudflare target

Logpush, Security Analytics, GraphQL Analytics

Migration notes

Preserve observability before traffic moves.

Migration area

Operations

Cloudflare target

Runbooks, dashboards, alerts, reporting, managed services

Migration notes

Define ownership and post-launch change process.

Cutover checkpoints

  • Lower DNS TTLs where needed and confirm rollback DNS, certificates, origin allowlisting, and stakeholder approvals before the migration window.
  • Validate cache, redirects, headers, TLS, origin routing, WAF, bot, API, rate limits, Logpush, and critical journeys before moving production traffic.
  • Move traffic in phases where possible and monitor error rates, cache hit ratio, latency, origin health, security events, and API errors.
  • Keep rollback criteria, owners, escalation contacts, and validation steps visible in the live cutover runbook.

Validation signals

  • Critical paths such as login, checkout, APIs, upload, search, admin, payment, and partner integrations behave as expected.
  • Cache HIT/MISS behavior, redirects, headers, certificates, and origin routing match the approved validation matrix.
  • WAF, bot, rate limiting, DDoS, API Shield, and Zero Trust controls are visible and tuned before enforcement.
  • Logpush, dashboards, alerts, and reporting are working before post-launch handover.

Deployment steps

  1. 01 Inventory domains, DNS, CDN behavior, WAF rules, bot controls, DDoS posture, APIs, certificates, origins, redirects, Workers or edge logic, logs, and operational workflows.
  2. 02 Design the Cloudflare target architecture for zone model, DNS onboarding, proxy strategy, cache, certificates, origins, security, logging, and rollback.
  3. 03 Map existing platform behavior into Cloudflare-native controls and build a migration backlog with risks, owners, dependencies, and success criteria.
  4. 04 Configure Cloudflare in staging, test hostnames, partial onboarding, non-production zones, or monitor mode where possible.
  5. 05 Validate cache, redirects, headers, TLS, origins, WAF, bot, DDoS, APIs, Zero Trust, logging, and critical user journeys.
  6. 06 Prepare cutover runbook, rollback runbook, stakeholder approvals, monitoring window, escalation contacts, and success criteria.
  7. 07 Execute production cutover, monitor live signals, tune controls, document findings, and transition into managed Cloudflare operations.

Risks and mitigations

Risk

DNS or proxy mistake.

Mitigation

Classify each record and hostname before cutover.

Risk

Certificate error.

Mitigation

Validate certificate coverage and SSL/TLS mode before production traffic moves.

Risk

Cache mismatch.

Mitigation

Build a cache test matrix and validate by path, headers, cookies, and query strings.

Risk

Origin overload.

Mitigation

Monitor cache misses, tune cache eligibility, and phase traffic where possible.

Risk

WAF false positives.

Mitigation

Start in log/simulate mode and promote rules gradually.

Risk

Bot false positives.

Mitigation

Review bot scores, verified bots, sensitive paths, and trusted automation.

Risk

API disruption.

Mitigation

Use API-specific controls and validate methods, headers, authentication, and rate limits.

Risk

Broken redirects.

Mitigation

Test redirect and rewrite chains with production-like hostnames.

Risk

Direct-to-origin bypass.

Mitigation

Lock down origin access and remove unintended direct DNS exposure.

Risk

Missing observability.

Mitigation

Configure Logpush, dashboards, and alerting before cutover.

Risk

Rollback confusion.

Mitigation

Create a rollback runbook with owners, conditions, and validation steps.

Migration validation checklist

  • Current DNS exported and reviewed
  • Cloudflare zone model selected
  • Proxy status decided per hostname
  • Certificates issued and validated
  • SSL/TLS mode reviewed
  • Origin connectivity tested
  • Host header and SNI behavior validated
  • Origin IP exposure reviewed
  • Cache rules tested by path and content type
  • Query string and cookie behavior validated
  • Redirects and rewrites tested
  • Request and response headers validated
  • WAF policies deployed in log or simulate mode first
  • Bot controls reviewed before enforcement
  • Rate limits tested safely
  • API endpoints mapped and validated
  • Login, checkout, upload, search, and admin flows tested
  • Logpush, dashboards, or analytics configured
  • Error rates compared against baseline
  • Cache hit ratio compared against expected behavior
  • Rollback plan documented
  • Stakeholders approved cutover

Deliverables

  • Current-state discovery report
  • Cloudflare target architecture
  • Migration risk register
  • Legacy-to-Cloudflare mapping workbook
  • DNS and certificate plan
  • Cache behavior test matrix
  • Origin validation plan
  • WAF and bot rollout plan
  • API security migration plan
  • Cutover runbook
  • Rollback runbook
  • Validation report
  • Post-launch tuning backlog
  • Managed operations handover

When Nanosek should help

You are moving from Akamai, Fastly, CloudFront, Imperva, Azure Front Door, Edgio, F5, or another platform to Cloudflare.
Your current edge configuration has complex cache, redirect, WAF, bot, API, or origin behavior.
You cannot risk downtime during migration.
You need a validation matrix and rollback plan.
You need to preserve application behavior while simplifying the platform.
You need Cloudflare expertise across multiple products.
You need stakeholder-ready documentation and cutover runbooks.
You want managed Cloudflare operations after launch.

Frequently asked questions

What is a Cloudflare migration?
A Cloudflare migration is the process of moving DNS, CDN delivery, WAF policies, DDoS protection, bot protection, certificates, origin routing, redirects, APIs, edge logic, logging, and operational workflows from an existing platform or setup to Cloudflare.
Is migrating to Cloudflare just a DNS change?
No. DNS cutover is only one part of the migration. The important work is mapping existing behavior, validating cache rules, certificates, origins, WAF policies, bot controls, redirects, logs, and rollback procedures before production traffic moves.
Which platforms can Nanosek migrate from?
Nanosek can help migrate from Akamai, Fastly, AWS CloudFront, Azure Front Door, Imperva, Edgio, F5, legacy DNS providers, self-managed reverse proxies, and fragmented CDN or WAF environments.
Can migration happen without downtime?
Most migrations can be planned to avoid downtime, but the risk depends on DNS ownership, certificate readiness, application complexity, origin behavior, cache rules, security controls, and rollback design.
How do you reduce migration risk?
Nanosek uses discovery, configuration mapping, staged implementation, log or monitor mode, validation matrices, cutover runbooks, rollback planning, and post-launch tuning to reduce migration risk.
What happens to existing WAF and bot rules?
Existing WAF and bot controls are reviewed and mapped into Cloudflare Managed Rules, Custom Rules, Bot Management, Rate Limiting, API Shield, and scoped exceptions. Enforcement is usually staged before moving to block.
Do we need Cloudflare Workers?
Not always. Many behaviors can be implemented with native Cloudflare rules. Workers are used when dynamic or application-specific edge logic cannot be handled safely with declarative controls.
Can Nanosek help after the migration?
Yes. Nanosek provides managed Cloudflare operations, including DNS changes, WAF tuning, bot tuning, cache optimization, Logpush monitoring, incident support, reporting, and continuous improvement.

Migrate to Cloudflare with confidence

Nanosek helps you preserve critical behavior, reduce cutover risk, validate production paths, and move to Cloudflare with a clear rollback and operating model.

Ready to talk?

Deliver Cloudflare without surprises.

Whether you're migrating, hardening, or operating Cloudflare — Nanosek brings authorized MSP & ASDP delivery, rollback-ready cutovers, and managed operations after launch.