• Home
  • About Us
  • Contact Us
  • Privacy Policy
  • Special Offers
Business Intelligence Info
  • Business Intelligence
    • BI News and Info
    • Big Data
    • Mobile and Cloud
    • Self-Service BI
  • CRM
    • CRM News and Info
    • InfusionSoft
    • Microsoft Dynamics CRM
    • NetSuite
    • OnContact
    • Salesforce
    • Workbooks
  • Data Mining
    • Pentaho
    • Sisense
    • Tableau
    • TIBCO Spotfire
  • Data Warehousing
    • DWH News and Info
    • IBM DB2
    • Microsoft SQL Server
    • Oracle
    • Teradata
  • Predictive Analytics
    • FICO
    • KNIME
    • Mathematica
    • Matlab
    • Minitab
    • RapidMiner
    • Revolution
    • SAP
    • SAS/SPSS
  • Humor

Should You Use a SQL Server Marketplace Image for an Azure Virtual Machine?

April 3, 2016   Self-Service BI

Virtual machines (VMs) in Azure are fantastic. They are considered “Infrastructure as a Service” (IaaS) and can implement production workloads, dev/test environments, and as learning/sandbox areas.  For instance, with SQL Server 2016 having so many new features, it’s great to be able to fire up a VM quickly, stop it when I’m not using it, and delete it when I’m done with it.

As more and more customers are interested in moving some portion of their BI/analytics workloads to cloud services, one question that comes up occasionally is whether or not you should start with a marketplace image that has SQL Server already installed. So far I’ve noted a few key considerations for this decision:

  1. Do you want to pay for the SQL Server license as part of the VM pricing?
  2. Do you want to configure SQL Server in a specific way (i.e., following best practices)?
  3. Do you want Azure to handle things like automated patching by default?

What is an Azure Marketplace VM Image?

The Azure Marketplace is also sometimes called the Azure Gallery. It’s an “online store” with a ton of predefined solutions including VM images to use as starting points. When you click the Add button to create a new virtual machine, you find there’s a wide variety of predefined images to choose from:

 Should You Use a SQL Server Marketplace Image for an Azure Virtual Machine?

 Should You Use a SQL Server Marketplace Image for an Azure Virtual Machine?

For instance, if you do a search for SQL Server 2016, you’ll see a few choices of images which have SQL Server pre-installed:

 Should You Use a SQL Server Marketplace Image for an Azure Virtual Machine?

Following are a few considerations regarding if you want to utilize a pre-built image for SQL Server.

Pricing of Virtual Machine

Let’s say you already own SQL Server licenses, potentially with Software Assurance. In this case you probably do not want to pay for SQL Server as part of the VM pricing. 

Below is example pricing for a small-ish A6 Windows machine (in reality, a D series is recommended for running SQL Server). Using a Windows image means you would install SQL Server yourself which would be considered a “bring your own license” type of situation for SQL Server:

 Should You Use a SQL Server Marketplace Image for an Azure Virtual Machine?

Example of a SQL Server machine which includes a SQL Server Standard license:

 Should You Use a SQL Server Marketplace Image for an Azure Virtual Machine?

Example of a SQL Server machine which includes a SQL Server Enterprise license:

 Should You Use a SQL Server Marketplace Image for an Azure Virtual Machine?

You can find the pricing calculator here:  https://azure.microsoft.com/en-us/pricing/calculator/. Obviously the above screen shots show retail pricing, but it makes the point that there’s a difference in pricing with a base Windows machine vs a SQL Server VM. Do keep in mind that you only pay the licensing costs for each individual hour that the VM is running. This Azure article discusses pricing considerations a bit further.

At this point in time (April 2016), if you want to apply your own license, the way to do that is to use a Windows image and install SQL Server yourself or transfer a VHD. (Be sure to verify it’s still true if you’re reading this too far in the future.) Having said that, there’s other reasons you may want to install SQL Server yourself anyway…

Setting Up SQL Server in an Azure VM Using Best Practices

If you are a DBA with specific ideas about how things should be set up (as well you should), then you’ll most likely lean towards a Windows image and install/configure SQL Server yourself. With the most recent SQL Server images I’ve used, the DB defaults to installing data and logs both on F:\, and TempDB is on C:\. The allocation unit size is also set to 4096. I could go on but you get the picture (I’m a BI developer, not a DBA, so I’m not even going to try to enumerate what I think should or shouldn’t change from the built-in SQL Server image). Now of course a seasoned DBA can go in afterwards and reconfigure some things, but the message here is that the SQL Server images aren’t pre-configured based on commonly held best practices. For a less experienced DBA, this could potentially lead to performance concerns later.

Here you can find Performance Best Practices for SQL Server in Azure Virtual Machines. 

Control Over Patching of SQL Server and Windows

The recent SQL Server images I’ve seen have automated patching by default, which includes both Windows and SQL Server. 

 Should You Use a SQL Server Marketplace Image for an Azure Virtual Machine?

 Should You Use a SQL Server Marketplace Image for an Azure Virtual Machine?

Let’s block ads! (Why?)

Blog – SQL Chick

Azure, Image, Machine, Marketplace, Server, Should, Virtual
  • Recent Posts

    • Sidney Poitier To Get A School Named After Him
    • Using Power Automate to Automatically Move Your Email Attachments to SharePoint
    • Why it’s time for fintechs and FIs to jump on the open banking bandwagon (VB Live)
    • Integrating a function with integration limits also dependent on a variable
    • GIVEN WHAT HE TOLD A MARINE…..IT WOULD NOT SURPRISE ME
  • Categories

  • Archives

    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • August 2020
    • July 2020
    • June 2020
    • May 2020
    • April 2020
    • March 2020
    • February 2020
    • January 2020
    • December 2019
    • November 2019
    • October 2019
    • September 2019
    • August 2019
    • July 2019
    • June 2019
    • May 2019
    • April 2019
    • March 2019
    • February 2019
    • January 2019
    • December 2018
    • November 2018
    • October 2018
    • September 2018
    • August 2018
    • July 2018
    • June 2018
    • May 2018
    • April 2018
    • March 2018
    • February 2018
    • January 2018
    • December 2017
    • November 2017
    • October 2017
    • September 2017
    • August 2017
    • July 2017
    • June 2017
    • May 2017
    • April 2017
    • March 2017
    • February 2017
    • January 2017
    • December 2016
    • November 2016
    • October 2016
    • September 2016
    • August 2016
    • July 2016
    • June 2016
    • May 2016
    • April 2016
    • March 2016
    • February 2016
    • January 2016
    • December 2015
    • November 2015
    • October 2015
    • September 2015
    • August 2015
    • July 2015
    • June 2015
    • May 2015
    • April 2015
    • March 2015
    • February 2015
    • January 2015
    • December 2014
    • November 2014
© 2021 Business Intelligence Info
Power BI Training | G Com Solutions Limited