Managed Service for PostgreSQL pricing policy
In this section, you can find the Managed Service for PostgreSQL pricing policy and effective prices for its resources.
Tip
For cost estimation, use this calculator on our website or check out the pricing below.
The prices for service products are also available in the price list.
Note
Currency of Service rates (prices) depends on the company you made a contract with:
- Prices in US dollars are applicable to customers of Iron Hive doo Beograd (Serbia) or Direct Cursus Technology L.L.C. (Dubai).
- Prices in Russian roubles are applicable to customers of Yandex.Cloud LLC.
All prices below do not include VAT.
Cluster status
The prices apply differently depending on the cluster status:
- For a
Runningcluster, you pay for both the computing resources and the size of your storage and backups. - For a
Stoppedcluster, you only pay for the size of your storage and backups.
Alert
If a cluster uses local SSD storage (local-ssd), its computing resources are not released when it's stopped. This means that you are charged in full even for a stopped cluster.
What goes into the cost of using Managed Service for PostgreSQL
The Managed Service for PostgreSQL usage cost includes:
-
Disk type and storage size.
-
Computing resources allocated to the cluster hosts.
-
Settings and number of backups.
-
Outgoing traffic from Yandex Cloud to the internet.
In all calculations: 1 GB = 230 bytes, 1 MB = 220 bytes.
Database host usage
The host operation cost is charged per hour based on the host class. For detailed class specifications, see Host classes.
The minimum billing unit is one minute, e.g., 1.5 minutes of host operation cost the same as two minutes. You will not be charged for the time when the PostgreSQL host is unavailable for basic operations.
Disk space usage
You pay for the following:
-
Storage allocated for database clusters.
-
You can only order local SSD storage (
local-ssd) for clusters with three or more hosts:- For Intel Broadwell and Intel Cascade Lake: In increments of 100 GB.
- For Intel Ice Lake: In increments of 368 GB.
-
You can only order non-replicated SSD storage (
network-ssd-nonreplicated) in 93 GB increments for clusters with three or more hosts.
-
-
Space occupied by DB backups beyond the storage size specified for the cluster.
Note
The cluster's storage size is equal to the total storage size of all of its hosts.
-
Backups are stored free of charge as long as the combined size of the DB and all backups is smaller than the selected storage size.
-
When performing automatic backups, Managed Service for PostgreSQL does not create a new backup but saves the database changes introduced since the previous one. This means the storage space used by automatic backups increases only in proportion to the amount of changes.
-
Adding hosts increases the cluster's total storage size and, consequently, the free amount of backups.
-
The price covers one month of use based on 720 hours per month. The minimum billing unit is 1 GB per minute; e.g., storing 1 GB for 1.5 minutes costs the same as for 2 minutes.
Example of cluster cost calculation
Let's calculate the cost of using a cluster with the following properties for 30 days:
- PostgreSQL hosts: Three
s3-c2-m8hosts, Intel Ice Lake, 2 × 100% vCPU, 8 GB RAM. - Storage: 100 GB of network HDD storage.
Cost calculation for PostgreSQL hosts:
3 × (2 × $0.014670 + 8 × $0.003960) = $0.183060
Total: $0.183060: Cost of operation of PostgreSQL hosts per hour.
Where:
- 3: Number of PostgreSQL hosts.
- 2: Number of vCPUs.
- $0.014670: Cost of using 100% vCPU per hour.
- 8: Amount of RAM per PostgreSQL host (in GB).
- $0.003960: Cost of using 1 GB of RAM at 100% vCPU per hour.
Calculation for the storage cost and total cost:
720 × $0.183060 + 3 × (100 × $0.028800) = $140.443200
Total: $140.443200, cost of using the cluster for 30 days.
Where:
- 720: Number of hours in 30 days.
- $0.183060: Cost of operation of PostgreSQL hosts per hour.
- 3: Number of PostgreSQL hosts.
- 100: Amount of network HDD storage (in GB).
- $0.028800: Cost of using 1 GB of network HDD storage per month.
Discount for committed volume of services (CVoS)
You can get a guaranteed discount on service resource usage when you plan for 6 or 12 months ahead. To view the resources eligible for this discount:
- Navigate to Yandex Cloud Billing
. - Click the billing account.
- Select
Committed volume in the left-hand menu.
A CVoS guarantees a discount on usage, but does not guarantee the availability of the resources you order. You can read more about CVoS in the relevant Yandex Cloud Billing article.
Managed Service for PostgreSQL provides two types of CVoS: on vCPUs and on RAM for the hosts you are going to use in your database clusters. In the management console, you can see how much you can potentially save with CVoS at the current consumption level. You can also estimate your monthly payments for the required number of vCPUs and RAM.
Note
A CVoS discount is only available for certain resource types. For unsupported resource types, the relevant CVoS columns under Prices are blank. Currently, you cannot order storage or web traffic this way.
Prices for the Russia region
Note
Yandex Cloud resources are priced differently in different regions. For more information about the available regions, see Regions.
Your payment currency is determined by your contracting legal entity. For more information on creating an account, see Registering an account in Yandex Cloud.
The monthly prices are based on 720 hours per month.
Note
Access to the Intel Ice Lake (Compute Optimized) platform is available upon request. Contact support
Note
Access to local SSD storage when using standard Intel Ice Lake hosts is provided upon request. Contact support
Pricing for backup storage has the following specifics:
-
Backups are stored free of charge as long as the combined size of the database and all backups is smaller than the total storage size.
-
Adding a host increases the total cost per cluster. However, expenses for storing backups beyond the storage size will be lower due to the increased total storage size.
-
To reduce expenses for storing backups beyond the storage size:
- Reduce the retention period for automatic backups in the advanced settings.
- Delete the backups created manually.
-
The total backup size is defined as the sum of the data copy size and the WAL size. The WAL size depends on the number of changes and can be comparable to the size of the data copy. You can get both values from the backup list.
Outgoing traffic
When using the service, you pay for traffic from Yandex Cloud to the internet. Traffic between internal IP addresses of Yandex Cloud services and incoming internet traffic is free.
The first 100 GB of outgoing traffic per month are free of charge.
The minimum billing unit is 1 MB.