Skip to main content
Azure

Azure Database for PostgreSQL pricing

Fully managed, intelligent and scalable PostgreSQL

Azure Database for PostgreSQL is a fully-managed database as a service with built-in capabilities, such as high availability and intelligence. You can continue to use languages and frameworks of your choice with no upfront costs. Pay only for what you use with reserved capacity pricing now available.

Explore pricing options

Apply filters to customize pricing options to your needs.

Prices are estimates only and are not intended as actual price quotes. Actual pricing may vary depending on the type of agreement entered with Microsoft, date of purchase, and the currency exchange rate. Prices are calculated based on US dollars and converted using London closing spot rates that are captured in the two business days prior to the last business day of the previous month end. If the two business days prior to the end of the month autumn on a bank holiday in major markets, the rate setting day is generally the day immediately preceding the two business days. This rate applies to all transactions during the forthcoming month. Sign in to the Azure pricing calculator to see pricing based on your current programme/offer with Microsoft. Contact an Azure sales specialist for more information on pricing or to request a price quote. See frequently asked questions about Azure pricing.

Azure Database for PostgreSQL - Single Server is being retired in March 2025. Microsoft's recommended solution for managed PostgreSQL is Azure Database for PostgreSQL - Flexible Server.

Learn more about Azure Database for PostgreSQL - Flexible Server

Basic

Workloads requiring light compute and I/O performance.

Compute

Compute is provisioned in virtual cores (vCores). A vCore represents a logical CPU.

Compute Gen 5

Gen 5 logical CPUs are based on Intel E5-2673 v4 (Broadwell) 2.3 GHz processors.

vCore Memory Pay as you go
1 2 GiB $-
2 4 GiB $-

Storage

You are charged for the storage that you provision for your server. Storage can be provisioned up to 1 TiB.

Price
GiB/month $-

Backup

Backup storage is the storage associated with automated backups of your server. Increasing your backup retention period increases the backup storage that is consumed by your server. There is no additional charge for backup storage for up to 100% of your total provisioned server storage. Additional consumption of backup storage will be charged in GiB/month.

Price
Locally redundant GiB/month $-

Read Replica

Read replicas allow read-heavy workloads to scale out beyond the capacity of a single Azure Database for PostgreSQL server. For each read replica you create, you are billed for the provisioned compute in vCores and provisioned storage in GiB/month.

General Purpose

Most business workloads requiring balanced compute and memory with scalable I/O throughput.

Compute

Compute is provisioned in virtual cores (vCores). A vCore represents a logical CPU.

Compute Gen 5

Gen 5 logical CPUs are based on Intel E5-2673 v4 (Broadwell) 2.3 GHz processors.

vCore Memory Pay as you go 1 year reserved 3 year reserved
2 10 GiB $- N/A N/A
4 20 GiB $- N/A N/A
8 40 GiB $- N/A N/A
16 80 GiB $- N/A N/A
32 160 GiB $- N/A N/A
64 320 GiB $- N/A N/A

Storage

You are charged for the storage that you provision for your server. Storage can be provisioned up to 16 TiB*.

Price
GiB/month $-

*Storage is limited to 4 TiB in Central India, West India, and South India.

Backup

Backup storage is the storage associated with automated backups of your server. Increasing your backup retention period increases the backup storage that is consumed by your server. There is no additional charge for backup storage for up to 100% of your total provisioned server storage. Additional consumption of backup storage will be charged in GiB/month.

Price
Locally redundant GiB/month $-
Geographically redundant GiB/month $-

Read Replica

Read replicas allow read-heavy workloads to scale out beyond the capacity of a single Azure Database for PostgreSQL server. For each read replica you create, you are billed for the provisioned compute in vCores and provisioned storage in GiB/month.

Memory Optimised

High performance database workloads requiring in-memory performance for faster transaction processing and higher concurrency.

Compute

Compute is provisioned in virtual cores (vCores). A vCore represents a logical CPU.

Compute Gen 5

Gen 5 logical CPUs are based on Intel E5-2673 v4 (Broadwell) 2.3 GHz processors.

vCore Memory Pay as you go 1 year reserved 3 year reserved
2 20 GiB $- N/A N/A
4 40 GiB $- N/A N/A
8 80 GiB $- N/A N/A
16 160 GiB $- N/A N/A
32 320 GiB $- N/A N/A

