• Labs icon Lab
  • Cloud
Azure icon
Labs

Manage SQL Server with Azure Arc

SQL Server enabled by Azure Arc offers a range of security, governance, and management capabilities. In this hands-on lab, you will deploy an evaluation edition of SQL Server and onboard it to Azure Arc. Once onboarded, you will configure automatic updates, set up Pay-as-you-go (PAYG) licensing, and perform an edition upgrade.

Azure icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 45m
Published
Clock icon Feb 18, 2025

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Generate Combined Windows and SQL Instance Onboarding Script

    1. Generate a Windows onboarding script for Azure Arc machines, ensuring SQL Server instances are included as part of the onboarding process.
  2. Challenge

    Onboard Windows Server and SQL Server Instances into Azure Arc

    1. Use Remote Desktop Protocol (RDP) to connect to SQLVM1 and execute the onboarding script using Windows PowerShell.
    2. When prompted for credentials by the script, use the Azure portal credentials from the lab details.
  3. Challenge

    Manage SQL Server Licensing and Updates

    1. Wait for the Provisioning state of the SQL Server Instance to be Provisioning state : Succeeded.

      Note: It may take up to 10 minutes for the Provisioning state to update. You can ignore any messages about connectivity, this issue will automatically resolved.

    2. In the Azure portal, configure the SQL Instance:

      • Enable Pay-as-you-go licensing.
      • Enable scheduled automatic Updates.
  4. Challenge

    Review Configuration

    1. Optionally review the SQL Server Instance configuration from the Data services blade in the Azure portal:
      • License type should be set to Pay-as-you-go.
      • Automated updates should be Enabled.
  5. Challenge

    Perform SQL Server Edition Upgrade

    1. Connect to the Windows virtual machine SQLVM1 using Remote Desktop and perform a SQL Server Edition upgrade to Standard, using pay-as-you-go billing through Microsoft Azure.

      Note: In a corporate environment where your Windows PC is domain-joined, you may need to prefix the username with .\ when connecting via a remote desktop client (e.g., .\cloud_user).

    2. The Setup executable is located in the following directory: C:\SQL2022\Evaluation_ENU.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.