Deployment-Related Questions
Can I extend the free trial deployment?
Yes.
If you have special requirements or other conditions, you can submit a ticket or send an email (cloud-support@emqx.io) to us, and we will reply within 24 hours.
How to connect to the deployment?
You can connect via client such as MQTTX. You can also connect via the SDK, see Connect to Deployments for more information.
What are the common causes for connection failure?
- Check that the deployment is in a running state and that the system will automatically stop for deployments that are not actively connected.
- Check that the connection address and port are correct. If it is a Standard instance, the port numbers are not 1883 and 8883.
- Authentication is required. You need to set a username and password in
Authentication
>Authentication
and connect via the correct username and password.
Why must the MQTT client include SNI when connecting to EMQX Cloud Serverless?
In an EMQX Platform Serverless deployment, multiple tenants share the same infrastructure. To maintain tenant isolation and security, EMQX Platform relies on the Server Name Indication (SNI), which helps determine the correct tenant service based on the domain name provided by the client during the connection.
SNI is part of the TLS handshake protocol, allowing the client to specify the target domain. Without SNI, the server cannot identify the correct tenant associated with the connection, which results in authentication failure.
If the client fails to include SNI, EMQX will return MQTT error code 0x5
(authentication failed) because it cannot select the appropriate certificate or tenant information.
My deployment has been deleted by mistake, can I recover it?
You need to double-check the right deployment name before deleting a deployment. Deployments cannot be recovered after they have been deleted.
How can I get the messages sent by the client in the deployment console?
Messages sent from the client cannot be viewed directly in the deployment console and need to be persisted using data integrations for forwarding, while EMQX Cloud does not store client messages.
How can I scale deployments?
For Dedicated deployments, the EMQX Platform supports automatic scaling by submitting a ticket or changing tiers directly in the Platform Console. For more information, see Change Deployment Tiers.
The scaling lasts for 5 to 15 minutes. During the scaling period, it will not affect the normal use of the service, but the device may be disconnected and reconnected for a few seconds. If the device is configured for automatic reconnection, it will not affect use, and the connection address remains the same.
Free Quota for Serverless Deployments
When creating a Serverless deployment in the EMQX Platform console, keep the monthly spend limit at the default value of 0. This allows you to create a free deployment with 1 million session minutes and 1 GB of traffic per month. You can refer to the Create Serverless Deployment for specific steps.
Where can I see the usage of my quota?
You can view statistics on session minutes and traffic usage on the deployment overview page. Usage statistics are updated every hour, meaning that the displayed consumption figures may be delayed by one hour.
What happens if I exceed the free quota for the month?
If you exceed the free quota for the month (either for session minutes or traffic), your deployment will be stopped. It will remain stopped until the start of the next month when new free quotas become available. Note that deployments will not automatically restart and you need to manually restart them from the Console.
If my deployment is stopped due to exceeding the free quota, how can I continue using it?
If your deployment is stopped due to exceeding the free quota for the month and you wish to continue using it, you need to adjust the Serverless monthly spend limit on the Deployment Overview page by clicking the edit icon next to Spend Limit and setting the maximum monthly spend limit to a value greater than 0. If your account does not have a payment method , you will need to add a payment method to the account. After adding the payment, you can restart the deployment from the Deployment Overview page.
Manage Paid Usage of Serverless Deployments
If the free quota for each month does not meet your usage needs, you can set spend limit based on your actual requirements. For example, if you set a spend limit of 50 dollars, during usage in the current month, the free quota will be consumed first. Once the free quota is used up, the system will settle the charges hourly and put the consumption cost to the monthly bill. When your consumption reaches 50 dollars for the current month, you can choose to stop the deployment or receive a reminder and continue usage based on your selection.
How can I prevent my deployment from stopping when using it with paid usage?
If your business volume is substantial and you want to prevent the deployment from stopping, it's recommended to set a higher spend limit or choose Remind me and keep billing
when you edit the Serverless spend limit. Ensure that your account is set with a payment method.
Can I modify the spend limit?
You can modify the spend limit at any time, either by increasing or decreasing it. Please note that if your deployment's consumption for the current month has already exceeded the modified target limit, modifying the limit will result in the suspension of the deployment.
When will I receive an email notice?
When your usage for the month reaches 75% of the free quota, the email associated with your account will receive a reminder. When your usage reaches the set spend limit, the email associated with your account will receive another reminder. Please ensure to check your email for these notifications.