Automating SQL Database operations

The Azure SQL Database is the fully managed PaaS version of a SQLServer-like database engine in the cloud.

When dealing with big multitenant infrastructures, where we pool group of tenants into the same database, automation solutions on database management are necessary.

Let's assume that we need to automate the creation process of a new database. As far as we know, we can proceed as follows:

  1. Use the Azure T-SQL (create database).
  2. Use the Management API (even through the managed libraries).

If then we need to create new servers, only the second option remains available. It is easy to understand that if we want to scale out automatically, an automated management solution has to be implemented on the Management API ...

Get Microsoft Azure Development Cookbook Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.