Of course, Olaf is right... we are not able to legally answer questions regarding licensing!
So here comes my personal opinion based on my own experiences and understanding:
All actual SQL server licenses are sold as a 1:1 license... 1 license = 1 core.
Microsoft sells them in a pack with 2 licenses = 2 cores.
for hardware, you can use old CPUs with only two cores = 2 licenses
for a virtual machine, you need at least 4 licenses minimum = 2 packs (2 licenses each pack)
if your virtual machine has 16 cores, you'll need 8 packs with 2 licenses each pack.
if you have 4 VMs with 4 cores each... you'll need 8 packs with 2 licenses each pack.
The only thing that really matters (if all machines are virtual machines) is that you have at least a minimum of 4 licenses per server and that you have enough licenses for all cores in all machines.
example:
Server1 : 2 cores => minimum 4
Server2 : 2 cores => minimum 4
Server3 : 6 cores => 6
Server4 : 4 cores => 4
You need to buy 18 licenses for 18 cores, they are sold as a pack of 2 => 9 packs of licenses.
To make it a little bit more difficult... this is only possible if you just have ONE edition... if you want to mix editions...
example:
Server1 - Standard Edition : 2 cores => minimum 4
Server2 - Enterprise Edition : 2 cores => minimum 4
Server3 - Enterprise Edition : 6 cores => 6
Server4 - Standard Edition : 4 cores => 4
You need to buy 8 licenses for 8 cores Standard Edition = 4 packs
You need to buy 10 licenses for 10 cores Enterprise Edition = 5 packs
I hope my answer is helpful to you,
Your
Bjoern Peters
If the reply was helpful, please upvote and/or accept it as an answer, as this helps others in the community with similar questions. Thanks!