r/sysadmin•
Flaat

how to host Windows VMs legally in a cost effective manner?

Question

I am running a small openstack cloud provider for a couple of companies and recently had some clients asking for Windows server Vm's. I'd like to help them but all I can find is that running that on shared hardware means I have to license all the cores on the machine even though I only sell a small portion of them (I only run 256 thread amd machines, this would simply cost too much at my tiny scale). I have no experience with windows licences or running VMs on azure so was hoping anyone here could point me in the right direction that enables me to at least come close to Azure prices for 4-16th thread VMS on these machines. Running smaller machines is an option but we all know the value of running as few machines as possible.

Posted Aug 24, 2022, 6:01 PM UTC · edited

426
341913Enterprise IT Manager•

SPLA, Service Provider License Agreement, is what you are looking for. It is a program specifically designed for hosting providers and allows you to scale up and down monthly.

As with all things Microsoft, there are interesting complications outlined in the SPUR.

I would strongly advise against taking licensing advice from the internet. Reach out to Microsoft to put you in touch with a partner who can assist and ultimately share in the blame when you inevitably fail an audit down the road.

23
GraemMcduff•

I came here to say this.

2
paleologus•

Connection.com has specialists for that and can bring in help when needed. They’re good about keeping you current, too.

2
RyeGiggs•

This reminds me, I get to do the SPLA licensing count monthly for our small datacenter. SPLA is a pain to count... with a few scripts and excel templates I can get the process down to about 2-3 hours, but it's not scalable in the long run. Does anyone have recommendations on tools that can help automate SPLA Licensing?

2
tylerbundySystems Engineer•

Have you seen https://octopus.cloud/ ?

2
341913Enterprise IT Manager•

It's been a few years but back then I couldn't find anything that made sense for us. We mostly made use of scripts for the "per user" stuff and ensure that our change management included updating the counts for the "per core" stuff.

We we would do a proper count every 8-10 months

1
FlaatOP•

Thanks, well this is sort of the advice I was looking for but so far I haven't been able to find a partner that understands I want to sell Vms, not use them myself. So they only offered solutions that would definitely make me fail an audit. SPLA seems extremely complex for the scale I am at, so I guess the smaller machines or dedicated machines would be the better option.

2
BrainWaveCC•

Your situation is somewhat unique, but not unknown to Microsoft.

Before you make any purchases or any commitments, please call Microsoft and have them put you in touch with a licensing specialist and go from there.

There are typically VM host licenses AND VM guest licenses, but your scenario will be a little bit off the beaten trail. Speak to Microsoft first.

5
root_b33rStudent•

Ms is pricing everything but avd as a non option, when it comes to licenses you pay per 16 cores of the machine running it and the cals for connections, azure is really the only way to go afaik low cost solutions go

4
Ssakaa•

you pay per 16 cores of the machine running it

You pay per core, with a minimum count of 16. If you have a 20 core machine, you pay for 20 cores (16 pack + 2 pack + 2 pack). You also get 2 instances per "server standard" license. The real hiccup for the OP is less that and more that you ALSO pay for every machine those two instances could reasonably be run on. If you have a hypervisor cluster that you can migrate between with any ease at all, let alone might migrate between with any sort of automation, you license every host. The thing that might help the OP out, though, is that you get unlimited instances with datacenter licenses on the hosts. That drastically simplifies licensing, and at only around about 15-ish instances, if I recall, it's break-even for the same set of hosts. 64 cores and even 3 hosts adds up quick no matter what, though.

OP might get out of it cheaper building 3x16 core hosts in a separate cluster with degraded performance compared to what their non-windows cluster provides.. Or, more likely, pushing their customer down another path to wash their hands of the problem entirely. Hosting Windows servers for other people is a crappy business to get into.

12
root_b33rStudent•

Thanks for the corrections!

3
FlaatOP•

Yeah these clients can't run Azure due to legal requirements making American companies a non option.

1
UCFknight2016Windows Admin•

Why not host in a local AZ on azure? If you cant host in the US, they have AZs in Europe.

3
Sajem•

Are you able to clarify why this is not an option legally?

1
Stolle99•

Not OP but GDPR for example...

2
Sajem•

A possibility I thought of as well, but since you can host your data in Europe which I believe meets GDPR requirements I discounted - the comment making American companies a non option had me thinking in a different direction, such as maybe this is a Russian company

3
[deleted]•

[deleted]

1
exchange12rocksWindows Engineer•

Azure is really expensive: the cheapest Windows VM there will cost you more than 14 USD, and that's on HDD. You can get a Windows VPS from a smaller cloud provider cheaper than this and with more resources

1
BmanUltima•

How many guest VMs do you plan on running?

1
smoothies-for-me•

Honestly, whoever you are going to buy the licenses from would be the best help.

1
FlaatOP•

Yeah I thought so too but the 4 companies I contacted locally seem to employ idiots and simply do not understand I plan to sell Vm's not use them myself. So far they have not offered any solution.

3
Sir-VantesWindows Admin•

I would suggest buying a license for each VM and just keep them on hand in case you get audited.

Do not activate the VM with the license. Win 10 will work fine with the nag in the lower right and if anyone comes calling, you can show them the license for it.

-8
FlaatOP•

How would I do that? As far as I have gathered I need to buy a license for all of the cores of the machine to be able to sell VMs on it (Microsoft SPLA). What type of license are you talking about?

Also they want Windows server licences, not Windows 10/11

3