Updated on 2024-03-20 GMT+08:00

Billed Items

Billing

You will be billed for the instance specifications, storage space, and backup space. For details, see Table 1.

The billed items marked with asterisks (*) are mandatory.

Table 1 DDS billed items

Billed Item

Description

Billing Mode

Formula

* Instance specifications

Billed by vCPUs, memory, and the number of nodes. Computing and storage capabilities vary by the number of vCPUs and memory size.

Yearly/Monthly and pay-per-use

Unit price x Required duration

See Specifications in DDS Pricing Details.

* Storage space

Billed by storage capacity based on unified standards.

Yearly/Monthly and pay-per-use

Unit price x Storage capacity x Required duration

See Storage Space in DDS Pricing Details.

* Backup space

Billed based on unified standards.

Pay-per-use

Unit price x Billed backup capacity x Billed duration

See Backup Storage Space in DDS Pricing Details.

NOTE:

The billed duration refers to the length of time the billed backup space was used for.

EIP bandwidth

An EIP is required if the DB instance needs to access the Internet.

Billed by bandwidth, traffic, and the EIP reservation price.

  • EIP for a yearly/monthly DB instance: billed by bandwidth.
  • EIP for a pay-per-use DB instance: billed by bandwidth, traffic, or shared bandwidth. You are also charged for IP reservation if you do not bind the EIP to any instance.

Yearly/Monthly and pay-per-use

You can purchase a bandwidth add-on package or a shared traffic package.

Tiered pricing based on fixed bandwidth.

  • 0 Mbit/s to 5 Mbit/s (included): billed at a fixed unit price per Mbit/s
  • Greater than 5 Mbit/s: billed at a different price per Mbit/s

See Bandwidth Price on ECS Pricing Details or EIP Pricing Details.

Audit logs

Billed by audit log storage capacity based on unified standards.

Yearly/Monthly and pay-per-use

Unit price for audit log storage space x Storage capacity x Required duration

See Audit Log in DDS Pricing Details.

Billing Examples

Suppose you purchased a one-month replica set DB instance (instance specifications: 2 vCPUs | 4 GB; number of nodes: 3; storage: 40 GB; backup space: 50 GB (40 GB for free)) on March 08, 2023, 15:50:04, and renewed the subscription for one more month before the initial subscription expired. The following usage periods will be billed:

  • March 08, 2023, 15:50:04 to April 08, 2023, 23:59:59
  • April 08, 2023, 23:59:59 to May 08, 2023, 23:59:59
    • From April 08, 2023, 23:59:59 to May 01, 2023, 23:59:59, 20 GB of free backup space was used.
    • From May 01, 2023, 23:59:59 to May 08, 2023, 23:59:59, another 10 GB of backup space was used, which was billed for 168 hours.

Figure 1 shows how the total price is calculated.

The prices in the figure are only for reference. For details, see DDS Pricing Details.

Figure 1 Total price for a yearly/monthly DB instance

For more billing examples of a pay-per-use DB instance, see Billing Examples.