Migrating a web app to another cloud provider is less about copying files than reproducing the full production system: application code, data, secrets, DNS, certificates, background jobs, monitoring, and recovery procedures. This practical cloud provider migration checklist gives you a phased way to inventory dependencies, estimate effort and risk, rehearse the move, cut over with limited disruption, and confirm that the old environment can be retired safely.
Overview
A successful migration begins with a clear definition of what is moving and what “done” means. A simple website may require only application files, a database, DNS, and TLS. A modern web app may also depend on object storage, queues, scheduled jobs, email delivery, webhooks, third-party APIs, container images, CI/CD pipelines, feature flags, analytics, and provider-specific services.
Use this sequence as the overall plan:
- Discover: inventory services, dependencies, data, traffic patterns, domains, credentials, and operational procedures.
- Design: map each source service to a target equivalent and document any deliberate architecture changes.
- Prepare: create the target environment, configure observability, transfer data, and establish environment parity.
- Rehearse: perform a test deployment and migration using representative data or a controlled copy.
- Cut over: direct traffic to the new environment using a documented DNS and rollback plan.
- Validate and retire: verify application behavior, data integrity, scheduled work, email, and recovery before decommissioning the source.
Do not treat “the application loads” as the completion criterion. A migration can appear successful while scheduled jobs are disabled, email links still point to the old host, uploads are missing, or a production secret was not transferred. The validation stage must cover every user-facing and operational path.
For related planning, see How to Choose a Cloud Hosting Platform for Your Web App and How to Deploy a Full-Stack Web App.
How to estimate
Estimate the migration as a set of workstreams rather than one large task. For each workstream, record the expected effort, dependency, uncertainty, and validation method. A useful planning formula is:
Total migration effort = discovery + target build + data transfer + application changes + rehearsal + cutover + validation + contingency.
This is not a pricing formula. It is a repeatable way to compare migration options. If you are estimating financial impact, add the temporary overlap period during which both providers run, data transfer charges if applicable, implementation labor, monitoring, backup storage, and any required changes to paid integrations. Confirm current provider pricing and service limits separately before approving a budget.
Provider-agnostic migration checklist
- List production domains, subdomains, DNS records, certificate locations, and domain registrar access.
- Record application runtimes, build commands, start commands, ports, regions, scaling rules, and health checks.
- Inventory databases, replicas, extensions, connection limits, migrations, backups, and restore procedures.
- Identify object storage, file uploads, CDN behavior, cache rules, queues, and message consumers.
- Document environment variables, secrets, service accounts, webhook URLs, API keys, and rotation owners.
- List scheduled jobs, workers, cron expressions, retry behavior, and time-zone assumptions.
- Map CI/CD pipelines, deployment approvals, preview environments, image registries, and rollback commands.
- Define baseline checks for latency, error rate, throughput, background processing, and database health.
- Choose a migration window, communication owner, go/no-go criteria, and named rollback decision-maker.
- Confirm backups and complete a restore test before changing production traffic.
Keep the source environment available until validation is complete and the agreed rollback window has passed. The exact duration depends on the application’s risk, traffic pattern, data-write volume, and recovery requirements.
Migration risk matrix
| Risk | Typical signal | Mitigation | Rollback trigger |
|---|---|---|---|
| Data divergence | Writes continue in both environments or replication falls behind | Use a defined replication, freeze, or dual-write strategy and compare records | Unexpected record loss, duplication, or unacceptable lag |
| Configuration drift | Target works in staging but fails in production | Compare environment variables, runtime versions, permissions, and limits | Critical feature or deployment path fails |
| DNS or TLS error | Some users see the old app or receive certificate warnings | Lower TTL in advance where appropriate; preconfigure certificates and records | Persistent resolution, certificate, or routing failures |
| Hidden dependency | Webhooks, email, uploads, or jobs stop working | Test external callbacks and review logs after cutover | Business-critical integration cannot be restored promptly |
| Capacity mismatch | Timeouts, memory pressure, or queue growth on the target | Load-test representative paths and set alerts before cutover | Error rate or resource pressure exceeds the agreed threshold |
Inputs and assumptions
Before choosing a migration method, capture the inputs that influence risk and cost. Record whether the application is read-heavy or write-heavy, how much data must move, how quickly data changes, and whether downtime is acceptable. Also document recovery point objective (how much recent data loss is tolerable) and recovery time objective (how quickly service must be restored).
Classify each component as stateless, stateful, or externally managed. Stateless application instances are usually easier to reproduce. Stateful databases and file stores require transfer and consistency planning. Externally managed services may need new credentials, callback URLs, allowlists, or ownership changes.
For secrets, create a named inventory without placing secret values in the migration document. Include the variable name, purpose, source of truth, target location, rotation requirement, and test that proves it works. The guide Web App Environment Variables and Secrets provides a useful companion checklist.
DNS cutover worksheet
| Record | Current value | Target value | TTL plan | Validation |
|---|---|---|---|---|
| Root domain | Document current routing | Target endpoint or provider routing | Confirm before change | Resolve from more than one network |
| Application subdomain | Document current record | New load balancer or hosting endpoint | Confirm before change | Open app and inspect certificate |
| API subdomain | Document current record | New API endpoint | Confirm before change | Run authenticated and unauthenticated tests |
| Mail records | MX, SPF, DKIM, and DMARC records | Change only if mail service changes | Coordinate with mail owner | Send and receive a test message |
| Verification records | Provider or integration tokens | Retain or replace as required | Do not remove prematurely | Confirm service verification |
DNS changes do not instantly affect every resolver. Treat TTL as a planning input, not a guarantee of immediate propagation. Keep the old endpoint available while traffic may still reach it, and monitor both environments during the transition.
Worked examples
Example 1: A stateless web app with managed database and object storage
Assume the application runs from a version-controlled repository, uses a managed database, stores user uploads in object storage, and has one daily scheduled job. The target plan is to build an equivalent application environment, transfer the database, copy objects, configure secrets, deploy the same commit, and switch DNS.
The main risks are database consistency, missing storage permissions, and a job running twice during overlap. A safer sequence is to pause the scheduled job, put the application into a controlled write state or use the selected database replication method, complete the final data transfer, verify object counts and representative downloads, deploy the target, and run the job manually or under a controlled schedule after cutover. Record the exact commands and timestamps so the process can be repeated.
Example 2: A database-backed app that needs near-zero interruption
For an application with continuous writes, copying a database once and changing DNS may leave the target behind. Consider a migration method that keeps the target synchronized, such as supported replication, a carefully designed dual-write period, or a short controlled write pause. The appropriate choice depends on database features, schema compatibility, workload, and the team’s ability to verify consistency.
Use expand-and-contract database changes where possible: add compatible schema elements first, deploy code that can work with both states, backfill or replicate data, and remove obsolete elements only after the migration is stable. See the zero-downtime database migration checklist for a deeper treatment of schema changes and rollback constraints.
Post-cutover validation table
| Area | Test | Pass condition | Evidence |
|---|---|---|---|
| Application | Load key pages and complete critical user journeys | No unexpected errors or broken assets | Test results and application logs |
| Database | Read, create, update, and migrate representative records | Expected data and schema behavior | Query comparison and migration output |
| Send transactional and notification messages | Messages arrive and links use the correct domain | Message IDs and delivery logs | |
| Storage | Upload, download, replace, and delete a test object | Permissions and content headers work | Object and application logs |
| Scheduled jobs | Run each job in a controlled way | One expected execution with correct output | Job logs and resulting records |
| Operations | Trigger an alert and test rollback access | Team can detect and respond to failure | Alert notification and runbook |
Configure logs, metrics, and traces before cutover rather than waiting for an incident. The application observability stack guide can help organize this layer.
When to recalculate
Revisit this checklist whenever you change cloud providers, move regions, replace a managed service, redesign the application, or review infrastructure costs. Recalculate the plan when pricing inputs, transfer volumes, traffic patterns, database size, retention requirements, or provider limits change. A migration that was low risk for a small read-only app may require a different method after the app gains continuous writes, background workers, or customer file storage.
At minimum, review the inventory, DNS worksheet, risk matrix, backup evidence, and validation table before every migration event. Refresh provider-specific constraints and service terminology approximately every six months, or sooner after a major infrastructure change. Confirm current limits and pricing directly with each provider rather than carrying assumptions from an earlier project.
Before closing the migration, complete these final actions:
- Save the final architecture, DNS records, deployment commit, and configuration inventory.
- Confirm backups, restore instructions, monitoring, alerts, and on-call ownership.
- Review logs for delayed failures, queue growth, certificate issues, and webhook errors.
- Keep the rollback path and source environment available for the agreed observation period.
- Remove old credentials, access rules, scheduled jobs, and infrastructure only after approval.
- Update runbooks, cost estimates, diagrams, and incident contacts for the new provider.
A migration is complete when the target is not only serving traffic, but is understandable, observable, recoverable, and repeatable. That standard makes the next provider change, regional move, or architecture review substantially easier to plan.