How to create an Azure SQL Server followed by a Database and tables
Dr. Umesh Pandit
Advisor Solution Architect for Microsoft Dynamics 365, Azure, PPAC, CRM, M365 and AI
Here's how to create an Azure SQL Database server and database through the Azure portal:
Step 1: Create an Azure SQL Database Server
1. Sign in to Azure Portal:
- Go to https://portal.azure.com and log in with your Azure account.
2. Search for SQL Servers:
- In the Azure portal, use the search bar at the top and type "SQL servers."
- Click on "SQL servers" from the search results.
3. Create a New SQL Server:
- Click the "+ Create" button to create a new SQL Server.
- Fill in the details in the Basics tab:
- Subscription: Select your Azure subscription.
- Resource Group: Either select an existing resource group or create a new one by clicking on "Create new."
- Server Name: Enter a unique name for your SQL Server. This name must be globally unique.
- Region: Choose the region closest to your users.
- Server Admin Login: Provide a username for the server admin.
- Password: Create and confirm a strong password.
- Click "Review + Create" after filling in the necessary details.
- Review your configurations and click "Create" to deploy the server.
Step 2: Create an Azure SQL Database
1. Navigate to SQL Databases:
- After creating the SQL Server, search for "SQL databases" in the Azure portal search bar.
- Click on "SQL databases" from the search results.
2. Create a New Database:
- Click the "+ Create" button to create a new SQL Database.
- In the Basics tab:
- Subscription: Select your Azure subscription.
领英推荐
- Resource Group: Use the same resource group as the SQL Server.
- Database Name: Enter a name for your database.
- Server: Click on "Create new" if you haven't created a server yet, or select the server you just created.
- In the Compute + Storage tab:
- Choose your preferred pricing tier and configure the database size and performance settings. The "Basic" tier is good for testing, while "Standard" or "Premium" is suitable for production workloads.
- Additional Settings:
- You can start with a blank database or use a sample database.
- Set your collation and other optional settings.
- Click "Review + Create" after filling in the necessary details.
- Review your configurations and click "Create" to deploy the database.
Step 3: Connect and Use Your Database
1. Accessing the Database:
- Once the deployment is complete, navigate to the SQL Database overview page.
- You can connect to your SQL Database using SQL Server Management Studio (SSMS), Azure Data Studio, or the Query Editor in the Azure portal.
2. Configure Firewall Rules:
- If you're using SSMS or Azure Data Studio, you might need to configure firewall rules to allow your IP address to access the database server.
- This can be done from the "Set server firewall" option in the SQL Server's overview page.
Next Steps
- Create Tables: You can now create tables using SQL scripts or the GUI available in your database management tool.
- Manage and Monitor: Use the Azure portal to manage, monitor, and optimize the performance of your SQL Database.
This process will set up an Azure SQL Database server and a database that you can start using for your applications.
YouTube Video Created Just for You! https://youtu.be/JfAVqAI-bAY
#AzureSQL #AzureDatabase #SQLServer #CloudComputing #AzureCloud
#DatabaseManagement #CloudSolutions #MicrosoftAzure #DataStorage
#TechTutorial #Umeshpandit #Azuretalks
Azure cloud Engineer / DevOps Engineer / SRE
2 个月Insightful Dr. Umesh Pandit
Faculty in Auditing Department
2 个月Useful tips