Run HiveMQ on AWS
Quick-launch AWS EC2 installation for running HiveMQ
Deploy a HiveMQ 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.
Choose AMI
Please choose a region you want to deploy your HiveMQ instance to.
US East 1 (N. Virginia)
Deploy HiveMQ 4.55.0 on AWS Region
us-east-1US East 2 (Ohio)
Deploy HiveMQ 4.55.0 on AWS Region
us-east-2US West 1 (N. California)
Deploy HiveMQ 4.55.0 on AWS Region
us-west-1US West 2 (Oregon)
Deploy HiveMQ 4.55.0 on AWS Region
us-west-2Canada (Central)
Deploy HiveMQ 4.55.0 on AWS Region
ca-central-1EU Central 1 (Frankfurt)
Deploy HiveMQ 4.55.0 on AWS Region
eu-central-1EU West 1 (Irland)
Deploy HiveMQ 4.55.0 on AWS Region
eu-west-1EU West 2 (London)
Deploy HiveMQ 4.55.0 on AWS Region
eu-west-2EU West 3 (Paris)
Deploy HiveMQ 4.55.0 on AWS Region
eu-west-3EU North 1 (Stockholm)
Deploy HiveMQ 4.55.0 on AWS Region
eu-north-1Asia-Pacific (Tokio)
Deploy HiveMQ 4.55.0 on AWS Region
ap-northeast-1Asia-Pacific (Seoul)
Deploy HiveMQ 4.55.0 on AWS Region
ap-northeast-2Asia Pacific (Singapore)
Deploy HiveMQ 4.55.0 on AWS Region
ap-southeast-1Asia Pacific (Sydney)
Deploy HiveMQ 4.55.0 on AWS Region
ap-southeast-2Asia Pacific (Mumbai)
Deploy HiveMQ 4.55.0 on AWS Region
ap-south-1South America (São Paulo)
Deploy HiveMQ 4.55.0 on AWS Region
sa-east-1Choose an EC2 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.
:format(webp))
Configure instance details
Now you need to configure your EC2 instance details. Typically you can use the defaults here.
:format(webp))
Add storage
The storage configuration should not be below 20GB and more than 100GB are recommended for production deployments.
:format(webp))
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.
:format(webp))
Configure security groups to safegaurd MQTT communication
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 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.
:format(webp))
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.
:format(webp))
:format(webp))
Try it out
Navigate with your browser to http://YOURIP:8080 (using 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.
You can login with the default credentials:
User: admin
Password: hivemq
Any MQTT client can be connected to HiveMQ on port 1883 now.
Recommended next steps
Wasn't that easy? You have HiveMQ up and running on your AWS installation.
Build a MQTT cluster
For production use cases, we recommend a cluster of HiveMQ nodes to realize the full benefits of reliability and scalability. Learn more about how to configure HiveMQ Clustering.
Try the Kubernetes operator
HiveMQ can be deployed on-premise or a managed cloud environment. Our Kubernetes Operator for HiveMQ makes it easy to deploy HiveMQ to any Kubernetes environment.
Read the documentation
Explore more details on how to configure Docker and HiveMQ. Note: HiveMQ provides a continuously-updated Docker repository on Docker Hub.
Speak to sales
Need help in scoping out your project, need help on architecture, or have questions on pricing? Contact our sales team and we can pair you up with the expert you need.