Skip to content

Solution

Monitoring a cloud migration

A migration succeeds when users notice nothing. Measure before, compare during, and verify after, with the same tools on both sides.

3 min read8 sectionsUpdated

On this page

Three phases

PhaseWhat to measure
Beforep50/p95/p99 per endpoint, error rates, Web Vitals by country, job durations, DB query times
DuringOld vs new side by side for the same traffic share; DNS and certificate checks; replication lag
AfterSLOs held for several weeks; cost per request; no forgotten cron jobs

Common migration surprises

  • Higher latency from new network paths, often between app and database placed in different zones or regions.
  • Missing scheduled jobs that lived on an old server's crontab; heartbeat checks catch them.
  • DNS TTLs keeping users on the old environment longer than planned.
  • Different instance sizes changing CPU behaviour and GC.
  • Certificates and allow-lists not updated for new IPs.

Migrating with VitalRix

Keep OpenTelemetry instrumentation identical on both sides and tag deployment.environment.name or a location attribute, so APM can compare them; uptime checks from several regions confirm availability during DNS changes; real-user monitoring shows whether users felt the move; and SLOs prove the new environment meets its targets.

Building the baseline

Two weeks before any traffic moves, record for each key endpoint the p50, p95 and p99 latency and error rate, for each key page the LCP, INP and CLS at p75 by country, and for each scheduled job its duration and success. Save these as a dashboard and as SLOs, so "as good as before" has a number. Note the peak hours and the busiest day; compare old and new at the same times.

Frequently asked questions

How long should old and new run in parallel?

Long enough to see a full traffic cycle, often a week or more, including peak days.

What if the new environment is slower?

Traces show where: network hops, database distance or instance size. Fix before moving more traffic.

Check it now, free

  • How to monitor Firebase: How to monitor a Firebase app: Hosting uptime, Cloud Functions errors and latency, Firestore reads and costs, Authentication, Crashlytics and alerting.
  • GraphQL API monitoring: Monitor GraphQL APIs properly: errors hidden inside 200 responses, latency per operation, resolver tracing, query depth, and uptime checks that assert on data.
  • Grafana vs Datadog: Grafana vs Datadog compared: the open-source Grafana stack and Grafana Cloud against Datadog for dashboards, metrics, logs, traces, alerting and cost.
  • How to monitor a Next.js app: How to monitor a Next.js app in production: uptime checks, Core Web Vitals, server and edge errors, OpenTelemetry traces for SSR and API routes, and alerts.
  • A Grafana Cloud alternative: VitalRix vs Grafana Cloud: VitalRix vs Grafana Cloud: building blocks you assemble versus a ready-made monitoring product, compared on dashboards, traces, logs and incidents.
  • VitalRix vs UptimeRobot: Compare VitalRix with UptimeRobot: simple uptime checks and status pages, plus APM, logs, traces, real user monitoring and session replay. Honest pros and cons.

Watch your own site and services with VitalRix

Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.