Updated on 2024-05-07 GMT+08:00

Yearly/Monthly

In the yearly/monthly billing mode, you pay before using resources. It is suitable if you need stable resources and want lower costs. By selecting the yearly/monthly mode, you can pre-purchase cloud service resources and gain certain price discounts. This section describes the billing rules of GaussDB(DWS) resources billed in the yearly/monthly mode.

Application Scenarios

In yearly/monthly mode, you need to first pay for a certain duration. This mode is suitable for services with the following characteristics:

  • Running for a long time with constant resources: For example, enterprise official websites, online malls, and blogs. Yearly/Monthly billing provides higher cost-efficiency.
  • Long-term: For example, scientific research projects and large-scale events. Yearly/Monthly billing ensures stable resource supply throughout the project period.
  • Service peak estimation: e-commerce promotion season, festivals, holidays, and others. Resources insufficiency can be avoided by pre-purchasing resources for peak demands.
  • High data security: For services that require high data security, yearly/monthly billing facilitates continuous usage of the resources.

Billing Items

You are billed for the following items on a yearly/monthly basis.

Table 1 Billing items

Item

Constraint

Data warehouse node

You are charged based on the node flavor on a yearly/monthly basis. For details, see GaussDB(DWS) Pricing Details.

Snapshot storage space

GaussDB(DWS) provides some free-of-charge storage space for you to store the snapshot data. However, if you use more space than the free-of-charge storage space, the exceeded part is charged according to OBS billing rules. For details, see the OBS pricing details.

The free storage space is the total storage space of your cluster, that is, the storage space of a single node (backup) x number of nodes.

Standard data warehouse storage

For a yearly/monthly cluster, you can customize the storage type and storage capacity of your cluster. Storage resources are charged separately in yearly/monthly mode.

Cold storage

You are advised to store cold data in OBS, which is billed on a pay-per-use basis.

(Optional) Public network bandwidth

When a yearly/monthly cluster is configured with an EIP billed by bandwidth, the bandwidth is billed by the Elastic Cloud Server (ECS) service in yearly/monthly mode.

(Optional) Elastic load balance (ELB)

When a yearly/monthly cluster is used with an existing load balancer, the load balancer is billed by the Elastic Load Balance (ELB) service in pay-per-use mode.

(Optional) Database encryption key

When a yearly/monthly cluster works with the database encryption function, keys are billed by the Data Encryption Workshop (DEW) service in pay-per-use mode.

If during creation of a GaussDB(DWS) cluster, you set Hot Data Storage to 50 GB per node, and select an EIP charged in yearly/monthly mode. At the bottom of the Create GaussDB(DWS) Cluster page, you can view the fee details, as shown in the following figure.

Figure 1 Example price

The price includes:

  • Node fee: The fee is calculated based on the selected node specifications and node quantity.
  • Storage fee: standard data warehouse storage fee.
  • Public network bandwidth fee: The fee is calculated based on the selected bandwidth size and is billed by the ECS service.
  • ELB: The fee is calculated based on the size of the selected ELB and is billed by the ELB service.
  • DEW: The fee is calculated based on the selected keys and is billed by the DEW service.

Billing period

A yearly/monthly GaussDB(DWS) instance is billed for the purchased duration. The billing period starts from the time you activate or renew your subscription (precise to seconds), and ends at 23:59:59 on the expiration date.

For example, if you create a GaussDB(DWS) cluster whose duration is one month at 2023/03/08 15:50:04, the billing period is from 2023/03/08 15:50:04 to 2023/04/08 23:59:59.

Billing Example

If you create a yearly/monthly GaussDB(DWS) cluster at 2023/03/08 15:50:04 (node flavor: dwsx2.xlarge; hot data storage: 100 GB per node; yearly/monthly public IP address). Charged resources include node fees and storage fees. The subscription is for one month, and you manually renew it for one month before it expires:

  • The first billing period: Mar 08, 2023, 15:50:04–Apr 08, 2023, 23:59:59
  • The second billing period: Apr 08, 2023, 23:59:59–May 08, 2023, 23:59:59

