Selecting the size of a Virtual Machine (VM) depends on the platform you're using, such as Microsoft Azure, Amazon Web Services (AWS), Google Cloud Platform (GCP), or a local hypervisor like Hyper-V, VMware, or VirtualBox.
Consider the application or service that will run on the VM. Is it CPU-intensive, memory-intensive, or storage-intensive?