Storage

You are charged for the storage that you provision for your server. Storage can be provisioned up to 16 TiB*.

Price
GiB/month $-

*Storage is limited to 4 TiB in Central India, West India, and South India.

Backup

Backup storage is the storage associated with automated backups of your server. Increasing your backup retention period increases the backup storage that is consumed by your server. There is no additional charge for backup storage for up to 100% of your total provisioned server storage. Additional consumption of backup storage will be charged in GiB/month.

Price
Locally redundant GiB/month $-
Geographically redundant GiB/month $-

Read Replica

Read replicas allow read-heavy workloads to scale out beyond the capacity of a single Azure Database for PostgreSQL server. For each read replica you create, you are billed for the provisioned compute in vCores and provisioned storage in GiB/month.

Microsoft Defender for Cloud

For more information on Microsoft Defender for Cloud, please visit the Microsoft Defender for Cloud pricing page.

Unique capabilities to reduce total cost of ownership

Flexible and transparent pricing

Scale compute and storage independently based on your workload. Only pay for what you use.

Optimize your cost

Save up to 60% compared to pay-as-you-go options with reserved capacity.

Reduce total cost of ownership with burstable instances and Stop/Start capabilities so when the database is stopped, you only pay for storage.

Choice of deployment option

Meet your database management and customisation needs with deployment options including Single Server and Flexible Server

Azure pricing and purchasing options

Connect with us directly

Get a walkthrough of Azure pricing. Understand pricing for your cloud solution, learn about cost optimisation and request a custom proposal.

Talk to a sales specialist

See ways to purchase

Purchase Azure services through the Azure website, a Microsoft representative or an Azure partner.

Explore your options

Additional resources

Azure Database for PostgreSQL

Learn more about Azure Database for PostgreSQL features and capabilities.

Pricing calculator

Estimate your expected monthly costs for using any combination of Azure products.

SLA

Review the Service Level Agreement for Azure Database for PostgreSQL.

Documentation

Review technical tutorials, videos and more Azure Database for PostgreSQL resources.

  • The Basic tier is designed for workloads requiring light compute and I/O performance. Examples include servers used for development or testing, or small-scale infrequently used applications. General Purpose is for most business workloads requiring balanced compute and memory with scalable I/O throughput. Examples include servers for hosting Web and Mobile apps and other enterprise applications. The Memory Optimised tier is for high performance database workloads requiring in-memory performance for faster transaction processing and higher concurrency. Examples include servers for processing real-time data and high performance transactional or analytical apps. Please review the documentation for more details.

  • For all tiers, the service is billed on a predictable, hourly rate based on pricing tier, provisioned compute in vCores, and provisioned storage in GiB/month for your server and backups. On your bill, vCore hours, storage GiB/month for the server and storage GiB/month for backups will have separate line items.
  • You are billed for each hour or portion thereof that a PostgreSQL server exists, regardless of whether the server was active for the full hour. If you have scaled your database, you will be billed using the highest pricing tier, provisioned vCore and provisioned storage during the hour.

    For example:

    • If you create a PostgreSQL server and delete it after five minutes, you are charged for one full hour for the provisioned compute and storage.
    • If you create a PostgreSQL server in the General Purpose tier with 8 vCores and then immediately upgrade it to 16 vCores in the General Purpose tier, you are charged at the 16 vCore rate for the first hour.
  • Yes. As of 1st July 2018, standard charges apply for network egress. Refer here for more details.

  • Backup storage is the storage associated with automated backups of your server. Increasing your backup retention period increases the backup storage that is consumed by your PostgreSQL server. There is no additional charge for backup storage for up to 100% of your total provisioned server storage. Additional consumption of backup storage will be charged in GiB/month. For example, if you have the database storage size of 100 GiBs, you will get 100 GiBs of backup at no additional cost. However, if the backup is 110 GiBs, you will pay for the 10 GiBs.
  • Reserved capacity allows you to reserve compute power. This pricing option enables savings up to 43 percent for 1-year and up to 62 percent for 3-years compared to pay-as-you-go pricing.

Talk to a sales specialist for a walk-through of Azure pricing. Understand pricing for your cloud solution.

Get free cloud services and a $200 credit to explore Azure for 30 days.

Added to estimate. Press 'v' to view on calculator
Can we help you?