You will be billed for both usage periods. GaussDB(DWS) resources are billed individually as follows:

Table 2 Billing formulas

Resource Type

Formula

Resource Unit Price

Node

Unit price of node flavor x Billing duration x Number of nodes

For details, see "Flavor Price" in the GaussDB(DWS) Pricing Details.

Storage

Data storage capacity unit price x Hot data storage capacity x Number of data copies x Number of nodes x Billing duration

For details, see "Flavor Price" in the GaussDB(DWS) Pricing Details.

(Optional) Public network bandwidth

You are charged by the ECS service based on the fixed bandwidth and subscription duration.

For details, see "Bandwidth Price" in the ECS Pricing Details or EIP Pricing Details.

Elastic Load Balance (ELB) (Optional)

In pay-per-use mode, billed by the ELB service.

For details, see "Bandwidth Price" in the ELB Pricing Details.

(Optional) Database encryption key

In pay-per-use mode, billed by the ELB service.

For details, see "Pricing Details" in the DEW Pricing Details.

The following figure shows the how the fee is calculated.

The price in the figure is for reference only. The actual calculation is based on the price in the GaussDB(DWS) Pricing Details.

Figure 2 Example of calculating GaussDB(DWS) fees in yearly/monthly billing mode

Billing After Specification Change

If the specifications of the current yearly/monthly GaussDB(DWS) resources do not meet your requirements, you can modify the specifications on the GaussDB(DWS) console. The system will calculate the GaussDB(DWS) fee based on the following rules:

  • Specification upgrade: You need to pay the price difference.
  • Specification downgrade: Huawei Cloud will refund you the price difference.

Downgrading resource specifications affects performance. Therefore, you are not advised to perform this operation. The following is an example of upgrading resource specifications without any discount. If you create a standard data warehouse whose node flavor is dwsx2.xlarge.m7n on April 8, 2023 and the subscription duration is one month, and you upgrade the flavor to dwsx2.8xlarge on April 18, 2023. The price of the old configuration is 3960 USD/month. The price of the new configuration is 30840 USD/month. The formula is as follows:

Specification upgrade fee = New specification price × Remaining period – Old specification price × Remaining period

The remaining period in the formula is the remaining days of each calendar month divided by the maximum days of the corresponding calendar month. In this example, Remaining period = 12 (Remaining days in April)/30 (Maximum number of days in April) + 8 (Remaining days in May)/31 (Maximum number of days in May) = 0.6581. Cost of upgrade = 30840 x 0.6581-3960 x 0.6581=17689.73 USD

For more information, see Pricing of a Changed Specification.

Impact of Expiration

Figure 2-3 shows the status of yearly/monthly GaussDB(DWS) resources in each phase. After an ECS is purchased, it enters the valid period and runs normally during this period. If the ECS is not renewed after it expires, before being deleted, it first enters a grace period and then a retention period.

Figure 3 Lifecycle of a yearly/monthly GaussDB(DWS) cluster

Expiration Reminder

The system will send you a reminder (by email, SMS, or in-app message) 7 days before a yearly/monthly GaussDB(DWS) expires to remind you to renew the subscription. to the creator of the Huawei Cloud account by email, SMS, and internal message.

Impact of Expiration

If your yearly/monthly GaussDB(DWS) is not renewed after it expires, it changes to the Expired state and enters a grace period. During the grace period, you can access GaussDB(DWS) but cannot:

  • Re-size a cluster.
  • Add or delete CN nodes.
  • Add nodes.
  • Add disk capacity.

If the yearly/monthly GaussDB(DWS) is not renewed after the grace period ends, its status turns to Frozen and it enters a retention period. You cannot perform any operations on the ECS while it is in the retention period.

After the retention period expires, if the yearly/monthly GaussDB(DWS) resources are not renewed, the GaussDB DWS) node resources and storage resources will be released and cannot be restored.

  • For details about renewals, see Overview.