This topic describes the billable items, unit prices, and cost estimation examples for Professional Edition instances. Use this information to choose a computing specification based on your business scale, confirm regional availability, and estimate your monthly costs.
For the regions supported by Professional Edition instances, see Supported regions.
Billing components
The fees of a Professional Edition instance consist of the following components:
Computing specifications: billed on a subscription basis. A computing specification defines the capacity limits of an instance for client connections, new connections per second, message read/write TPS, maximum subscription relationships, and the maximum subscriptions per client. For the specifications, see capacity limits.
Internet traffic: billed on a pay-as-you-go basis. Only outbound Internet traffic is billed. Inbound Internet traffic and VPC traffic are free of charge.
Computing specifications
Choose a computing specification based on the connection, throughput, and subscription scale of your business.
Capacity description
Computing specifications define the following capacity limits of an instance:
Client connections limit: the maximum number of client TCP connections that can exist on the instance at any point in time. The connection count is updated every minute.
New connections per second limit: the maximum number of new client connections that the instance can accept per second.
Message read/write TPS limit: the maximum total number of messages produced and consumed per second on the instance.
The message TPS counts only messages sent and received through ApsaraMQ for MQTT. Messages sent and received through ApsaraMQ for RocketMQ are excluded.
When the message TPS is calculated, the message count is multiplied by a factor based on the Quality of Service (QoS) level. For the factors, see Billing factors.
For example, if a client is configured with QoS=2 and cleanSession=true, the billing factor is 5. If the client produces 10 messages, the produced message count is calculated as 10 x 5 = 50.
The message read/write TPS is updated every minute.
Maximum subscription relationships: the total number of subscription relationships that are registered and retained on the instance. The subscription count is updated every minute.
Maximum subscriptions per client: the maximum number of subscription relationships that a single client can register per ApsaraMQ for MQTT topic, regardless of message sending scenarios.
Subscriptions of the same client to a parent topic and its child topics are counted separately.
For example, if Client_1 subscribes to TopicA, TopicA/sub_1, and TopicA/sub_2, the subscription count is 3.
If some of your clients are no longer in use and their subscription relationships do not need to be retained, purge the subscription relationships promptly to save system resources. For more information, see purge subscription relationships.
Billing rules
Item | Description |
Billable item | You are billed based on the computing specification that you purchase. |
Billing method | Subscription. Bills are calculated based on the selected specification and duration. You pay before you use the resources. |
Billing cycle | Monthly |
Formula | Computing specification fee = Unit price (USD/month) x Subscription duration (months) |
Unit price | For the unit prices, see Unit prices. |
Capacity limits
If the limits of the instance specification that you purchase cannot meet your business requirements, upgrade the instance specification promptly. Otherwise, the instance is throttled when the limits are exceeded, which causes client connection failures or message delivery failures. To upgrade the instance, see upgrade the instance.
ApsaraMQ for MQTT Professional Edition instances provide the following computing specifications and capacity limits:
Specification | Max client connections | Max new connections/s | Max message read/write TPS | Max subscription relationships | Max subscriptions per client |
mqtt.p2.5xlarge | 5,000 | 100 | 5,000 | 150,000 | 30 |
mqtt.p2.10xlarge | 10,000 | 200 | 10,000 | 300,000 | 30 |
mqtt.p2.50xlarge | 50,000 | 1,000 | 50,000 | 500,000 | 30 |
mqtt.p2.100xlarge | 100,000 | 2,000 | 100,000 | 500,000 | 30 |
mqtt.p2.200xlarge | 200,000 | 4,000 | 200,000 | 500,000 | 30 |
mqtt.p2.500xlarge | 500,000 | 10,000 | 500,000 | 500,000 | 30 |
If the largest specification (mqtt.p2.500xlarge) still cannot meet your business requirements, submit a ticket to contact Alibaba Cloud technical support.
ApsaraMQ for MQTT no longer offers the 100-TPS specification. Existing instances with this specification continue to work, but upgraded instances cannot be downgraded to this specification.
Unit prices
For the capacity limits of each specification, see Capacity limits.
China (Shanghai)
Specification | Unit price (USD/month) |
mqtt.p2.5xlarge | 168.42 |
mqtt.p2.10xlarge | 505.26 |
mqtt.p2.50xlarge | 1,178.95 |
mqtt.p2.100xlarge | 2,189.47 |
mqtt.p2.200xlarge | 4,421.05 |
mqtt.p2.500xlarge | 11,141.05 |
Philippines (Manila), Indonesia (Jakarta), Malaysia (Kuala Lumpur)
Specification | Unit price (USD/month) |
mqtt.p2.5xlarge | 227.37 |
mqtt.p2.10xlarge | 682.11 |
mqtt.p2.50xlarge | 1,591.58 |
mqtt.p2.100xlarge | 2,955.79 |
mqtt.p2.200xlarge | 5,968.42 |
mqtt.p2.500xlarge | 15,040.42 |
China (Hong Kong), Singapore, Japan (Tokyo), Germany (Frankfurt), US (Virginia), US (Silicon Valley), Saudi Arabia (Riyadh - Partner Region)
Specification | Unit price (USD/month) |
mqtt.p2.5xlarge | 244.21 |
mqtt.p2.10xlarge | 732.63 |
mqtt.p2.50xlarge | 1,709.47 |
mqtt.p2.100xlarge | 3,174.74 |
mqtt.p2.200xlarge | 6,410.53 |
mqtt.p2.500xlarge | 16,154.53 |
Billing example
Assume you purchase an mqtt.p2.50xlarge instance in the China (Shanghai) region for 3 months.
Computing specification fee = 1,178.95 USD/month x 3 months = 3,536.85 USD
Internet traffic
Outbound Internet traffic is the public network egress traffic generated when clients connect to the ApsaraMQ for MQTT service through an Internet endpoint. Only outbound Internet traffic is billed. Inbound Internet traffic and VPC traffic are free.
Billing rules
Item | Description |
Billable item | You are billed based on the cumulative volume of outbound Internet traffic and the usage duration. Only outbound Internet traffic is billed. Inbound Internet traffic is free of charge. |
Billing method | Pay-as-you-go |
Billing cycle | Fees are calculated once per hour. |
Formula | Hourly Internet traffic fee = Cumulative outbound Internet traffic within 1 hour x Unit price |
Unit prices
Region | Unit price (USD/GB) |
All supported regions | 0.15 |
Billing example
Assume that you purchase a Professional Edition instance in the China (Hangzhou) region and connect to the instance through an Internet endpoint. The outbound Internet traffic generated by the instance within 1 hour is as follows:
Time | 01 min | 02 min | 03 min | ... | 59 min | 60 min |
Outbound Internet traffic | 0.2 GB | 0.4 GB | 0 | No outbound traffic | 1.5 GB | 0 |
The outbound Internet traffic fee of the instance within 1 hour is: (0.2 + 0.4 + 1.5) GB x 0.15 USD/GB = 0.315 USD.
Cost estimation
To estimate your total monthly cost, add the computing specification fee and the expected Internet traffic fee.
For example, assume you deploy an mqtt.p2.10xlarge instance in the Singapore region for 1 month. Your IoT fleet generates an average of 50 GB of outbound Internet traffic per month.
Component | Calculation | Monthly cost |
Computing specification | 732.63 USD/month x 1 month | 732.63 USD |
Internet traffic | 50 GB x 0.15 USD/GB | 7.50 USD |
Total | 740.13 USD |
FAQ
What counts as a message toward TPS?
Only messages sent and received through the ApsaraMQ for MQTT protocol count toward the message read/write TPS limit. Messages routed through ApsaraMQ for RocketMQ are excluded. Message counts are also multiplied by a QoS-based billing factor. For details, see Billing factors.
What happens when my instance exceeds the specification limits?
The instance is throttled, which may cause client connection failures or message delivery errors. Monitor your usage and upgrade the instance before you reach the limits.
Can I upgrade or downgrade my instance mid-subscription?
Yes. For details, see Upgrade or downgrade an instance.
Am I charged for VPC traffic?
No. Only outbound Internet traffic is billed. Inbound Internet traffic and traffic over a VPC are free.