Learn to create and manage your SQL databases in the cloud.
This tutorial will guide you through the process of creating a new Azure SQL Database using the Azure portal. This is the foundational step for storing and managing your relational data in Azure.
First, navigate to the Azure portal and sign in with your Azure account credentials.
Once logged in, you'll see your Azure dashboard.
To create a new SQL database, follow these steps:
In the Azure portal search bar, type "SQL databases" and select it from the results. Alternatively, you can find it under "Azure services".
On the SQL databases page, click the + Create button.
You will be presented with the "Create SQL database" form. Fill in the required fields:
MySampleAzureDB).To create a new server:
In the "Compute + storage" section, configure the performance and cost of your database. You can choose from predefined configurations or use the "Configure database" option for more granular control.
For this tutorial, we'll use the default settings or a cost-effective option like the "Basic" tier for demonstration purposes.
Under the "Networking" tab, you can configure how your database is accessed. For initial setup, you can allow Azure services and resources to access this server. For enhanced security, consider configuring firewall rules later.
Under the "Security" tab, you can set up additional security features like transparent data encryption.
Navigate to the "Review + create" tab. Azure will validate your configuration. Once validation passes, review the summary of your settings and click the Create button.
Azure will now deploy your SQL database. This process may take a few minutes.
Congratulations! You have successfully created an Azure SQL Database. In the next tutorial, we'll cover how to connect to your database and run basic queries.
Proceed to Connect to Your Database