Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Pay-per-Use

Updated on 2024-11-15 GMT+08:00

Scenario

Pay-per-use billing is suitable for gateways that do not need to run 24/7 or for a long period of time.

Billing Items

Table 1 Billing items that support pay-per-use billing

Billing Item

Description

Edition (gateway specifications)

APIG is available in basic, professional, enterprise, and platinum editions, which you can choose to meet your service requirements. For details, see Specifications. If your current gateway edition cannot meet your requirements, upgrade it, for example, from basic to professional or platinum. The upgrade will not affect your services.

For details about the unit price of each edition, see the pay-per-use billing prices in .Pricing Details.

Bandwidth

Public inbound and outbound access bandwidth.

Required duration

Time for which you have used your gateway or bandwidth. Unit: hour (precise to seconds).

Quantity

Number of gateways.

For example, you are going to use a dedicated gateway with 5 Mbit/s public network access bandwidth. You can view the price at the bottom of the Price Calculator page.

Figure 1 Example price in pay-per-use mode

The price is calculated based on the edition, public network access bandwidth, number of gateways, and usage duration.

Billing Cycle

A pay-per-use gateway is billed in seconds, and settled on the hour (GMT+08:00). Once settlement is complete, it enters a new billing cycle. The billing starts from the time when the deployed gateway starts running and ends at the time when the gateway is deleted.

For example, if you deployed a professional gateway on Mar 10, 2023, 08:45:30 and deleted it at 09:30:00, the billing cycle includes the following two parts:

  • 08:00:00–09:00:00: Fees are generated from 08:45:30 to 09:00:00. The billing duration is 870 seconds in this period.
  • 09:00:00–10:00:00: Fees are generated from 09:00:00 to 09:30:00. The billing duration is 1800 seconds in this period.

Billing Example

Assume that you deployed a professional gateway (gateway unit price: $3.47 USD/hour; bandwidth unit price: $0.023 USD/hour) on Mar 10, 2023, 08:45:30, and deleted it at 09:30:00. The billing cycle includes the following two parts:
  • 08:00:00–09:00:00: Fees are generated from 08:45:30 to 09:00:00. The billing duration is 870 seconds in this period. You can calculate the price using the formula in Billing Items: 870 ÷ 3600 x 3.47 x 1 + 870 ÷ 3600 x 0.023 x 1 = $0.84 USD.
  • 09:00:00–10:00:00: Fees are generated from 09:00:00 to 09:30:00. The billing duration is 1800 seconds in this period. You can calculate the price using the formula in Billing Items: 1800 ÷ 3600 x 3.47 x 1 + 1800 ÷ 3600 x 0.023 x 1 = $1.75 USD.

Impact on the Billing After Gateway Upgrade

If your current gateway edition cannot meet your requirements, upgrade it, for example, from basic to professional or platinum. The upgrade will not affect your services.

If you upgrade the gateway edition within one hour, multiple billing records will be generated. The start time and end time of each billing record correspond to when different configurations took effect within the hour.

For example, you deployed a professional gateway (gateway unit price: $3.47 USD/hour; bandwidth unit price: $0.023 USD/hour) on Mar 10, 2023, 09:00:00, and then upgraded it to the enterprise edition (gateway unit price: $5.2 USD/hour; bandwidth unit price: $0.023 USD/hour) at 09:30:00, two billing records are generated between 09:00:00 and 10:00:00.

  • The first billing record corresponds to 09:00:00–09:30:00, based on the price for the professional edition. You can calculate the price using the formula in Billing Items: 1800 ÷ 3600 x 3.47 x 1 + 1800 ÷ 3600 x 0.023 x 1 = $1.75 USD.
  • The second billing record corresponds to 09:30:00–10:00:00, based on the price for the enterprise edition. You can calculate the price using the formula in Billing Items: 1800 ÷ 3600 x 5.2 x 1 + 1800 ÷ 3600 x 0.023 x 1 = $2.61 USD.

Impact of Arrears

A pay-per-use gateway is billed in seconds, and settled on the hour (GMT+08:00). Once settlement is complete, it enters a new billing cycle. The system will deduct fees for pay-per-use gateways upon the end of each billing cycle.

If the settlement fails due to insufficient account balance at a certain settlement time point, your account will be in arrears. Huawei Cloud will notify you by email, SMS, or internal message.

In arrears, the pay-per-use gateway continues rendering services but it enters the grace period. You need to pay the fees of your pay-per-use gateway incurred during the grace period. To view the fees, go to the Billing & Costs > Bills > Overview page. Huawei Cloud will deduct the fees after you top up your account.

If you do not pay the arrears within the grace period, the gateway enters the retention period and its status turns to Frozen. You cannot perform any operations on pay-per-use gateways in the retention period.

If you do not pay the arrears within the retention period, your gateway will be released, and data will be lost.

NOTE:

The grace period and retention period are 15 days.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback