The pay-as-you-go billing method is used for event buses. This topic describes the billable items, billing rules, and billing examples of event buses to help you better understand the billing model and optimize your costs.
Unit prices
Unit prices of event sources
Billable item | Unit price |
Event publishing in the system event bus | Free of charge |
Event publishing in custom event buses | CNY 5.64 per 1 million published events |
An event with 64 KB in size is counted as one event during billing.
Unit price of event targets
Billable item | Unit price |
Event publishing or notification to Alibaba Cloud services | Free of charge |
Event pushing to custom event targets | CNY 1.29 per 1 million pushed events |
An event with 64 KB in size is counted as one event during billing.
If an event does not exceed 64 KB in size, one event is counted during billing. If an event exceeds 64 KB in size, the number of events counted during billing is calculated using the following formula: Number of events = Size of the event/64. The result is rounded up to the nearest integer. For example, if an event with 300 KB in size is delivered, 5 events are counted during billing.
If the event source and target of an event bus reside in different areas, the cross-area data transfer fee is incurred during data transfer. You are charged the fee based on the amount of transferred data and the unit prices of cross-area data transfer. For more information, see Unit prices of cross-area data transfer.
Event targets of the Alibaba Cloud service type:
Alibaba Cloud services used for event publishing. Examples: Function Compute, Simple Message Queue (SMQ, formerly MNS), and Simple Log Service.
Alibaba Cloud services used for event notification. Examples: DingTalk, Lark, and Short Message Service (SMS).
Custom event targets: non-Alibaba Cloud services. Examples: API Destination, HTTP, HTTPS, and Event Subscription.
Billing example
You deliver 10 million events to ApsaraMQ for MQTT within a calendar month (30 days) and publish them using a custom event bus. In this case, the fee is CNY 56.4. The fee is calculated using the following formula: 10 × 5.64 = 56.4.