Billing Examples
Example 1
The prices in the following examples are for reference only. For the actual prices, see Pricing Details.
- Billing Scenario
An enterprise runs its basic services on Elastic Cloud Servers (ECSs). As its data grows, the disks cannot satisfy the storage and access for a large number of images and videos. The enterprise decides to use Huawei Cloud OBS as a storage resource pool to reduce burdens on local servers. Suppose the enterprise has one ECS in regions CN-Hong Kong and AP-Singapore respectively. Both ECSs write data to and read data from OBS buckets in the CN-Hong Kong region.
- User Actions
The detailed actions are as follows:
- At 00:00 UTC on July 1, 2023, 1,000 Standard objects (1 GB in total) and 1,000 Infrequent Access objects (1 GB in total) were uploaded from the ECS in the AP-Singapore region to a single-AZ bucket in the CN-Hong Kong region.
- At 00:00 UTC on July 2, 2023, 1,000 Standard objects were downloaded from the ECS in the AP-Singapore region to a bucket in the CN-Hong Kong region.
- At 00:00 UTC on July 2, 2023, 1,000 Standard objects were downloaded from the ECS in the CN-Hong Kong region to a bucket in the same region.
- At 00:00 UTC on July 2, 2023, 1,000 Infrequent Access images were processed on the ECS in the CN-Hong Kong region.
- At 08:00 UTC on July 2, 2023, a lifecycle rule was configured on the ECS in the CN-Hong Kong region to transition 1,000 Standard objects and 1,000 Infrequent Access objects in the current region to Infrequent Access and Archive, respectively, eight days later (on July 10).
- At 08:00 UTC on July 20, 2023, 100 Archive objects (0.1 GB in total) were downloaded from the ECS in the CN-Hong Kong region. The objects were restored at a standard speed, and the Standard object copies after restore were retained for 10 days.
- Billing Analysis
An ECS can access OBS over the Internet or an intranet. Access over an intranet requires that the ECS and OBS buckets be in the same region. In this scenario, access from the ECS in CN-Hong Kong to OBS buckets in CN-Hong Kong is over an intranet, while access from the ECS in AP-Singapore to OBS buckets in CN-Hong Kong is over the Internet. Table 1 describes the billing details in July.
Category |
Action |
Billed Item |
Unit Price |
Usage |
Cost |
---|---|---|---|---|---|
Object upload over the Internet |
Uploaded 1,000 Standard objects and 1,000 Infrequent Access objects from the ECS in AP-Singapore to a bucket in CN-Hong Kong. |
Requests |
Standard write requests: $0.0001 USD per 1,000 requests Infrequent Access write requests: $0.0050 USD per 1,000 requests |
2,000 requests Standard write requests: 1,000 Infrequent Access write requests: 1,000 |
Standard write requests: $0.0001 USD Infrequent Access write requests: $0.0050 USD Total: $0.0051 USD |
Inbound Internet traffic |
Free |
1 GB |
$0 USD |
||
Single-AZ Standard storage |
$0.0230 USD per GB-month |
1 GB |
$0.0077 USD |
||
Single-AZ Infrequent Access storage |
$0.0140 USD per GB-month |
1 GB |
$0.0047 USD |
||
Object download over the Internet |
Downloaded 1,000 Standard objects from the ECS in AP-Singapore to a bucket in CN-Hong Kong. |
Requests |
$0.0001 USD per 1,000 requests |
1,000 requests |
$0.0001 USD |
Outbound Internet traffic |
$0.1180 USD per GB |
1 GB |
$0.1180 USD |
||
Object download over an intranet |
Downloaded 1,000 Standard objects from the ECS in the CN-Hong Kong region to a bucket in the same region. |
Requests |
$0.0001 USD per 1,000 requests |
1,000 requests |
$0.0001 USD |
Outbound intranet traffic |
Free |
1 GB |
$0 USD |
||
Image processing |
Processed 1,000 Infrequent Access images on the ECS in CN-Hong Kong. |
Requests |
$0.0050 USD per 1,000 requests |
1,000 requests |
$0.0050 USD |
Data processing |
Free |
1 GB |
$0 USD |
||
Lifecycle-based storage class transition |
Transitioned 1,000 Standard objects and 1,000 Infrequent Access objects in the CN-Hong Kong region to Infrequent Access and Archive, respectively, 10 days later. |
Requests |
Standard write requests: $0.0001 USD per 1,000 requests Infrequent Access write requests: $0.0050 USD per 1,000 requests |
2,000 requests Standard write requests: 1,000 Infrequent Access write requests: 1,000 |
Standard write requests: $0.0001 USD Infrequent Access write requests: $0.0050 USD Total: $0.0051 USD |
Single-AZ Infrequent Access storage |
$0.0140 USD per GB-month |
1 GB |
$0.0093 USD |
||
Single-AZ Archive storage |
$0.0045 USD per GB-month |
1 GB |
$0.0030 USD |
||
Early deletion or transition of Infrequent Access objects |
$0.0140 USD per GB-month |
1 GB |
$0.0093 USD |
||
Archive object download |
Downloaded 100 Archive objects from the ECS in CN-Hong Kong. |
Requests |
$0.0010 USD per 1,000 requests |
100 requests |
$0.0001 USD |
Restore traffic |
$0.0300 USD per GB (1–5 minutes for expedited restore) $0.0100 USD per GB (3–5 hours for standard restore) |
0.1 GB |
$0.001 USD |
||
Temporary single-AZ Standard storage |
$0.0230 USD per GB-month |
0.1 GB |
$0.00077 USD |
Storage Cost
The storage cost consists of two parts: cost for storage before the transition on July 10 and cost for storage after the transition:
Storage cost before transition = 0.0077 (for 10-day single-AZ Standard storage of 1 GB data) + 0.0047 (for 10-day single-AZ Infrequent Access storage of 1 GB data) = $0.0124 USD
Storage cost after transition = 0.0093 (for 21-day single-AZ Infrequent Access storage of 1 GB data) + 0.0030 (for 21-day single-AZ Archive storage of 1 GB data) + 0.0093 (for early deletion or transition of 1 GB Infrequent Access data) = $0.0216 USD
Total storage cost = 0.0124 (storage cost before transition) + 0.0216 (storage cost after transition) + 0.00077 (for 10-day single-AZ Standard storage of 0.1 GB data) = $0.03477 USD
Traffic Cost
Inbound Internet traffic and inbound/outbound intranet traffic are free, so the traffic cost in July is as follows:
Total traffic cost = Cost for outbound Internet traffic of 1 GB = $0.1180 USD
Restore Cost
Total restore cost = Cost for the traffic of restoring 0.1 GB data = $0.001 USD
Data Processing Cost
Total data processing cost = Cost for processing 1 GB of data = $0 USD
Request Cost
Total request cost = 0.0051 (for 2,000 upload requests) + 0.0002 (for 2,000 download requests) + 0.0050 (for 1,000 image processing requests) + 0.0051 (for 2,000 transition requests) + 0.0001 (for 100 restore requests) = $0.0155 USD
Total Cost
Total cost = 0.03477 (storage cost) + 0.1180 (traffic cost) + 0.001 (restore cost) + 0 (data processing cost) + 0.0155 (request cost) = $0.16927 USD
Example 2
The prices in the following examples are for reference only. For the actual prices, see Pricing Details.
- Billing Scenario
A company has a large amount of video and audio data to store in the Standard storage class (multi-AZ) in OBS. Suppose this company uploads 1 TB of data to OBS over the Internet. There are 1 million delete requests, 3 million write requests, and 12 million read requests each month, and the outbound Internet traffic is 100 GB every month. The following billing analysis is given to help the company choose a proper billing mode.
- Billing Analysis
The table below describes the details of pay-per-use billing and yearly/monthly billing.
Billing Mode |
Formula |
Payment Period |
Cost |
---|---|---|---|
Pay-per-use |
Storage cost: Unit price x Used space |
Monthly |
Storage cost: $0.0250 USD per GB-month x 1,024 GB = $25.6 USD per month |
Traffic cost: Unit price of outbound Internet traffic x Traffic volume |
Traffic cost: $0.1080 USD per GB x 100 GB = $10.80 USD per month |
||
Request cost: costs of all requests |
Request cost: $0.0004 USD (per 1,000 delete requests) x 1 million delete requests + $0.0050 USD (per 1,000 write requests) x 3 million write requests + $0.0004 USD (per 1,000 read requests) x 12 million read requests = $20.2 USD per month |
||
Total |
$56.6 USD per month |
||
Yearly/monthly |
Storage cost: monthly cost of the storage package |
Monthly. Suppose the company purchased a 12-month 1 TB storage package and a 12-month 100 GB outbound Internet traffic package. |
Storage cost: $209.7 USD (price for the 12-month 1 TB storage package)/12 months = $17.475 USD per month |
Traffic cost: monthly cost of the outbound Internet traffic package |
Traffic cost: $95.4 USD (price for the 12-month 100 GB traffic package)/12 months = $7.95 USD per month |
||
Request cost: costs of all requests |
Request cost: $0.0004 USD (per 1,000 delete requests) x 1 million delete requests + $0.0050 USD (per 1,000 write requests) x 3 million write requests + $0.0004 USD (per 1,000 read requests) x 12 million read requests = $20.2 USD per month |
||
Total |
$45.625 USD per month |
You can see from the table above that yearly/monthly resource packages save you money. The longer the package subscription term is, the more money you save.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot