HiveMQ Cloud

HiveMQ is the industry leader for enterprise-ready, beautifully scalable, large-scale IoT deployments with MQTT. We help companies connect things to the Internet. Our MQTT-based messaging platform ensures fast, reliable, and secure movement of data to and from connected IoT devices for companies around the world.

Features

HiveMQ Cloud is a fully-managed, cloud-native IoT messaging platform that makes trustworthy and scalable IoT device connectivity simple:

  • Create a cluster with just a few clicks and connect your IoT devices. No installation or server management required.

  • Reduce your risk of operation. HiveMQ professionals with years of experience managing large-scale, mission-critical MQTT broker clusters maintain HiveMQ Cloud for you.

  • Automatic scaling to meet your demands smoothly with superior clustering technology that ensures high availability and reliability for all your IoT devices.

  • Enterprise-grade security from the ground up. Dedicated infrastructure with replication across 3 different data centers, TLS communication, device authentication/authorization, and 24/7 professional support.

  • Easy connection and integration with no vendor lock-in. HiveMQ Cloud is 100% compliant with the MQTT specification.

  • Transparent pricing. No complicated service calculations and hidden costs.

Get Started

The best way to learn more about HiveMQ Cloud and spin up your first HiveMQ cluster is to follow our HiveMQ Cloud Quick Start Guide.

The Quick Start Guide gives you step-by-step instructions on how to set up your HiveMQ Cloud account, create clusters, and connect MQTT clients.

New to HiveMQ Cloud? Learn about our HiveMQ Cloud Starter package free trial.

HiveMQ Cloud Quick Start Guide

To get started with HiveMQ Cloud, navigate to console.hivemq.cloud.

Sign Up:

The first time you use HiveMQ Cloud, you need to create your login credentials:

  1. Switch to the Sign Up tab of the HiveMQ Cloud login dialog.

  2. Enter your email.

  3. Create your password. Password guidelines display when you type in the password field.

  4. Agree to the HiveMQ terms of service and privacy policy and select Sign Up.
    HiveMQ Cloud automatically sends a confirmation email to the email address that you provided.

  5. To verify your new account, click the link in the confirmation email. The link verifies your account and returns you to the HiveMQ Cloud login screen.

If you do not receive a confirmation email, simply contact cloud@hivemq.com and ask us to send the email again.

Log In:

After your initial sign up, you can log in to HiveMQ Cloud directly.

  1. Switch to the Log In tab and of the HiveMQ Cloud login dialog.

  2. Enter the email address and password that you provided on sign up and select Log In.
    Your HiveMQ Cloud console opens.

On your initial log in, you are asked for contact details. Fill in the contact form and select Continue.

If you forget your password, use the Don’t remember your password option to create a new password. After a verification email, a Change Password dialog where you can create a new password is provided. A notification window confirms that your password is successfully updated.
Return to the Log In tab, enter your new password, and select Log In.

Try Out a HiveMQ Cloud Starter Package (free trial)

First-time HiveMQ Cloud customers are invited to take advantage of a special free trial offer. Our free trial of the Starter package is the perfect way to explore the features of HiveMQ Cloud.
Here are the details:

  • One HiveMQ Cloud Starter package per customer, free of charge for 7 days, then $1.50 per hour, billed monthly.

  • 100 GB of free data traffic during the trial period (additional data traffic can be purchased at the end of the free trial).

  • Cancellation anytime within 7 days at no cost. At the end of your free trial, if you do not cancel, your cluster continues to run and is automatically billed at $1.50 per hour.

  • HiveMQ requires your payment information to ensure a seamless transition after the free trial period.

Start Your Free Trial

Once you sign up and log in to HiveMQ Cloud, you are ready to start your free trial:

  1. On the home screen of your HiveMQ Cloud console, select Get Free Trial.
    A page where you can select your free trial of a Starter package opens.

    • Only one free trial is available per customer. If you have already completed a seven-day free trial, the Free Trial option is not visible.

    • You can delete a trial cluster and restart a new one any time within the trial period. A maximum of one free trial cluster can be running at a time. HiveMQ tracks the time that remains on your trial from the day that you start your first trial cluster.

    • To start a new free-trial cluster and continue your evaluation of HiveMQ Cloud, simply select Get Free Trial once more. The cluster selection page shows the number of days left on your free trial.

    • You can create and run non-trial clusters at the same time as your trial cluster.

    • The HiveMQ Cloud Business Critical package is not available for a free trial.

  2. In the Starter area of the Clusters page, select Get Free Trial.
    A form to enter your billing information opens.

  3. Enter your billing information and select Confirm.
    A form to enter your payment method opens.

  4. Enter your credit card information and review the billing information.
    To begin your free trial period, select Start Free Trial Now.
    HiveMQ begins the deployment of your cluster immediately. The cluster creation process takes some time.

  5. After cluster creation starts, a dialog to Create HiveMQ Control Center Credentials opens. These credentials are needed to log in to the HiveMQ Control Center.
    Your user name must have at least 5 characters.
    Your password must have at least 8 characters and needs to contain uppercase letters, lowercase letters, and numbers.

  6. To save your control center credentials, select Create Credentials.
    To skip the creation of your control center credentials and continue, select Skip this step.
    (You can add and delete credentials at any time from the Clusters page of your HiveMQ Cloud console.)
    After you confirm or skip credential creation, the Clusters page opens and shows that your cluster is starting. When the startup process is complete, information about your new cluster appears on your Clusters overview.

To try out your new cluster, jump to Next Steps.

