This article will explain how to create Azure SQL Database. We will see it step-by-step.

Please refer to my previous article,

Before we start, let's understand the objective of this demonstration which tells what exactly will be covered in this article.

Prerequisites

Azure SQL Database

SQL Database is a high-performance reliable cloud database. It is a managed cloud databaseas-a-Service (SaaS) that uses the SQL Server database engine in the Azure Cloud Platform.

It becomes easier for the developers/programmers to develop their products as there is less involvement in the maintenance part of the product. It supports relational, JSON, XML, and spatial data structures. Azure SQL provides various advanced features to its users such as Long-term backup retention, Geo-replication, Automatic tuning, Scaling database resources, business continuity, etc.

Step 1

Open the Azure management portal and log in to https://portal.azure.com

Step 2

Click on "Create a Resource".

Create Resource

Step 3

Search and Select "SQL Database". Then, Click on "Create".

SQL Database

SQL Database Search

Step 4

Click on the "+ Create" button.

Create SQL Database

Step 5

After clicking create option, fill in the required details in the Basics tab

Before details are filled.

Basic Details

After the details are filled.

Basic Details after details filled

Step 6

Fill the details under the "Database Details"

Afterward, Click on OK button at the bottom.

SQL Database server

For the initial use, the In-Service tier, Select "Basic" under the DTU-based purchasing model. Then, Click on "Apply".

Computer + Storage

Service Tier

Service Tier Basic

Step 7

"Backup Storage Redundancy" section, Select Geo-redundant backup storage.

Step 8

After configuring the server, Now, Click on "Next: Networking >" to jump onto the networking section

Now, In the Networking tab, Choose the below options

Networking

Step 9

Click on "Next: Security >" and Keep these options as it is.

Security

Step 10

Click on "Next: Additional Settings >" and go to the Additional Settings tab. Select the "None" option for "Use existing data".

Additional setting

Step 11

Click on "Next: Tags >" and Keep it as it is. Then, Click on "Review + Create".

Tags

Step 12

"Review + Create" option will provide you with an overview of your Azure SQL Database. Afterwards, click on "Create" to create your database.

Review + Create

Step 13

Once click on "Create" it will Initialize validation for deployment

Validation initialize

Step 14

Initializing deployment After Validation Passed

Deployment started

Step 15

A message will notify you once the deployment is done.

Deployment complete

Step 16

Once done with the deployment, when you go to the Resource group, you can see the database that you have just created. Select your database.

Azure Resource

Step 17

When you click on the database, you will the 'server name'. Copy the server name and then open SQL Server Management Studio (SSMS).

SQL Database

Step 18

Open SSMS, Enter the server name which you have copied in the previous step, and change the Authentication to "SQL Server Authentication". Click on "Connect".

SSMS

Step 19

After clicking on "Connect", the below pop-up window appears. Now, you have to set the firewall rules for your Azure SQL server.

Connect to Azure Database

Step 20

Now, Click on Set Server Firewall from the Overview tab of the SQL Database.

Set Firewall

Step 21

Now, In the firewall rules section, Add your "Client IP address". Then, you’ll notice one IP address gets automatically added to the below list. "Save" the Changes.

IP Address

Step 22

Now again, In the SSMS again, Click on "Connect" after entering the credentials.

SSMS

Step 23

Your Azure SQL Database is now successfully connected. You can access the database from Azure Database in SSMS.

SSMS connect to Azure SQL Database