Plan an Azure Arc-enabled data services deployment

This article describes how to plan to deploy Azure Arc-enabled data services.

Tip

Review all of the information in this article before you start your deployment.

Deployment steps

In order to experience Azure Arc-enabled data services, you will need to complete the following tasks.

  1. Plan your deployment

    The details in this article will guide your plan.

  2. Install client tools.

  3. Access a Kubernetes cluster.

    For demonstration, testing, and validation purposes, you can use an Azure Kubernetes Service cluster. To create a cluster, follow the instructions at Quickstart: Deploy Azure Arc-enabled data services - directly connected mode - Azure portal to walk through the entire process.

  4. Create Azure Arc data controller in direct connectivity mode (prerequisites).

    For other ways to create a data controller see the links under Next steps.

  5. Create data services.

    For example, Create an Azure SQL managed instance on Azure Arc.

  6. Connect with Azure Data Studio.

As you begin planning to deploy Azure Arc-enabled data services, it's important to properly understand your database workloads and your business requirements for those workloads. For example, you need to consider availability, business continuity, and capacity requirements for memory, CPU, and storage for the workloads. And you need to carefully prepare the infrastructure to support the database workloads, based on your business requirements.

Prerequisites

Before you start, be sure that you've met certain prerequisites and have the necessary background and information ready. To ensure a successful deployment, your infrastructure environment must be properly configured with the right level of access and the appropriate capacity for storage, CPU, and memory.

Review the following articles:

Verify that:

  • The arcdata CLI extension is installed.
  • The other client tools are installed.
  • You have access to the Kubernetes cluster.
  • Your kubeconfig file is configured. It should point to the Kubernetes cluster that you want to deploy to. To verify the current context of the cluster, run the following command:
    kubectl cluster-info
    
  • You have an Azure subscription that resources such as an Azure Arc data controller, Azure Arc-enabled SQL managed instance, or Azure Arc-enabled PostgreSQL Hyperscale server will be projected and billed to.

After you're prepared the infrastructure, deploy Azure Arc-enabled data services in the following way:

  1. Create an Azure Arc-enabled data controller on one of the validated distributions of a Kubernetes cluster.
  2. Create an Azure Arc-enabled SQL managed instance and/or an Azure Arc-enabled PostgreSQL Hyperscale server group.

Caution

Some of the data services tiers and modes are in general availability (GA), and some are in preview. We recommend that you don't mix GA and preview services on the same data controller. If you mix GA and preview services on the same data controller, you can't upgrade in place. In that scenario, when you want to upgrade, you must remove and re-create the data controller and data services.

Deployment requirements

You can deploy Azure Arc-enabled data services on various types of Kubernetes clusters. Currently, the validated list of Kubernetes services and distributions includes:

  • Amazon Elastic Kubernetes Service (Amazon EKS)
  • Azure Kubernetes Service (AKS)
  • Azure Kubernetes Service on Azure Stack HCI
  • Azure Red Hat OpenShift
  • Google Kubernetes Engine (GKE)
  • Open source, upstream Kubernetes (typically deployed by using kubeadm)
  • OpenShift Container Platform (OCP)

Important

  • The minimum supported version of Kubernetes is v1.21. For more information, see the "Known issues" section of Release notesĀ - Azure Arc-enabled data services.
  • The minimum supported version of OCP is 4.8.
  • If you're using Azure Kubernetes Service, your cluster's worker node virtual machine (VM) size should be at least Standard_D8s_v3 and use Premium Disks.
  • The cluster should not span multiple availability zones.
  • For more information, see the "Known issues" section of Release notesĀ - Azure Arc-enabled data services.

Deployment information

When you're creating Azure Arc-enabled data services, regardless of the service or distribution option you choose, you'll need to provide the following information:

  • Data controller name: A descriptive name for your data controller (for example, production-dc or seattle-dc). The name must meet Kubernetes naming standards.

  • Username: The username for the Kibana/Grafana administrator user.

  • Password: The password for the Kibana/Grafana administrator user.

  • Name of your Kubernetes namespace: The name of the Kubernetes namespace where you want to create the data controller.

  • Connectivity mode: Determines the degree of connectivity from your Azure Arc-enabled data services environment to Azure. Your choice of connectivity mode determines the options for deployment methods. For more information, see Connectivity modes and requirements.

  • Azure subscription ID: The Azure subscription GUID for where you want to create the data controller resource in Azure. All Azure Arc-enabled SQL managed instances and Azure Database for PostgreSQL Hyperscale server groups are also created in and billed to this subscription.

  • Azure resource group name: The name of the resource group where you want to create the data controller resource in Azure. All Azure Arc-enabled SQL managed instances and Azure Database for PostgreSQL Hyperscale server groups are also created in this resource group.

  • Azure location: The Azure location where the data controller resource metadata will be stored in Azure. For a list of available regions, see the Products available by region page for Azure global infrastructure. The metadata and billing information about the Azure resources that are managed by your deployed data controller is stored only in the location in Azure that you specify as the location parameter. If you're deploying in direct connectivity mode, the location parameter for the data controller is the same as the location of your targeted custom location resource.

  • Service principal information:

    • If you're deploying in indirect connectivity mode, you will need service principal information to upload usage and metrics data. For more information, see the "Assign roles to the service principal" section of Upload usage data, metrics, and logs to Azure.
  • Infrastructure: For billing purposes, you must indicate the infrastructure on which you're running Azure Arc-enabled data services. The options are:

  • alibaba

  • aws

  • azure

  • gcp

  • onpremises

  • other

  • Container runtime: Use containerd runtime for the container runtime. Azure Arc-enabled data services does not support Docker runtime.

Additional concepts for direct connectivity mode

As outlined in Connectivity modes and requirements, you can deploy the Azure Arc data controller either in direct or indirect connectivity mode. Deploying Azure Arc data services in direct connectivity mode requires additional concepts and considerations:

  • First, the Kubernetes cluster where the Azure Arc-enabled data services will be deployed needs to be an Azure Arc-enabled Kubernetes cluster. By connecting your Kubernetes cluster to Azure, you can deploy and manage Azure Arc data services to your cluster directly from the Azure portal, upload your usage, logs and metrics to Azure automatically and get several other Azure benefits. To learn how, see Connect your cluster to Azure.

  • After the Kubernetes cluster is Azure Arc-enabled, deploy Azure Arc-enabled data services by doing the following:

    1. Create the Azure Arc data services extension. To learn how, see Cluster extensions on Azure Arc-enabled Kubernetes.
    2. Create a custom location. To learn how, see Custom locations on top of Azure Arc-enabled Kubernetes.
    3. Create the Azure Arc data controller.

    You can perform all three of these steps in a single step by using the Azure Arc data controller creation wizard in the Azure portal.

After you've installed the Azure Arc data controller, you can create and access data services such as Azure Arc-enabled SQL Managed Instance or Azure Arc-enabled PostgreSQL Hyperscale.

Next steps

You have several additional options for creating the Azure Arc data controller:

Just want to try things out? Get started quickly with Azure Arc Jumpstart on AKS, Amazon EKS, or GKE, or in an Azure VM.