Quick-Launch AWS EC2 installation for HiveMQ 4.12.0

Deploy a HiveMQ 4.12.0 trial instance with ease on AWS EC2 by using our pre-built AMIs. This convenient installation sets up a fully operational HiveMQ AWS EC2 instance with the sizing of your choice on your AWS account. You do not need to provide any AWS credentials for this installation, as this triggers the standard EC2 AWS web console dialog in your web browser and no data is transmitted to us.

1. Choose AMI

Please choose a region you want to deploy your HiveMQ instance to.

US East 1 (N. Virginia)

Deploy HiveMQ 4.12.0 on AWS Region

US West 1 (N. California)

Deploy HiveMQ 4.12.0 on AWS Region

EU Central 1 (Frankfurt)

Deploy HiveMQ 4.12.0 on AWS Region

2. Choose an instance type

The first step is to choose an appropriate instance size for your EC2 instance.

In order to fulfill the minimum requirements for HiveMQ, please use a m5.xlarge or c5.xlarge instance.

3. Configure instance details

Now you need to configure your instance details. Typically you can use the defaults here.

4. Add Storage

The storage configuration should not be below 20GB and more than 100GB are recommended for production deployments.

5. Add Tags

Tags are optional but are useful for adding metadata to your instance. You can add a Name tag so you can identify the launched instance at a later point of time within your AWS web console.

6. Configure Security Groups

In order to make your HiveMQ instance accessible to your MQTT clients, it's important to expose the port 1883. If you want to have it accessible over the Internet, you should use the anywhere as Source. In order to access the HiveMQ Control Center, please configure port 8080 in your security group. If you want SSH access to your machine, make sure to also add a SSH rule.

Please make sure that the HiveMQ Control Center port 8080 and port 22 are only accessible from your IP address or trusted IP addresses. They should never be accessible over the Internet.

7. Launch AMI and try out

Now you are ready to launch the AMI. Click the blue Launch button and wait for the EC2 instance to launch. This typically takes a few minutes.

Navigate to your EC2 Instance Overview and find the address of your newly spawned EC2 instance with HiveMQ.

8. Try out

Navigate with your browser to http://YOURIP:8080 (use the address you found in step 7.) and open the HiveMQ Control Center. If the HiveMQ Control Center is available, HiveMQ is up and running.

Control Center

You can login with the default credentials (user: admin password: hivemq)

Any MQTT client can be connected to HiveMQ on port 1883 now.

9. Your next step

Ready for the next step? Get your evaluation license which allows you to try out HiveMQ with up to millions of MQTT connections and thousands of MQTT messages per second on AWS. Contact a HiveMQ expert today and get the best out of your HiveMQ deployment.