Azure Database for PostgreSQL

Fully managed PostgreSQL service

Azure Database for PostgreSQL Documentation

Welcome to the comprehensive documentation for Azure Database for PostgreSQL. This managed database service provides users with reliable PostgreSQL database capabilities on the Azure cloud.

Introduction

Azure Database for PostgreSQL is a relational database service based on the open-source PostgreSQL database engine. It allows you to focus on application development and data management without the need to manage infrastructure. The service handles patching, backups, high availability, and protection against threats automatically.

Key Features

Getting Started

To get started with Azure Database for PostgreSQL, follow these steps:

  1. Create an Azure Account: If you don't have one, sign up for a free Azure account.
  2. Provision a Server: Use the Azure portal, Azure CLI, or Azure PowerShell to create your first PostgreSQL server.
  3. Connect to Your Server: Configure firewall rules and use your preferred PostgreSQL client or application to connect.
  4. Create Databases and Tables: Start building your data model.
Tip: The Quickstart guide provides a step-by-step walkthrough for creating and connecting to an Azure Database for PostgreSQL server.

Deployment Options

Azure Database for PostgreSQL offers three distinct deployment options to suit different application needs:

Connectivity

Connecting to your Azure Database for PostgreSQL server is straightforward. You can use:

Ensure your firewall rules are configured to allow access from your client or application's IP address.

Note: For secure connections, always use SSL/TLS. Azure Database for PostgreSQL enforces SSL connections by default.

Monitoring and Management

Monitor the performance and health of your PostgreSQL server using Azure Monitor. Key metrics include CPU, memory, storage, I/O, and connections. You can also set up alerts for important events.

Management tasks like scaling, backup configuration, and parameter tuning can be performed through the Azure portal or programmatically via Azure CLI/PowerShell.

Security

Security is paramount. Azure Database for PostgreSQL offers:

Pricing

Pricing for Azure Database for PostgreSQL varies based on the deployment option (Single Server, Flexible Server, Hyperscale), compute tier, vCores, storage, and data transfer. Visit the Azure PostgreSQL pricing page for detailed information.

Explore the following sections for more in-depth information: