Skip to content

Latest commit

 

History

History
118 lines (75 loc) · 7.43 KB

File metadata and controls

118 lines (75 loc) · 7.43 KB
title How to enable zone redundancy in Azure Managed Grafana
description Learn how to create a zone-redundant Azure Managed Grafana workspace for protection against datacenter failure.
ms.service azure-managed-grafana
ms.topic how-to
author maud-lv
ms.author malev
ms.custom engagement-fy23
ms.date 12/20/2024

Enable zone redundancy in Azure Managed Grafana

Azure Managed Grafana offers a zone-redundant option to protect your workspace against datacenter failure. Enabling zone redundancy for Azure Managed Grafana lets you deploy your Azure Managed Grafana resources across a minimum of three Azure availability zones within the same Azure region.

In this how-to guide, learn how to enable zone redundancy for Azure Managed Grafana during the creation of your Azure Managed Grafana workspace.

Note

Zone redundancy for Azure Managed Grafana is a billable option. See prices. Zone redundancy can only be enabled when creating the Azure Managed Grafana workspace, and can't be modified subsequently.

Prerequisites

Sign in to Azure

Sign in to Azure with the Azure portal or with the Azure CLI.

Sign in to the Azure portal with your Azure account.

Open your CLI and run the az login command to sign in to Azure.

az login

This command prompts your web browser to launch and load an Azure sign-in page. If the browser fails to open, use device code flow with az login --use-device-code. For more sign-in options, go to sign in with the Azure CLI.


Create an Azure Managed Grafana workspace

Create a workspace and enable zone redundancy with the Azure portal or the CLI.

  1. In the upper-left corner of the home page, select Create a resource. In the Search resources, services, and docs (G+/) box, enter Azure Managed Grafana and select Azure Managed Grafana.

    :::image type="content" source="media/quickstart-portal/find-azure-portal-grafana.png" alt-text="Screenshot of the Azure platform. Find Azure Managed Grafana in the marketplace." :::

  2. Select Create.

  3. In the Basics pane, enter the following settings.

    Setting Description Example
    Subscription ID Select the Azure subscription you want to use. my-subscription
    Resource group name Create a resource group for your Azure Managed Grafana resources. my-resource-group
    Location Specify the geographic location in which to host your resource. Choose the location closest to you. (US) East US
    Name Enter a unique resource name. It is used as the domain name in your Azure Managed Grafana workspace URL. my-grafana
    Pricing plan Select the Standard plan to get access to the zone redundancy feature. This feature is only available for customers using a Standard plan. Standard
    Zone Redundancy Set Enable Zone Redundancy to Enable. Enabled

    Zone redundancy automatically provisions and manages a standby replica of the Azure Managed Grafana workspace in a different availability zone within one region. There's an additional charge for this option.

  4. Keep all other options set to their default values and select Review + create.

  5. On the page, zone redundancy is shown as set to enabled. After validation runs, select Create. Your Azure Managed Grafana resource is deploying.

    :::image type="content" source="media/zone-redundancy/create-form-validation.png" alt-text="Screenshot of the Azure portal. Create workspace form review page showing that zone redundancy is set to Enabled.":::

  1. Run the code below to create a resource group to organize the Azure resources needed. Skip this step if you already have a resource group you want to use.

    Parameter Description Example
    --name Choose a unique name for your new resource group. grafana-rg
    --location Choose an Azure region where Azure Managed Grafana is available. For more info, go to Products available by region. eastus
    az group create --location <location> --name <resource-group-name>
    
  2. Run the code below to create an Azure Managed Grafana workspace.

    Parameter Description Example
    --name Choose a unique name for your new Azure Managed Grafana workspace. grafana-test
    --resource-group Choose a resource group for your Azure Managed Grafana workspace. my-resource-group
    --zone-redundancy Enter enabled to enable zone redundancy for this new workspace. --zone-redundancy enabled
    az grafana create --name <managed-grafana-resource-name> --resource-group <resource-group-name> --zone-redundancy enabled
    

Once the deployment is complete, you see a note in the output of the command line stating that the workspace was successfully created, alongside with additional information about the deployment.

Note

The CLI experience for Azure Managed Grafana is part of the amg extension for the Azure CLI (version 2.30.0 or higher). The extension will automatically install the first time you run an az grafana command.


Check if zone redundancy is enabled

In the Azure portal, under Settings, go to Configuration and check if Zone redundancy is listed as enabled or disabled.

:::image type="content" source="media/zone-redundancy/configuration-status.png" alt-text="Screenshot of the Azure portal. Check zone redundancy.":::

Next steps

[!div class="nextstepaction"] How to configure data sources