{"id":3563,"date":"2014-08-13T00:46:00","date_gmt":"2014-08-12T22:46:00","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/"},"modified":"2014-08-13T00:46:00","modified_gmt":"2014-08-12T22:46:00","slug":"deploy-a-sql-server-database-to-azure","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/","title":{"rendered":"Deploying a SQL Server database to Azure"},"content":{"rendered":"<p><img decoding=\"async\" class=\"blog-image aligncenter\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_sqlserver2014_20130625-144612_1.jpg\" alt=\"\" \/><\/p>\n<p>Deploying an SQL Server database to a Windows Azure virtual machine is a feature introduced with SQL Server 2014. It can be useful for an organization\u00a0 that wants to reduce its infrastucture management, simplify the deployment, or have a fast virtual machine generation.<\/p>\n<h3>Concept<\/h3>\n<p>This new feature is a wizard which allows either to copy or migrate an On-Premise SQL Server database to a Windows Azure virtual machine.<br \/>\nThe following schema explains the main process of the feature:<br \/>\n<a title=\"PrtScr-capture_20.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20.png\"><img loading=\"lazy\" decoding=\"async\" class=\" aligncenter\" title=\"PrtScr-capture_20.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20.png\" alt=\"PrtScr-capture_20.png\" width=\"483\" height=\"231\" \/><\/a>An existing SQL Server instance is present on an On-Premise machine of an organization, hosting one or several user databases.<br \/>\nOnce the new feature is used, a copy of the on-premise database will be available on the SQL Server instance in the Cloud.<\/p>\n<h3>Prerequisites<\/h3>\n<h4>Azure Account Creation<\/h4>\n<p>Obviously, the first requirement is an Azure account! To create an Azure account, go to the official <a href=\"https:\/\/azure.microsoft.com\/en-us\/\">Azure website<\/a>.<\/p>\n<h4>Azure Virtual Machine Creation<\/h4>\n<p>Once the Azure account has been set, a Windows Azure virtual machine has to be created.<\/p>\n<p>There are two ways to create a Virtual Machine: by a &#8220;Quick Create&#8221; or by a &#8220;Custom Create&#8221;. It is recommended to perform a &#8220;Custom Create&#8221; (from gallery) because it offers more flexibility and control on the creation.<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_20_20140730-120018_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20_20140730-120018_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_20_20140730-120018_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20_20140730-120018_1.png\" alt=\"PrtScr-capture_20_20140730-120018_1.png\" width=\"559\" height=\"142\" \/><\/a><\/p>\n<p>This example is done with \u201cFROM GALLERY\u201d. So the creation of the virtual machine will be performed with a wizard in four steps.<br \/>\nThe first step of the wizard is the selection of the virtual machine type.<br \/>\nUnlike prejudices, Windows Azure offers a large panel of virtual machines, which do not only come from the Microsoft world.<br \/>\nSee more details about <a href=\"https:\/\/azure.microsoft.com\/en-us\/documentation\/services\/virtual-machines\/\">Virtual Machines <\/a>on the Microsoft Azure website.<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_20_20140730-120252_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20_20140730-120252_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_20_20140730-120252_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20_20140730-120252_1.png\" alt=\"PrtScr-capture_20_20140730-120252_1.png\" width=\"376\" height=\"260\" \/><\/a><br \/>\nThe targeted feature is only available on SQL Server 2014, so a virtual machine including SQL Server 2014 has to be created. This example will be made with a Standard edition to have the more restrictive edition of SQL Server 2014.<\/p>\n<p>The first step of the wizard is configured as follows:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_20_20140730-120551_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20_20140730-120551_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_20_20140730-120551_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20_20140730-120551_1.png\" alt=\"PrtScr-capture_20_20140730-120551_1.png\" width=\"363\" height=\"228\" \/><\/a><\/p>\n<p>For this example, default settings are used. Indeed the configuration of the virtual machine is not the main topic here, and can change depending on one\u2019s need.<\/p>\n<p>The release date from June is selected, so the SP1 will be included for SQL Server 2014.<\/p>\n<p>The &#8220;Standard Tier&#8221; is selected so load-balancer and auto-scaling will be included. See more details about <a href=\"https:\/\/azure.microsoft.com\/en-us\/pricing\/details\/virtual-machines\/\">Basic and Standard Tier<\/a> on the Microsoft Azure website.<\/p>\n<p>The virtual machine will run with 2 cores and 3.5 GB memory, which will be enough for this demo. See more details about <a href=\"https:\/\/azure.microsoft.com\/en-us\/pricing\/details\/virtual-machines\/\">prices and sizes<\/a> on the Microsoft Azure website.<\/p>\n<p>The virtual machine is named \u201cdbiservicesvm\u201d and the first (admin) user is \u201cdbiadmin\u201d.<br \/>\nThe second step of the wizard is configured as follows:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_20_20140730-121233_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20_20140730-121233_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_20_20140730-121233_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20_20140730-121233_1.png\" alt=\"PrtScr-capture_20_20140730-121233_1.png\" width=\"356\" height=\"226\" \/><\/a><\/p>\n<p>The creation of a virtual machine in Azure requires a cloud service, which is a container for virtual machines in Azure. See more details about <a href=\"http:\/\/azure.microsoft.com\/en-us\/documentation\/articles\/cloud-services-what-is\/\">Cloud Service<\/a> on the Microsoft Azure website.<\/p>\n<p>Furthermore, a storage account (&#8220;dbiservices&#8221;) and an affinity group (&#8220;IT&#8221;) are also required to store the disk files of the virtual machine. To create a storage account and an affinity group, see the <a href=\"\/backup-an-sql-server-database-from-on-premise-to-azure\">Azure Storage Account Creation <\/a>part from a previous blog.<\/p>\n<p>The third step of the wizard is configured as follows:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_20_20140730-121705_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20_20140730-121705_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_20_20140730-121705_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20_20140730-121705_1.png\" alt=\"PrtScr-capture_20_20140730-121705_1.png\" width=\"352\" height=\"219\" \/><\/a><\/p>\n<p>This screen offers the possibility to install extensions for the virtual machine. Virtual machine extensions simplify the virtual machine management. By default, VM Agent is installed on the virtual machine.<\/p>\n<p>The Azure VM Agent will be responsible for installing, configuring and managing VM extensions on the virtual machine.<\/p>\n<p>For this example, VM extensions are not required at all, so nothing is selected.<\/p>\n<h3>Deploy a database to the Windows Azure VM wizard<\/h3>\n<h4>Launch the wizard<\/h4>\n<p>The wizard can be found with a right-click on the targeted database, then &#8220;Tasks&#8221; and finally &#8220;Deploy Database to a Windows Azure VM\u2026&#8221;<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_201_20140730-132221_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-132221_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_201_20140730-132221_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-132221_1.png\" alt=\"PrtScr-capture_201_20140730-132221_1.png\" width=\"289\" height=\"159\" \/><\/a><\/p>\n<p>In fact, it does not matter from which user databases the wizard is launched, because the wizard will ask to connect to an instance, and then it will ask to select a database.<\/p>\n<h4>Use the wizard<\/h4>\n<p>The first step is an introduction of the wizard, which is quite without interests.<\/p>\n<p>The second step needs three fields: the SQL Server instance (source instance), the SQL Server database\u00a0 (source database) and the folder to store the backup files.<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_24.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_24.png\"><img decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_24.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_24.png\" alt=\"PrtScr-capture_24.png\" width=\"400\" \/><\/a><\/p>\n<p>The &#8220;SQL Server&#8221; field is the SQL Server instance hosting the SQL Server database which is planned to be deployed to Azure.<br \/>\nThe &#8220;Select Database&#8221; field must obviously reference the database to deploy.<br \/>\nThe third step needs two fields: the authentication to the Azure account and the selection of the subscription.<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_201_20140730-132747_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-132747_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_201_20140730-132747_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-132747_1.png\" alt=\"PrtScr-capture_201_20140730-132747_1.png\" width=\"303\" height=\"281\" \/><\/a><\/p>\n<p>After clicking on the Sign in\u2026 button, a pop-up will require the Administrator privilege from the Azure account.<br \/>\nAs soon as the credentials are entered to connect to the Azure account, a certificate will be generated.<\/p>\n<p>If several subscriptions are linked to the Azure account, select the correct subscription ID. In this example, there is only one subscription linked to the Azure account.<\/p>\n<p>For more information, see <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/azure\/hh531793.aspx\">what\u2019s the difference between an Azure account and a subscription<\/a> on TechNet.<br \/>\nThe fourth step of the wizard is divided in several parts. First, there is the virtual machine selection, as follows:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_201_20140730-133036_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-133036_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_201_20140730-133036_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-133036_1.png\" alt=\"PrtScr-capture_201_20140730-133036_1.png\" width=\"317\" height=\"293\" \/><\/a><\/p>\n<p>The cloud service (&#8220;dbiservicescloud&#8221;) needs to be selected. Then, the virtual machine (&#8220;dbiservicesvm&#8221;) can be selected.<br \/>\nCredentials to connect to the virtual machine must be provided, as follows:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_201_20140730-133421_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-133421_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_201_20140730-133421_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-133421_1.png\" alt=\"PrtScr-capture_201_20140730-133421_1.png\" width=\"309\" height=\"151\" \/><\/a><\/p>\n<p>The SQL Server instance name and the database name need to be filled, as follows:<\/p>\n<p><a title=\"PrtScr-capture_201_20140730-133756_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-133756_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\" aligncenter\" title=\"PrtScr-capture_201_20140730-133756_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-133756_1.png\" alt=\"PrtScr-capture_201_20140730-133756_1.png\" width=\"310\" height=\"288\" \/><\/a><\/p>\n<p>Finally, all information are filled for the wizard, the deployment can be launched. The deployment finished successfully!<\/p>\n<h4>After the deployment<\/h4>\n<p>First, the On-Premise database used for the deployment is still present on the SQL Server instance.<\/p>\n<p><a title=\"PrtScr-capture_201_20140730-134024_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-134024_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\" aligncenter\" title=\"PrtScr-capture_201_20140730-134024_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-134024_1.png\" alt=\"PrtScr-capture_201_20140730-134024_1.png\" width=\"166\" height=\"141\" \/><\/a><\/p>\n<p>Then, the folder used to store the temporary file is still present. In fact, this is a &#8220;bak&#8221; file because the mechanism behind the wizard is a simple backup and restore of the database from an On-Premise SQL Server instance to an Azure SQL Server instance.<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_201_20140730-134116_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-134116_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_201_20140730-134116_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-134116_1.png\" alt=\"PrtScr-capture_201_20140730-134116_1.png\" width=\"521\" height=\"66\" \/><\/a><\/p>\n<p>So do not forget to delete the bak file after the deployment because this file uncessarly fills your storage space for big databases.<br \/>\nFinally, the deployed database can be found on the Azure SQL Server instance!<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_201_20140730-134220_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-134220_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_201_20140730-134220_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-134220_1.png\" alt=\"PrtScr-capture_201_20140730-134220_1.png\" width=\"218\" height=\"97\" \/><\/a><\/p>\n<h4>Standard Errors<\/h4>\n<p>At the SQL Server level, an On-Premise SQL user with Backup Operator privilege is required on the targeted Azure database. Of course the user must be mapped with a SQL Server login to be able to connect to the SQL Server instance.<\/p>\n<p>If the user does not have the Backup Operator privilege, the process will be blocked at the database backup creation step:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_20_20140730-122146_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20_20140730-122146_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_20_20140730-122146_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_20_20140730-122146_1.png\" alt=\"PrtScr-capture_20_20140730-122146_1.png\" width=\"362\" height=\"209\" \/><\/a><\/p>\n<p>Moreover, an Azure account with Administrator Service privilege linked to the subscription containing the Windows Azure virtual machine is also required. Without this account, it is impossible to retrieve the list of Windows Azure virtual machines available on the Azure account, so the SQL Server Windows Azure virtual machine created previously.<\/p>\n<p>Finally, the end point of the Cloud Adapter must be configured to access the virtual machine during the execution of the wizard. If not, the following error message will occur:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_201.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_201.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201.png\" alt=\"PrtScr-capture_201.png\" width=\"364\" height=\"79\" \/><\/a><\/p>\n<p>The Cloud Adapter is a service which allows the On-Premise SQL Server instance to communicate with the SQL Server Windows Azure virtual machine. More details about <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/dn169301.aspx\">Cloud Adapter for SQL Server<\/a> on TechNet.<\/p>\n<p>To configure the Cloud Adapter port, the Azure administrator needs to access to the Endpoints page in the SQL Server Windows Azure virtual machine on the Azure account. Then a new endpoint needs to be created as follows:<\/p>\n<p><a title=\"PrtScr-capture_201_20140730-122732_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-122732_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\" aligncenter\" title=\"PrtScr-capture_201_20140730-122732_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-122732_1.png\" alt=\"PrtScr-capture_201_20140730-122732_1.png\" width=\"535\" height=\"113\" \/><\/a><\/p>\n<p>Now, the SQL Server Windows Azure virtual machine allows to connect to the Cloud Adapter port.<\/p>\n<p>The credentials of a Windows administrator user are also required on the Windows Azure virtual machine to connect to the virtual machine in Azure. This administrator also needs a SQL Server login. If these two requirements are not met, the following error message will occur:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_201_20140730-122929_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-122929_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_201_20140730-122929_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-122929_1.png\" alt=\"PrtScr-capture_201_20140730-122929_1.png\" width=\"399\" height=\"89\" \/><\/a><\/p>\n<p>The login created in the SQL Server instance in Azure must also have the dbcreator server role, otherwise the following error message will occur:<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"PrtScr-capture_201_20140730-123033_1.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-123033_1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"PrtScr-capture_201_20140730-123033_1.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/PrtScr-capture_201_20140730-123033_1.png\" alt=\"PrtScr-capture_201_20140730-123033_1.png\" width=\"304\" height=\"181\" \/><\/a><\/p>\n<h4>Limitations<\/h4>\n<p>The first limitation of this new feature is the database size of this operation: it cannot exceed 1 TB.<br \/>\nMoreover, it does not support hosted services that are associated with an Affinity Group.<\/p>\n<p>The new feature does not allow to deploy all versions of SQL Server database. Indeed, only SQL Server 2008 database versions or higher are allowed to be deployed.<\/p>\n<h3>Similar features<\/h3>\n<p>If this new feature, for any reason , does not meet the organization\u2019s need, two similar features exist.<\/p>\n<h4>SQL database in Azure<\/h4>\n<p>This feature introduced with SQL Server 2012 is quite similar to the feature presented in this blog, because the SQL Server database and the Windows Azure virtual machine are hosted on Azure.<\/p>\n<p>However, the management of the infrastructure is much more reduced: no virtual machine management nor sql server management. A good comparison between these two functionalities is available: <a href=\"http:\/\/azure.microsoft.com\/blog\/2013\/02\/14\/choosing-between-sql-server-in-windows-azure-vm-windows-azure-sql-database\/\">Choosing between SQL Server in Windows Azure VM &amp; Windows Azure SQL Database<\/a>.<br \/>\nMore details about <a href=\"http:\/\/azure.microsoft.com\/en-us\/documentation\/services\/sql-database\/\">SQL Database<\/a> on Azure.<\/p>\n<h4>SQL Server data files in Azure<\/h4>\n<p>This is a new feature introduced with SQL Server 2014, which allows to store data files from the SQL Server database in Azure Blob storage, but the SQL Server instance runs On-Premise.<\/p>\n<p>It simplifies the migration process, reduces the On-Premise space storage and management, and simplifies the High Availability and recovery solutions\u2026<\/p>\n<p>More details about <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/dn385720.aspx\">SQL Server data files in Azure <\/a>on TechNet.<\/p>\n<h3>Conclusion<\/h3>\n<p>With this feature, Microsoft simplifies the SQL Server database deployment process from On-Premise to Azure.<br \/>\nAzure is a rather attractive and interesting tool that is highly promoted by Microsoft.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Deploying an SQL Server database to a Windows Azure virtual machine is a feature introduced with SQL Server 2014. It can be useful for an organization\u00a0 that wants to reduce its infrastucture management, simplify the deployment, or have a fast virtual machine generation. Concept This new feature is a wizard which allows either to copy [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":3189,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[198],"tags":[49,51,52,213],"type_dbi":[],"class_list":["post-3563","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database-management","tag-microsoft","tag-sql-server","tag-sql-server-2014","tag-windows-azure"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Deploying a SQL Server database to Azure - dbi Blog<\/title>\n<meta name=\"description\" content=\"Deploying an SQL Server database to a Windows Azure virtual machine is a feature introduced with SQL Server 2014. It can be useful for an organization that wants to reduce its infrastucture management, simplify the deployment, or have a fast virtual machine generation.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Deploying a SQL Server database to Azure\" \/>\n<meta property=\"og:description\" content=\"Deploying an SQL Server database to a Windows Azure virtual machine is a feature introduced with SQL Server 2014. It can be useful for an organization that wants to reduce its infrastucture management, simplify the deployment, or have a fast virtual machine generation.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2014-08-12T22:46:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_sqlserver2014_20130625-144612_1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"245\" \/>\n\t<meta property=\"og:image:height\" content=\"149\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Nathan Courtine\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nathan Courtine\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/deploy-a-sql-server-database-to-azure\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/deploy-a-sql-server-database-to-azure\\\/\"},\"author\":{\"name\":\"Nathan Courtine\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/38305b5ebdcdb4fb784fa31d760862d1\"},\"headline\":\"Deploying a SQL Server database to Azure\",\"datePublished\":\"2014-08-12T22:46:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/deploy-a-sql-server-database-to-azure\\\/\"},\"wordCount\":1576,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/deploy-a-sql-server-database-to-azure\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/04\\\/2e1ax_default_entry_sqlserver2014_20130625-144612_1.jpg\",\"keywords\":[\"Microsoft\",\"SQL Server\",\"SQL Server 2014\",\"Windows Azure\"],\"articleSection\":[\"Database management\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/deploy-a-sql-server-database-to-azure\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/deploy-a-sql-server-database-to-azure\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/deploy-a-sql-server-database-to-azure\\\/\",\"name\":\"Deploying a SQL Server database to Azure - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/deploy-a-sql-server-database-to-azure\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/deploy-a-sql-server-database-to-azure\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/04\\\/2e1ax_default_entry_sqlserver2014_20130625-144612_1.jpg\",\"datePublished\":\"2014-08-12T22:46:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/38305b5ebdcdb4fb784fa31d760862d1\"},\"description\":\"Deploying an SQL Server database to a Windows Azure virtual machine is a feature introduced with SQL Server 2014. It can be useful for an organization that wants to reduce its infrastucture management, simplify the deployment, or have a fast virtual machine generation.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/deploy-a-sql-server-database-to-azure\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/deploy-a-sql-server-database-to-azure\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/deploy-a-sql-server-database-to-azure\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/04\\\/2e1ax_default_entry_sqlserver2014_20130625-144612_1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/04\\\/2e1ax_default_entry_sqlserver2014_20130625-144612_1.jpg\",\"width\":245,\"height\":149},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/deploy-a-sql-server-database-to-azure\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deploying a SQL Server database to Azure\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/38305b5ebdcdb4fb784fa31d760862d1\",\"name\":\"Nathan Courtine\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0fcc6c91bbc35c976c9d470585e48ae5d500680f1f55de5bbc5f8373b8ebb02c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0fcc6c91bbc35c976c9d470585e48ae5d500680f1f55de5bbc5f8373b8ebb02c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0fcc6c91bbc35c976c9d470585e48ae5d500680f1f55de5bbc5f8373b8ebb02c?s=96&d=mm&r=g\",\"caption\":\"Nathan Courtine\"},\"description\":\"Nathan Courtine has more than four years of experience in Microsoft solutions. He is specialized in SQL Server installation, migration, performance analysis, best practices, etc. Moreover, he has a background in Oracle Java and .NET software and web development. Nathan Courtine is Microsoft Certified in Administering SQL Server 2012 Databases. Nathan Courtine holds an Engineer\u2019s Degree in Computer Science from the ENSISA (Ecole Nationale Sup\u00e9rieure d'Ing\u00e9nieurs Sud Alsace) in Mulhouse (F). His branch-related experience covers Public Sector, Automotive, IT, Financial Services \\\/ Banking, etc.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/nathan-courtine\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Deploying a SQL Server database to Azure - dbi Blog","description":"Deploying an SQL Server database to a Windows Azure virtual machine is a feature introduced with SQL Server 2014. It can be useful for an organization that wants to reduce its infrastucture management, simplify the deployment, or have a fast virtual machine generation.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/","og_locale":"en_US","og_type":"article","og_title":"Deploying a SQL Server database to Azure","og_description":"Deploying an SQL Server database to a Windows Azure virtual machine is a feature introduced with SQL Server 2014. It can be useful for an organization that wants to reduce its infrastucture management, simplify the deployment, or have a fast virtual machine generation.","og_url":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/","og_site_name":"dbi Blog","article_published_time":"2014-08-12T22:46:00+00:00","og_image":[{"width":245,"height":149,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_sqlserver2014_20130625-144612_1.jpg","type":"image\/jpeg"}],"author":"Nathan Courtine","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Nathan Courtine","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/"},"author":{"name":"Nathan Courtine","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/38305b5ebdcdb4fb784fa31d760862d1"},"headline":"Deploying a SQL Server database to Azure","datePublished":"2014-08-12T22:46:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/"},"wordCount":1576,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_sqlserver2014_20130625-144612_1.jpg","keywords":["Microsoft","SQL Server","SQL Server 2014","Windows Azure"],"articleSection":["Database management"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/","url":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/","name":"Deploying a SQL Server database to Azure - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_sqlserver2014_20130625-144612_1.jpg","datePublished":"2014-08-12T22:46:00+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/38305b5ebdcdb4fb784fa31d760862d1"},"description":"Deploying an SQL Server database to a Windows Azure virtual machine is a feature introduced with SQL Server 2014. It can be useful for an organization that wants to reduce its infrastucture management, simplify the deployment, or have a fast virtual machine generation.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_sqlserver2014_20130625-144612_1.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_sqlserver2014_20130625-144612_1.jpg","width":245,"height":149},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/deploy-a-sql-server-database-to-azure\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Deploying a SQL Server database to Azure"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/38305b5ebdcdb4fb784fa31d760862d1","name":"Nathan Courtine","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0fcc6c91bbc35c976c9d470585e48ae5d500680f1f55de5bbc5f8373b8ebb02c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0fcc6c91bbc35c976c9d470585e48ae5d500680f1f55de5bbc5f8373b8ebb02c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0fcc6c91bbc35c976c9d470585e48ae5d500680f1f55de5bbc5f8373b8ebb02c?s=96&d=mm&r=g","caption":"Nathan Courtine"},"description":"Nathan Courtine has more than four years of experience in Microsoft solutions. He is specialized in SQL Server installation, migration, performance analysis, best practices, etc. Moreover, he has a background in Oracle Java and .NET software and web development. Nathan Courtine is Microsoft Certified in Administering SQL Server 2012 Databases. Nathan Courtine holds an Engineer\u2019s Degree in Computer Science from the ENSISA (Ecole Nationale Sup\u00e9rieure d'Ing\u00e9nieurs Sud Alsace) in Mulhouse (F). His branch-related experience covers Public Sector, Automotive, IT, Financial Services \/ Banking, etc.","url":"https:\/\/www.dbi-services.com\/blog\/author\/nathan-courtine\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/3563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=3563"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/3563\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/3189"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=3563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=3563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=3563"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=3563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}