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.

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 passport 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 and return to the HiveMQ Cloud login screen, click the link in the confirmation email.

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.

The first time you 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 login tab, enter your new password and select LOG IN.

Create a HiveMQ Cluster:

To start using HiveMQ Cloud, create your first MQTT cluster.

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

  2. On the Clusters page, select + Create Cluster.
    A page to select the cluster type that you need opens.
    HiveMQ offers two types of clusters:

    • 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. Ideal for business-critical use cases that require high availability.

  3. Based on the pricing and usage information, select the cluster type that is right for your individual use case and click the plus icon.
    A detailed description of the cluster type opens. To select a different cluster type, select Back.

  4. To continue with the selected cluster type, click Next.
    A form to enter you billing information opens.

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

  6. Confirm the payment method that you provided and select Start Cluster. 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.

  7. 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.

  8. 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, a status page opens. When the start up is complete, your new cluster appears on the Clusters overview.
    Cluster creation takes several minutes.

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

  1. Open a terminal window and enter mqtt sh to start the MQTT CLI in shell mode. The MQTT CLI starts and shows a list of useful options and commands.

  2. To connect to your cluster, type con -h URL-from-Clusters-page -p Port-number-from-Clusters-page -s -u Username-from-mqtt-credentials -pw Password-from-mqtt-credentials and press enter.
    Connection 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 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.
    Connection information about the HiveMQ Cloud connection displays.
    This is your second connected MQTT client.

Publish/Subscribe Test

  1. In the terminal window of the second MQTT client, enter sub -t topic -s.
    This makes the second MQTT client a subscriber.

  2. In the first terminal window, enter pub -t topic -m hello.
    This makes the first MQTT client a publisher.
    The message hello appears immediately in the terminal window of the second MQTT client.

  3. To publish another message, enter pub -t topic -m goodbye in the first terminal window.
    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 your the control center credentials that you created for the cluster. To view your cluster 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.