Create a HiveMQ Cluster (beyond free trial)

You can create additional HiveMQ clusters at any time. Pricing and features as shown:

  1. In the main navigation of your HiveMQ Cloud console, select Clusters.

  2. On the Clusters page, select + Create New Cluster.
    A page to select the HiveMQ Cloud package that you need opens.
    HiveMQ offers two types of packages:

    • Starter: A single-node instance of the HiveMQ broker. Ideal for getting started and small use cases.

    • Business Critical: A three-node cluster of the HiveMQ broker. The right choice for business-critical use cases that require high availability.

  3. Based on the pricing and usage information, select the package that is right for your individual use case and click Select Package.
    A form to enter you billing information opens.

  4. Enter or review your billing information and select Confirm.
    A form to select your payment method opens.

  5. Confirm the payment method that you provided and select Start Cluster Now. Cluster creation can take several minutes.
    IMPORTANT: You are charged for every hour that your HiveMQ Cloud cluster runs. Billing begins as soon as you select Start Cluster. The minimum charge is 1 hour.

  6. After cluster creation starts, a dialog to Create HiveMQ Control Center Credentials opens. These credentials are needed to log in to the HiveMQ Control Center.
    Your user name must have at least 5 characters.
    Your password must have at least 8 characters and needs to contain uppercase letters, lowercase letters, and numbers.

  7. To save your control center credentials, select Create Credentials.
    To skip creation of your control center credentials and continue, select Skip this step.
    (You can add and delete credentials at any time from the Clusters page of your HiveMQ console.)
    After you confirm or skip credential creation, the Clusters page opens and shows that your cluster is starting. When the start up is complete, your new cluster appears on the Clusters overview.

Next Steps

Use your HiveMQ Cloud account to connect MQTT clients to your cluster and monitor MQTT client activity in real time.

MQTT Client Connection and Monitoring

The following procedure shows you how to use the open-source command-line tool MQTT CLI to connect an MQTT client and test your connection.

We use the MQTT CLI for ease of use and to simplify the explanation of this sample procedure. However, you are free to use whichever tool and method you prefer.

Preparation

  • To connect an MQTT client to your cluster, you must create MQTT credentials for the cluster.
    If you have not already done so, create MQTT credentials as follows:

    • On the Clusters page, select Edit Credentials for the desired cluster.

    • In the MQTT Credentials | Add New Credentials area, define your MQTT credentials and select + Add.
      The page adjusts to display the information that you added in the Current Credentials area.

  • Keep your Clusters page open, to complete this procedure, you need the URL, port, and MQTT credential information.

  • Download and install the current version of the MQTT CLI. Documentation and download packages with complete installation instructions are available at no cost on GitHub. An introductory tutorial for the MQTT CLI is available on YouTube.

Connect an MQTT Client

Adding an -s flag to the connect command opens a secure connection to the MQTT Broker with the default SSL configuration.
  1. To start the MQTT CLI in shell mode, open a terminal window and enter the following command:

    mqtt sh

    The MQTT CLI starts and displays a list of useful options and commands.

  2. To connect to your HiveMQ Cloud cluster, type the following command with the appropriate information from your Clusters page and press enter:

    con -h  <cluster-url> -p <port-number> -s -u <mqtt-credentials-username> -pw <mqtt-credentials-password>

    Information about the HiveMQ Cloud connection displays.
    This is your first connected MQTT client.

  3. To create another connected client and test your cluster, open a second terminal window and enter the following command once more:

    mqtt sh

    (keep your original terminal window open).

  4. Copy and paste the connection command that you created in the first window to the second window and press enter.
    Information about the second HiveMQ Cloud connection displays.
    This is your second connected MQTT client.

Publish/Subscribe Test

In shell mode, adding the -s flag to the command blocks the MQTT CLI console so that the incoming messages are printed out to the user.
  1. In the terminal window of the second MQTT client, enter:

    sub -t testTopic -s

    This command subscribes the second MQTT to all messages that are published with the topic testTopic.

  2. In the first terminal window, enter:

    pub -t testTopic -m Hello

    This command makes the first MQTT client a publisher and publishes the message Hello with the topic testTopic.
    The message Hello appears immediately in the terminal window of the second MQTT client.

  3. To publish another message, enter in the first terminal window:

    pub -t testTopic -m Goodbye

    This command publishes the message Goodbye with the topic testTopic. The message Goodbye appears immediately in the terminal window of the second MQTT client.

To view the activity of your new MQTT clients on the HiveMQ control center, see Monitor MQTT Clients on Your HiveMQ Control Center.

Monitor MQTT Clients on Your HiveMQ Control Center

The HiveMQ control center provides a wide range of metrics that help you manage and analyze your cluster. Use the detailed information the control center provides to maintain a clear overview of your clusters and quickly identify irregular client behavior.

  1. To open the HiveMQ control center for your cluster, go to the Clusters page of your HiveMQ Cloud console.

  2. You need the control center credentials that you created for the cluster. To retrieve your credentials, select the Edit Credentials action for the selected cluster. Record the necessary credentials and return to the Clusters overview.

  3. On the Clusters overview, select the Control Center action for the desired cluster.

  4. Enter the control-center login information that you recorded from the Credentials page.
    The control center dashboard for the selected cluster opens and displays detailed information for your HiveMQ Cloud cluster and MQTT clients.

To learn more about your HiveMQ Cloud console, see HiveMQ Cloud Console.
To learn more about the HiveMQ control center, see HiveMQ Control Center.