1. Open Azure SQL in the portal
From the Azure home screen, enter “Azure SQL” in the search bar and choose the Azure SQL service. The Azure SQL overview lists both servers and individual databases; pay attention to the Resource type column so you know whether an entry is a SQL Server resource (a logical host that can contain many databases) or a single database. A “serverless” database is still hosted on a virtual machine, but Azure manages the VM characteristics based on the tier and compute settings you choose. Tip: for repeated demos or labs, consider pre-creating a reusable server to avoid re-entering administrator credentials each time.2. Start creating a database
Click Create and pick the option that matches your needs:- SQL Managed Instance — closest to full SQL Server compatibility; higher cost.
- SQL Database — lets you create a single database or an elastic pool.
- Subscription (billing)
- Resource group
- Database name (example:
PHVAZ) - Server (select an existing server or Create new)
- Server name (lowercase used in the server URL)
- Region
- Authentication method and server admin credentials
Always record the server administrator username and password — you’ll need them to connect from client tools.
Remember the server administrator name and password you set here. You will need them later to connect from tools such as Azure Data Studio, and forgetting them can interrupt your lab work.
3. Compute sizing and pricing considerations
- You do not select explicit VM hardware (disk I/O, GPU) like you would with a VM. Those capabilities are abstracted by the selected database tier and compute options.
- Compute cost is billed through the selected subscription and shown on the create blade.
- For experimentation, use a Development tier or serverless options (when supported) and pause/stop compute when allowed to lower costs.
4. Networking — allow client access
Go to Networking to configure how clients connect to the server. For labs you’ll typically add your current client IP to the server-level firewall so your machine can connect during setup. Clicking “Add current client IP” inserts a firewall rule permitting access from that IP while blocking others.
Avoid leaving broad or public firewall rules open after finishing a lab. Restrict access or remove temporary IP rules to reduce exposure.
5. Security options
On the Security tab you can enable features such as:- Microsoft Defender for SQL — threat detection and activity monitoring.
- Ledger — tamper-evident auditing of changes by hashing tracked data.
6. Additional settings — initial data source
Under Additional settings choose the initial data source for the database:
Some labs require AdventureWorks sample data. Select Sample to provision tables and data automatically for those exercises.

7. Review, create, and wait for deployment
Click Review + Create. If validation passes, click Create. Deployment typically takes several minutes. When finished, return to the Azure SQL overview to see the database (examplePHVAZ) and its server (example PHV2) listed.

- Manage firewall rules
- Configure security (Defender, auditing, ledger)
- Scale compute and storage
- View connection strings for use in client applications
8. Connect with Azure Data Studio
Recommended client tools:- Azure Data Studio — lightweight, cross-platform, and purpose-built for database work.
- Visual Studio / Visual Studio Code — useful when integrated with development workflows.
- Azure Data Studio docs and downloads: https://learn.microsoft.com/sql/azure-data-studio/download-azure-data-studio
- Server: the server URL shown in the portal
- Authentication type:
SQL Login - Username: server admin user you created
- Password: server admin password

Address) to choose Edit Data or Select Top 1000. Selecting Top 1000 generates and runs a SELECT query and displays results.
The editor shows both the query text and returned rows so you can modify and run additional queries while learning SQL.
Quick checklist
Links and references
- Azure SQL overview: https://learn.microsoft.com/azure/azure-sql/
- Azure Data Studio download: https://learn.microsoft.com/sql/azure-data-studio/download-azure-data-studio
- Microsoft Defender for SQL: https://learn.microsoft.com/azure/defender-for-cloud/defender-for-sql
- AdventureWorks sample database: https://github.com/microsoft/sql-server-samples