Migrate from a self-managed Prometheus to a managed or long-term storage setup. What do you consider?

IntermediateScenarioMigrations
Answer

Situation read → Usually triggered by retention limits, HA gaps or multi-cluster views. Pick the backend, then migrate without losing alerting.

What I'd do →

  1. Requirements: retention, query across clusters, cost per active series, and who runs it.
  2. Options: Amazon Managed Service for Prometheus, Grafana Cloud, or self-hosted Thanos or Mimir with S3 storage.
  3. Add remote_write from existing Prometheus instances; both run in parallel.
remote_write:
  - url: https://aps-workspaces.ap-south-1.amazonaws.com/workspaces/ws-abc/api/v1/remote_write
    sigv4:
      region: ap-south-1
  1. Migrate recording and alerting rules, point Grafana at the new datasource, and compare alert behaviour for a week.
  2. Reduce cardinality before migrating; managed services bill per sample or series.

Why → Running both in parallel catches missing rules and label differences before you rely on the new system.

Interview tip → Mention cardinality as a cost driver.

All Real-World Interview questions Roadmap: Interview readiness

More on Migrations