1

We currently have a VM in Azure which was created from the Azure gallery as a VM with Sql Server Enterprise licensing included on a per-hour basis. This is a very expensive VM. We have MSDN licenses, and this is a dev machine, so we want to change the licensing.

How can we change the licensing without recreating the VM? Would it be possible to create a new VM, copy the disk, and then the licensing is gone?

Rob Tillie
  • 1,137
  • 8
  • 30
  • 4
    I'm voting to close this question as off-topic because it is not about programming. [Why we're not customer support for your favorite company](https://meta.stackoverflow.com/questions/255745/why-were-not-customer-support-for-your-favorite-company). – JasonMArcher Jun 14 '15 at 03:01

1 Answers1

2

Changing the SQL-Server license is only possible with the SQL-Server Setup tool. If you ordered the SQL server via the AZURE deployment, you would not gain any benefit in overwriting the license key. You will get billed "as ordered" not "as currently installed license". The only way to get off this contract is to delete the entire VM.

You will have to set up a new server and install your type of SQL-Server as needed with your own license key (or pick any of the preconfigured Data Services from AZURE). You then can transfer the database, either manually or guided by the SQL-Server Management Studio and later cancel the previous server.

How can we change the licensing without recreating the VM? Would it be possible to create a new VM, copy the disk, and then the licensing is gone?

No. As far as I know, the application license is tied to the data file, not to the VM instance. You would get the same bill, as it would be essentially the same Server. If you make a copy of the disk or create a template and multiply that one, you will get billed for EACH instance.

Try it and watch your bill rising.

Sorry. This may not be the answer you like, but that's the way AZURE licensing is handled.

Backing up the data files and restoring them on a new and cheaper server is quick and painless. However, since you later configured the server as a multi purpose application server, these applications go down the drain too, if you kill the VM. So be prepared with a backup plan (and down time) for those too. An additional, temporary mapped disk would be a good place to dump all your valuables.

Dynamics CRM is almost entirely defined in the databases, so restoring this service is like any other "desaster recovery procedure". Install clean and restore the database. You might have to manually configure SQL server logins and permissions as these are not part of the DB but of the server instance.

If you start with a plain server, you can still install any SQL-Server edition you like if you provide installation media and license key. You can download the ISO file from MS from within the VM. This may be quicker than uploading from your site.

Please mind that MS ist quite picky on whether you are allowed to install your own licenses. I have not heared of any technical hurdles.

Robert Orso
  • 246
  • 2
  • 8
  • This is not correct. I did not order this license with it, it's just included with the VM price. If I stop the machine or delete it, it is gone and I pay nothing. But if it is on, it costs 1.20 euro per hour. This is the price for the VM including the sql server enterprise license. Somehow this is registered with the VM on creation. – Rob Tillie Feb 12 '15 at 14:00
  • It was not clear in your initial question how you did install the server and license. Since you ordered the complete package you can simply cancel it any time. Detach your databases and copy them to a shared location. Fire up a cheaper SQL-Server and re attach the databases. Should not cause any troubles. MS requires "same patchlevel" of the servers for this procedure but I never had a problem, even across releases (upward). You could even try "SQL-Express" with a copy of your DB files. Datach, copy, attach. The original is not altered and you can check wheter it fits. – Robert Orso Feb 12 '15 at 15:24
  • Thanks, I updated the question to reflect how it was created. I know I can recreate the server, but I specifically asked another way. Dynamics CRM is also installed on this machine, it would take a lot of time to configure a new server. – Rob Tillie Feb 13 '15 at 06:04