MSDN Tutorials

Learn to deploy and manage Azure SQL Databases

Deploying Azure SQL Databases

This section provides comprehensive tutorials and guides on deploying Azure SQL Databases. Whether you're setting up a new instance, migrating existing databases, or automating deployments, you'll find the resources you need here.

Getting Started

Azure SQL Database offers a fully managed platform as a service (PaaS) database engine that handles most of the database management functions such as upgrading, patching, and backups without user involvement. You can focus on the high-level administration and tuning of your business and developer productivity that you deliver.

Popular deployment methods include:

Key Concepts

Understanding these concepts will help you choose the right deployment strategy:

Featured Tutorials

Explore the following tutorials to get hands-on experience:

Featured Tutorial: Deploy an Azure SQL Database using SQL Serverless. This quickstart guide will walk you through deploying a serverless SQL database in just a few minutes.

Automated Deployments

For repeatable and scalable deployments, consider using Infrastructure as Code (IaC) tools:

Refer to the ARM Templates deployment tutorial and the Bicep deployment tutorial for detailed instructions.

Migration Strategies

Planning a migration? We have resources covering various scenarios, from migrating from SQL Server on-premises to Azure SQL Database. Check out our migration guide.

Code Examples

Here's a basic example of how you might create an Azure SQL Database using Azure CLI:


az sql server create \
    --name myazuresqlserver \
    --resource-group myresourcegroup \
    --location eastus \
    --admin-user sqladmin \
    --admin-password "your_password"

az sql db create \
    --resource-group myresourcegroup \
    --server myazuresqlserver \
    --name mydatabase \
    --edition Basic
            

For more advanced scenarios, including managed instances and different service tiers, please explore the specific tutorials linked in the navigation pane.