Friday, August 8, 2014

Microsoft Azure: How to configure a SQL Server VM on Azure?

Microsoft Azure gives you a preprovisioned Virtual Machine with SQL Server installed. So getting a SQL Server as a PaaS solution is really easy in Azure. What you have to be aware of is that some extra steps are required before you can start using your SQL Server instance.

You have to:

  • Create a TCP endpoint on your VM with a public port of your choice and port 1433(the default port that SQL server uses) as the private port
  • Add an exception in the firewall configuration of the VM for incoming traffic on port 1433
  • Configure SQL Server to mixed mode configuration so you can use a SQL login to connect to the database
  • Create a SQL login on the database
  • And of course, don’t forget to test it Glimlach

More information and a detailed walkthrough can be found here: http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-provision-sql-server/

Connecting to a SQL Server virtual machine

No comments: