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
Situation Awareness
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 Billing

Updated on 2025-01-17 GMT+08:00

Pay-per-use billing is a postpaid mode in which you pay for what you use. This billing mode requires no upfront or long-term commitments. This topic describes the billing rules of pay-per-use WAF resources.

NOTICE:

Dedicated WAF instances billed on a pay-per-use basis are not available in some regions. For details, see Notice on Web Application Firewall (Dedicated Mode) Discontinued.

Application Scenarios

Pay-per-use billing is suitable for applications or services that cannot be interrupted but have unpredictable or sudden traffic surges, such as flash sale activities on e-commerce platforms, temporary testing, and scientific computing.

Billing Items

  • Cloud mode: the number of domain names, the number of custom rules, and the number of requests
  • Dedicated mode: the number of instances

Billing Period

Pay-per-use WAF resources are billed by second. Bills are settled on each integer hour (UTC+08:00). After the settlement is complete, a new billing period starts.
  • For a pay-per-use cloud WAF instance, you are billed for the number of added domain names, number of customized rules, and number of forwarded requests.
  • For a pay-per-use dedicated WAF instance, you are billed for the required duration (accurate to second), which starts when the instance is created and ends when the instance is deleted.

For example, if you purchased a dedicated WAF instance at 8:45:30 on June 8, 2023 and then deleted it at 8:55:00 on that day, the billing cycle is from 8:00:00 to 9:00:00, and the billing duration is calculated from 8:45:30 to 8:55:30, which is 600 seconds.

Billing Examples

If you purchased a pay-per-use cloud WAF instance at 08:00:00 on June 8, 2023 and disabled the pay-per-use billing mode at 18:00:00 on that day, the billing duration is 10 hours. During the billing cycle, two domain names and two rules were added, and 10 million requests were forwarded by WAF.

Figure 1 Example of pay-per-use billing in cloud mode
If you purchased two pay-per-use dedicated WAF instance at 08:00:00 on June 8, 2023 and deleted them at 18:00:00 on that day, the billing duration is 10 hours. The billing details are as follows:
  • Number of WAF instances: 2
  • WAF instance specifications: WI-100
Figure 2 Pay-per-use billing for dedicated WAF instances

Impacts of Arrears

Figure 3 describes the status of pay-per-use WAF resources in different periods. After a WAF instance is purchased, it enters the validity period and runs normally during this period. If your account goes into arrears, the WAF instance enters a grace period and then a retention period.

Figure 3 Resource Lifecycle

Arrears notifications

The system deducts fees from your account balance for pay-per-use resources at the end of each billing cycle. If your account goes into arrears, we will notify you by email, SMS, or in-app message.

Arrears impacts

If you purchase pay-per-use dedicated WAF instances or cloud WAF, fees are deducted from your account balance. Your account may fall into arrears if the balance cannot cover the fees. If your account gets into arrears, WAF enters the grace period and still protects your website during this period. You need to pay the pay-per-use resource fees incurred during the grace period. To view the fees, go to the Billing Center > Overview page. The system will charge the fees once you top up your account.

If you do not pay the overdue fees within the grace period, the resource enters the retention period and the resource status changes to Frozen. In the retention period, you cannot perform any operation on the pay-per-use resources, and WAF only forwards website requests without examining any traffic.

If the fees still fail to be paid when the retention period ends, domain name configurations in WAF will be deleted. During the clearing period, domain names are pointed back to origin severs by default. However, services on your domain names may not run properly because there may be inconsistencies between your configured protocols and ports.

NOTE:

Huawei Cloud offers a 15-day grace period and a 15-day retention period.

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