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 & 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 fall 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 upcoming month. Sign in to the Azure pricing calculator to see pricing based on your current program/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.

Flexible Server provides maximum control for your database with a simplified developer experience and is best for workloads that require:

  • Custom maintenance windows and additional configuration parameters for database optimization
  • Same - zone or zone redundant high availability
  • Stop/Start capabilities and burstable SKUs for cost optimization

Learn more about Azure Database for PostgreSQL Flexible Server

Burstable

Workloads with flexible compute requirements.

Burstable

Instance vCores Memory Pay as you go
B1ms 1 2 GiB $-
B2ms 2 8 GiB $-
B2s 2 4 GiB $-
B4ms 4 16 GiB $-
B8ms 8 32 GiB $-
B12ms 12 48 GiB $-
B16ms 16 64 GiB $-
B20ms 20 80 GiB $-

General Purpose

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

General Purpose

Ddsv5-series

Instance vCores Memory Pay as you go 1 year reserved 3 year reserved
D2ds v5 2 8 GiB $- $-
$-
D4ds v5 4 16 GiB $- $-
$-
D8ds v5 8 32 GiB $- $-
$-
D16ds v5 16 64 GiB $- $-
$-
D32ds v5 32 128 GiB $- $-
$-
D48ds v5 48 192 GiB $- $-
$-
D64ds v5 64 256 GiB $- $-
$-
D96ds v5 96 384 GiB $- $-
$-

Ddsv4-series

Instance vCores Memory Pay as you go 1 year reserved 3 year reserved
D2ds v4 2 8 GiB $- $-
$-
D4ds v4 4 16 GiB $- $-
$-
D8ds v4 8 32 GiB $- $-
$-
D16ds v4 16 64 GiB $- $-
$-
D32ds v4 32 128 GiB $- $-
$-
D48ds v4 48 192 GiB $- $-
$-
D64ds v4 64 256 GiB $- $-
$-

Dsv3-series

Instance vCores Memory Pay as you go 1 year reserved 3 year reserved
D2s v3 2 8 GiB $- $-
$-
D4s v3 4 16 GiB $- $-
$-
D8s v3 8 32 GiB $- $-
$-
D16s v3 16 64 GiB $- $-
$-
D32s v3 32 128 GiB $- $-
$-
D48s v3 48 192 GiB $- $-
$-
D64s v3 64 256 GiB $- $-
$-

General Purpose AMD

Instance vCores Memory Pay as you go 1 year reserved 3 year reserved
D2ads v5 2 8 GiB $- $-
$-
D4ads v5 4 16 GiB $- $-
$-
D8ads v5 8 32 GiB $- $-
$-
D16ads v5 16 64 GiB $- $-
$-
D32ads v5 32 128 GiB $- $-
$-
D48ads v5 48 192 GiB $- $-
$-
D64ads v5 64 256 GiB $- $-
$-
D96ads v5 96 384 GiB $- $-
$-

Memory Optimized

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

Memory Optimized

Edsv5-series

Instance vCores Memory Pay as you go 1 year reserved 3 year reserved
E2ds v5 2 16 GiB $- $-
$-
E4ds v5 4 32 GiB $- $-
$-
E8ds v5 8 64 GiB $- $-
$-
E16ds v5 16 128 GiB $- $-
$-
E20ds v5 20 160 GiB $- $-
$-
E32ds v5 32 256 GiB $- $-
$-
E48ds v5 48 384 GiB $- $-
$-
E64ds v5 64 504 GiB $- $-
$-
E96ds v5 96 768 GiB $- $-
$-

Edsv4-series

Instance vCores Memory Pay as you go 1 year reserved 3 year reserved
E2ds v4 2 16 GiB $- $-
$-
E4ds v4 4 32 GiB $- $-
$-
E8ds v4 8 64 GiB $- $-
$-
E16ds v4 16 128 GiB $- $-
$-
E20ds v4 20 160 GiB $- $-
$-
E32ds v4 32 256 GiB $- $-
$-
E48ds v4 48 384 GiB $- $-
$-
E64ds v4 64 504 GiB $- $-
$-

Esv3-series

Instance vCores Memory Pay as you go 1 year reserved 3 year reserved
E2s v3 2 16 GiB $- $-
$-
E4s v3 4 32 GiB $- $-
$-
E8s v3 8 64 GiB $- $-
$-
E16s v3 16 128 GiB $- $-
$-
E32s v3 32 256 GiB $- $-
$-
E48s v3 48 384 GiB $- $-
$-
E64s v3 64 504 GiB $- $-
$-

Memory Optimized AMD

Instance vCores Memory Pay as you go 1 year reserved 3 year reserved
E2ads v5 2 16 GiB $- $-
$-
E4ads v5 4 32 GiB $- $-
$-
E8ads v5 8 64 GiB $- $-
$-
E16ads v5 16 128 GiB $- $-
$-
E20ads v5 20 160 GiB $- $-
$-
E32ads v5 32 256 GiB $- $-
$-
E48ads v5 48 384 GiB $- $-
$-
E64ads v5 64 504 GiB $- $-
$-
E96ads v5 96 768 GiB $- $-
$-

Storage

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

Premium SSD configuration Price
GiB/month $-
IOPS/month $-
Premium SSD v2 configuration Unit Monthly Price
Disk Capacity GiBs $-/GiB
Provisioned IOPS IOPS Up to 3,000 IOPS at no additional cost
$-/provisioned IOPS over 3,000 IOPS
Provisioned Throughput MB/s Up to 125 MB/s at no additional cost
$-/provisioned MB/s over 125 MB/s

Backup Storage

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 Note
GiB/month $- GRS requires twice the amount of storage capacity because it creates a replica. If you have configured the backup storage to be geo-redundant (GRS), the price will be 2x this price. Price per GiB remains the same.

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 customization 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 optimization 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.

  • Flexible Server is billed on a predictable, hourly rate. You are billed for the compute and storage you provision and the backup storage you consume. On your bill, you will see a separate line item for compute, storage, and backup storage. Compute is billed per vCore-hour. Storage and backup storage are billed per GiB-month.
  • Zone redundant HA servers have a primary and secondary replica. You are billed for the provisioned compute and storage for both the primary and secondary replica. For example, if you have a primary with 4 vCores of compute and 512 GiB of provisioned storage, your secondary replica will also have 4 vCores and 512 GiB of provisioned storage. Your zone redundant HA server will be billed for 8 vCores and 1,024 GiB of storage. Depending on your backup storage volume, you may also be billed for backup storage.
  • Backup storage is the storage associated with automated backups of your server, including data and log backups. 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 storage for your primary server. Additional consumption of backup storage will be charged in GiB-month. For example, if your primary server has a storage size of 512 GiBs, you will get 512 GiBs of backup at no additional cost. However, if the backup is 612 GiBs, you will pay for the incremental 100 GiBs.
  • You are billed for each full hour that your server exists regardless of whether the server was active for the full hour. If you have scaled up your database, you will be billed for the higher number of vCores used within the hour. If you have switched between two compute tiers, you will be billed for the higher priced compute tier. For example:
    • If you create a server and delete it after five minutes, you are charged for one full hour for the provisioned compute and storage.
    • If you create a server with 8 vCores of General Purpose compute and then immediately scale up to 16 vCores of General Purpose compute, you are charged for 16 vCores of General Purpose compute for the first hour.
    • If you create a server with General Purpose compute with 8 vCores and then immediately upgrade it to Memory Optimized compute with 8 vCores, you are charged for 8 vCores Memory Optimized compute for the first hour.
  • While your server is stopped, you will only be billed for the storage you have provisioned and any backup storage you consume that exceed 100% of your primary provisioned storage volume. While your server is stopped, you will not be billed for compute.
  • Yes. Standard networking charges apply for network egress. Refer here for more details.
  • Reserved capacity allows you to reserve compute power. This pricing option enables savings up to 47 percent for 1-year, and up to 64 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?