Open In App

Microsoft Azure – Database For PostgreSQL

Microsoft Azure provides us with various services to help us easily and quickly migrate from on-premise to the cloud without making significant changes. Therefore, in addition to the Azure SQL services, Azure provides us with data services for many popular relational database systems including MariaDB, PostgreSQL, and MySQL.

PostgreSQL is a hybrid relational-object database. Here we can store our data with custom data types with their non-relational properties and in tables with relational properties. This assists in storing geometric data such as circles, polygons, and lines and manipulating it. 



PostgreSQL has its own query language called pgsql. It is a variant of the standard relational query language with additional features that helps us in writing stored procedures that run inside databases.

Azure Database for PostgreSQL: Azure provides us with a platform-as-a-service implementation of PostgreSQL in Azure with an Azure Database for PostgreSQL. This service provides us with the same administrative benefits, scalability, security, performance, and availability as the MySQL service. 



Azure Database for PostgreSQL has 3 different deployment options that we may use:  

How to Create an Azure Database For PostgreSQL? 

Prerequisites: You need to have an active Azure Subscription. You can avail a free 12-month subscription.   

Step 1: Navigate to the Azure portal

 

Step 2: In the Azure Portal, select the + Create a resource option. You will see a list of resources we can provide in Azure. 

 

Step 3: In the search type Azure Database for PostgreSQL

 

Step 4: In the resulting page select create option. 

Step 5: Review the different options available for the Azure Database for PostgreSQL. Choose the one that you need as per your requirements. For now, select the single server tile and select create. Decline the offer to switch to a flexible server if asked. 

 

Step 6: You will be prompted with a create SQL database page. Enter the details : 

 

Step 7: Select the Review + Create option. 

Step 8: After reviewing all the details click on create to create your Azure Database for PostgreSQL. 

 

Step 9: Wait for the deployment to complete. Then click on go to resource option to go to your deployed resource.

 

This is how we can provision an Azure database for PostgreSQL in the Azure Portal.

Benefits of Azure Database For PostgreSQL: 


Article Tags :