- Lab
- Cloud

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.

Path Info
Table of Contents
-
Challenge
Generate Combined Windows and SQL Instance Onboarding Script
- Generate a Windows onboarding script for Azure Arc machines, ensuring SQL Server instances are included as part of the onboarding process.
-
Challenge
Onboard Windows Server and SQL Server Instances into Azure Arc
- Use Remote Desktop Protocol (RDP) to connect to
SQLVM1
and execute the onboarding script using Windows PowerShell. - When prompted for credentials by the script, use the Azure portal credentials from the lab details.
- Use Remote Desktop Protocol (RDP) to connect to
-
Challenge
Manage SQL Server Licensing and Updates
-
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.
-
In the Azure portal, configure the SQL Instance:
- Enable Pay-as-you-go licensing.
- Enable scheduled automatic Updates.
-
-
Challenge
Review Configuration
- 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.
- Optionally review the SQL Server Instance configuration from the Data services blade in the Azure portal:
-
Challenge
Perform SQL Server Edition Upgrade
-
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
). -
The Setup executable is located in the following directory:
C:\SQL2022\Evaluation_ENU
.
-
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.