1. Home
  2. /
  3. Docs
  4. /
  5. SQL Server
  6. /
  7. Keys
  8. /
  9. Can I install SQL Server on a ...

Can I install SQL Server on a virtual machine?

Can I install SQL Server on a virtual machine?

Yes, SQL Server can be installed on a virtual machine. Use a supported guest operating system and a suitable virtualization environment. Also, make sure your SQL Server key covers the chosen configuration.

Which virtualization environment can I use?

Microsoft supports Hyper-V and other hypervisors, among other technologies, under the terms of the Server Virtualization Validation Program (SVVP). Check the support status for your combination of hypervisor, operating system, and SQL Server version.

How do I install SQL Server in the VM?

  1. Create the VM with sufficient vCPUs, memory, and storage for your application.
  2. Install a supported operating system and the necessary updates.
  3. Attach the appropriate SQL Server installation media to the VM.
  4. Run SQL Server Setup as an administrator.
  5. Install the necessary components and configure accounts and storage.
  6. Test the database connection and set up regular database backups.

Ensure that capacity aligns with expected database load and growth.

Which key do I need?

That depends on your SQL Server version, edition, and licensing model:

  • Server + CAL: Key the virtual server environment and the users or devices with access.
  • Per Core per VM: Key the allocated virtual cores according to the applicable terms and conditions.

For SQL Server 2022, separate per-core licensing per VM requires a subscription or active Software Assurance, with a minimum of four core keys per VM. For Standard Server + CAL, this SA requirement does not apply solely because of installation in a VM.

Moving between hosts, cloning, and creating additional VMs may require additional licensing rights. A working installation or an accepted product code does not confirm that all necessary rights are in place.

Are Windows Server keys included?

No. Any Windows Server keys and access rights are separate from the SQL Server keys.

Need help installing in a VM?

Email your SQL Server version and edition, hypervisor, guest operating system, number of vCPUs, and existing keys to info@cd-keys.uk, or use the contact page. Please include your order number if your inquiry is regarding a purchase.