All Products
Search
Document Center

Application Real-Time Monitoring Service:Migrate self-managed Grafana instances

Last Updated:Mar 11, 2026

Migrate dashboards and data sources from a self-managed Grafana instance into an Alibaba Cloud Managed Service for Grafana workspace. After migration, all imported resources are centrally managed through the workspace.

How it works

A migration job connects to your self-managed Grafana instance, reads its dashboards and data sources, and copies them into the target workspace. The authorization method you choose determines the migration scope:

Authorization methodScopeUse case
AdminAll organizations -- migrates every dashboard and data source across all organizationsFull migration of the entire Grafana instance
ApiKeySingle organization -- migrates only the dashboards and data sources tied to the API key's organizationSelective migration of a specific organization

Prerequisites

Before you begin, make sure you have:

  • The Grafana endpoint URL, including the protocol and port (for example, https://my-grafana:3000)

  • One of the following credentials, depending on the authorization method:

    • Admin: The admin password for the self-managed Grafana instance

    • ApiKey: A Grafana API key with Admin role permissions for the target organization

Note

To create an API key in Grafana V9.0.x, switch to the target organization and go to Configuration > API keys. Click Add API key and set Role to Admin. The Admin role is required to overwrite data sources during migration. Without it, only dashboards are overwritten. For details, see Create an API key.

Create a migration job

  1. Log on to the ARMS console.

  2. In the left-side navigation pane, choose Managed Service for Grafana > Workspace Management.

  3. On the Workspace Management page, click the ID of the target workspace.

  4. In the left-side navigation pane, click Data Migration.

  5. Choose Create Migration Job > Migrate Self-managed Grafana.

    Migrate Self-managed Grafana

  6. In the Create Migration Job dialog box, configure the following parameters and click Next.

    ParameterDescription
    Authorization MethodSelect Admin to migrate all organizations, or ApiKey to migrate a single organization. See the How it works section for details.
    Grafana EndpointThe endpoint of the self-managed Grafana instance, including the protocol and port. Example: https://my-grafana:3000.
    Admin PasswordRequired when Authorization Method is Admin. The admin password of the self-managed Grafana instance.
    Api KeyRequired when Authorization Method is ApiKey. The API key for the target organization.

    Create Migration

Select a migration method for each organization

After the connection is established, the migration job lists all discovered organizations. Select a migration method for each organization and click Migration.

Migration methodBehavior
Do not migrate this organizationSkips the organization. No dashboards or data sources are migrated.
Create a new organization with the same nameCreates a new organization in the workspace with the same name and migrates all dashboards and data sources into it.
An organization in the current workspaceMigrates all dashboards and data sources into an existing organization in the workspace.

Verify the migration results

After the migration completes, click Go to the list page to open the Dashboards page in Grafana. Confirm that all expected dashboards are present.

Data Migration