Hello there,
Obtain Datacenter license is based on the size of your organization as well as virtualization and data center requirements.
Windows Server 2022 Standard is intended for lightly virtualized environments, and it includes rights for 2 VMs and unlimited containers. If you want to run additional VMs, then you will need to purchase additional licenses.
Each Windows Server Datacenter and Standard edition server requires a minimum of a single base license which covers 16 core licenses. If you upgrade your system by purchasing additional CPUs or cores, then you must also purchase additional licenses to cover those upgrades.
Datacenter edition is ideal for highly virtualized and software-defined datacenter environments. Datacenter edition is licensed under the Per Core/CAL* license model and requires a Windows Server CAL for access to the server.
-----------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer–