Mosquitto Hosting Live In 5 Minutes

Mosquitto hosting on xCloud gives your devices and apps a self-hosted MQTT broker with anonymous access disabled and a generated login. Deploy Mosquitto from the OneClick catalog and xCloud starts the pinned 2.1.2 image, generates the MQTT password, mounts a volume for retained messages and publishes an HTTPS status dashboard. The MQTT port is plain TCP with no TLS, so restrict it with your firewall or keep clients on a private network.

  • No terminal
  • No technical skills needed
  • No lock-in, cancel anytime

What is Mosquitto?

Mosquitto is, in its README's words, an open source implementation of a server for versions 5.0, 3.1.1 and 3.1 of the MQTT protocol. It also includes a C and C++ client library, the mosquitto_pub and mosquitto_sub utilities and administration tools such as mosquitto_passwd. MQTT is publish and subscribe messaging commonly used to connect IoT devices, sensors and applications. Self-hosted Mosquitto is a broker you run yourself instead of a hosted one such as HiveMQ Cloud or AWS IoT Core. It is dual-licensed under EPL-2.0 and BSD-3-Clause.

On xCloud this template deploys Mosquitto 2.1.2, pinned by digest, with retained messages, queued session data and the password file on the mosquitto_data volume. Anonymous access is off, and one broker user, mqtt, has a generated password that also unlocks the dashboard. The dashboard shows broker statistics and listeners, not message contents. MQTT is unencrypted and every authenticated client can use every topic.

From Sign-Up to a Live MQTT Broker In Just 3 Easy Steps

Self-hosting an MQTT broker normally means generating credentials, disabling anonymous access and standing up a status dashboard before a single device can connect. This is the same result without assembling any of it.

  1. Step 01

    Sign Up

    Create your xCloud account, pick Mosquitto from the OneClick catalog, and choose a domain. No extra fields — xCloud generates the credentials.

  2. Step 02

    We Deploy It For You

    One click. We bring up the pinned Mosquitto 2.1.2 image with anonymous access disabled, publish the dashboard over HTTPS, and open a dedicated MQTT host port.

  3. Step 03

    Connect Your Devices

    Save the MQTT username and password from the protected installation credentials, open your own firewall for the MQTT port, and connect a client, for example mosquitto_pub -h <host> -p <port> -u mqtt -P '<password>' -t demo/hello -m 'hi'.

Everything Mosquitto Does, On Your Own Server

Mosquitto runs in full here — an MQTT publish/subscribe broker with a status dashboard, on infrastructure you control.

  • Connect Devices Over MQTT

    IoT devices, sensors, gateways and applications publish and subscribe through one broker.

  • Anonymous Access Disabled

    A generated password protects both the broker and the dashboard; anonymous connections are refused.

  • A Built-In Status Dashboard

    See broker statistics and configured listeners over HTTPS — not message contents.

  • A Very Small Footprint

    The verified install used under 3 MiB of RAM at idle, so it runs comfortably alongside anything else on the server.

  • Retained Messages Survive A Restart

    QA verified a retained message was still delivered to a subscriber after a container restart.

  • Pinned, Repeatable Installs

    The image is pinned by immutable digest, so every install starts from the exact same build.

Everything You Need To Run Your Devices Always Connected

Managed hosting for Mosquitto, so the parts that keep it online are not your problem.

  • Mosquitto 2.1.2 deployed instantly
  • Anonymous access disabled, generated login
  • HTTPS status dashboard included
  • Server backups and snapshots
  • Server security updates included
  • 30+ server locations
  • Unused balance refunded

What You Can Do With Mosquitto

  • Connect sensors and devices

    Your devices publish readings to topics on the broker, and your applications subscribe to receive them.

  • Feed a home automation hub

    A system such as Home Assistant or Node-RED subscribes to your broker to react to device messages.

  • Keep retained messages

    The broker stores retained messages and queued sessions on a volume, so late subscribers get the last value after a restart.

  • Run IoT messaging on your own server

    A team that does not want device data passing through a hosted broker keeps the broker on a server it rents.

Mosquitto vs Alternatives

HiveMQ Cloud
HiveMQ Cloud is a hosted MQTT broker service. Mosquitto here is one self-hosted broker with a single user, and this page makes no feature-parity claim.
AWS IoT Core
AWS IoT Core is a hosted IoT messaging service. Mosquitto here is one broker on a server you rent, with no per-message or per-device fee from xCloud, and this page makes no feature comparison.
RabbitMQ
RabbitMQ is a separate message broker with its own OneClick page. Compare its features with Mosquitto's before choosing. EMQX is another MQTT broker; Mosquitto here is a single container with one broker user.
Kafka
Kafka is a separate event streaming platform with its own OneClick page. Mosquitto is a lightweight MQTT broker for publish/subscribe messaging between devices and apps.

Simple Pricing. Everything Included.

Dedicated Cloud VPS sizes, pre-configured for Mosquitto hosting. Pick the one that fits, and resize any time.

Cloud VPS 6 GB

Most popular

An MQTT broker for a handful of devices.

$24.99per month

  • 6 GB RAM
  • 4 vCPU cores
  • 100 GB NVMe SSD
  • 30 TB
  • Unlimited
Get started

Cloud VPS 16 GB

Mosquitto alongside the apps that consume its messages.

$59.99per month

  • 16 GB RAM
  • 6 vCPU cores
  • 200 GB NVMe SSD
  • 30 TB
  • Unlimited
Get started

Cloud VPS 24 GB

Mosquitto alongside a whole self-hosted stack.

$84.99per month

  • 24 GB RAM
  • 8 vCPU cores
  • 300 GB NVMe SSD
  • 30 TB
  • Unlimited
Get started

Every size is a dedicated Cloud VPS we provision, patch, monitor and restore. Billed monthly with no lock-in — delete the server and the unused balance comes back to your account. Mosquitto itself is free and dual-licensed under EPL-2.0 and BSD-3-Clause.

Already Have a Server? Bring Your Own

Connect any VPS — DigitalOcean, Vultr, Linode, AWS, Hetzner or bare metal — and deploy Mosquitto on it through the same panel, for a per-server management fee instead of a Cloud VPS rental.

Free

Start your journey without cost.

$0forever

  • 1 server
  • 10 sites
Start free

Starter

Most popular

Your rate with 2–5 servers connected.

$5per server / month

  • 2–5 servers
  • Unlimited sites
  • All features included
  • Bring any VPS provider
Get started

Professional

The same platform, discounted at 6–10 servers.

$4per server / month

  • 6–10 servers
  • Unlimited sites
  • All features included
  • Bring any VPS provider
Get started

Agency

The same platform, discounted at 11+ servers.

$3per server / month

  • 11+ servers
  • Unlimited sites
  • All features included
  • Bring any VPS provider
Get started

Priced per connected server, so your rate adjusts automatically as you add or remove servers. You pay your own provider for the server itself.

Ready To Own Your MQTT Broker?

Mosquitto on xCloud runs on a dedicated Cloud VPS that we provision, patch, monitor and restore. Deploy faster. Own the server. Stay in control.

Hear what people are saying about us

See why agencies, developers, startups, and growing businesses choose xCloud to power their projects.

xCloud works really well, I am surprised by its performance being this the release version, I have tried many paid platforms such as runcloud, cloudpages or serveravatar, as well as free platforms such as CyberPanel, CloudPanel or Hestia Control Panel and direct competitors such as SpinupWP and FlyWP. Of all those that I have tried, the platform that works best for WordPress is SpinupWP and I believe that xCloud can reach and surpass that development, its roadmap is promising. Congratulations to the xCloud team, I hope they become the leading platform in the segment, it has all the potential to achieve it!
Brian Geovanny
I've been with runcloud for the last 3 years. However, after trying xcloud for the last month, I'm switching over. They are on a roll with their setup.
Kevin Pineda
I'm moving my servers to xCloud, a cloud control panel by M Asif Rahman and the WPDeveloper team. Their roadmap looks interesting and no, there are no team mates nor API limits with xCloud! #xCloud #wordpress #hosting
Leo Koo
How Cloud Nine Web Elevated Client Experience While Streamlining Hosting Operations using xCloud
Ed Ellingham
xCloud is like having an expert server team on call — without the big agency costs. It's given me back my time and given my clients peace of mind. Highly recommended for freelancers and small teams who want reliable performance and security.
Dumitru Butucel
xCloud isn't just a solution. It's like one of that friend who got your back when you screw things up pretty bad.
Waqar Ahmed
Trust me when I say, once people explore the potential of xCloud they gonna switch from other panels, just keep delivering the best tech, lots of love for the team 😍😍
Rahul Singh
So far my experience has been smooth like silk. I didn't imagine that configuring and managing a VPS would be so easy. As of today, I have deployed 8 sites. The support is good, and they treat users with respect, even if they ask stupid questions (myself included). For the future, I hope for greater flexibility in scheduled backups and more comprehensive and consistent documentation. I'm sure that within a few months, xCloud will become the leader in its segment. This community is amazing, and the Staff here is super helpful.
Massimo Villa
Came from cloudways then to runcloud then to xcloud. Looks like I'm staying here.
Gerson El
I've recently taken all of my Vultr-hosted sites and gotten rid of cPanel for them to substitute it with xCloud. I have to say, I'm really impressed with xCloud so far! The interface is definitely the standout feature for me.
Tony Lewis
I came from Cloudways and won't go back. Highly impressed with xCloud. Glad I gave them a chance.
Jared McDowell
I like xCloud better than RunCloud, but one thing I'll point out is that some years ago RunCloud was hungry for business, the support was outstanding, and the community was active and helped each other. Maybe it was sold, there was a change in management, or they stopped being hungry, but the quality of the RunCloud offering declined and it hasn't been moving forward quickly. My point is that currently the xCloud team has the edge and it is theirs to keep or lose
David McCan
How Kevin Heinrichs Cut Hosting Costs by 84% While Running WooCommerce & Node.js Sites Efficiently
Kevin Heinrichs
I had 150 sites on cloudways and am in the process of moving them to xcloud. Much faster and better priced.
Dan Spinoza
Dear xCloud Team, I have been using xCloud for some time now and am genuinely impressed with its capabilities and the flexibility it offers by allowing users to bring their own VPS for management. It's a fantastic service, and my experience so far has been very positive. Successful migrated 5 sites on a single server. Xcloud migration tool worked great. There were few hiccups with security plugin like MalCare but disabling the plugin prior to migration worked just fine.
Rahil Maknojia
Came from runcloud. Tried xcloud and never came back.
Karl Fanega
How Advanced Web Strategies Saved Over $2,000 & Recovered 56 Hours per Month Managing 70+ Client Websites
Gary Moody
xCloud gave me what no other hosting platform could: the flexibility of a VPS with the convenience of managed WordPress. As a solo founder running an entire business on one server, that combination is an important unfair advantage.
Jorge de los Reyes Martínez
I use Server Avatar and xCloud and I'll sooner use xCloud than Server Avatar personally.
Jay Pagano
How Newman Web Solutions Ensured Perfect Uptime and Seamless Scaling For 120+ WordPress Sites with xCloud
Lori Newman
I too have moved over to xCloud. It's pretty sweet. One click n8n and uptime Kuma apps
John Aperture
I went from Cloudways to xCloud. No intention on switching in the foreseeable future.
Blaine Moore

Frequently Asked Questions

Feel free to contact us with any questions or concerns you may have.

Is Mosquitto free?

Yes. Mosquitto is open source and dual-licensed under EPL-2.0 and BSD-3-Clause, with the licence file linked from this page at the pinned v2.1.2 tag. xCloud bills for the Cloud VPS under it, not for Mosquitto, and there is no per-message or per-device fee.

Can you self-host Mosquitto with Docker?

Yes, and this Mosquitto Docker hosting template does it for you: the eclipse-mosquitto image, pinned by digest, runs as one container on your own server with an MQTT port published and an HTTPS dashboard. It is not a Mosquitto cloud account, so messages stay on your server.

How much RAM does Mosquitto need?

The template manifest asks for 128 MB of RAM as a floor, because Mosquitto is a small broker. Many connections, large retained messages and queued sessions use more. This page sells the 6 GB tier, which leaves enormous headroom above that floor for other apps.

How do I sign in to the Mosquitto dashboard?

Use the username mqtt and the generated password from the credentials. The browser shows a basic-auth prompt. The same username and password also let MQTT clients connect, because anonymous access is disabled, so keep the password private.

How do I connect an MQTT client to Mosquitto?

Use the MQTT host and port from the credentials with the username mqtt and the generated password, for example with mosquitto_sub and mosquitto_pub. There is no TLS on this port, so credentials and payloads travel unencrypted. Test with a subscribe, then a publish.

Is the Mosquitto MQTT connection encrypted?

No. The MQTT port is plain TCP without TLS, so the username, password and message payloads travel unencrypted, and the port is reachable from the internet. Open it in your own firewall only to addresses that need it, or keep clients on a trusted network.

Can every client access every Mosquitto topic?

Yes. There is one broker user and no per-topic access control, so every authenticated client can publish and subscribe to every topic. If you need separate permissions, this template is not enough on its own, so plan another broker setup.

What does the Mosquitto dashboard show?

Broker statistics and the configured listeners, taken from the broker's system topics, not message contents. Its page files are static and all broker data comes from the broker API, which needs the same username and password. It is a status view, not a message browser.

What runs alongside Mosquitto?

Nothing else. It is one container, with the MQTT listener published on a host port and the dashboard proxied to your domain over HTTPS. The password file is rebuilt from the environment at every start, so edits made elsewhere will not persist.

How do I back up Mosquitto?

Back up the mosquitto_data volume if you need to keep retained messages, since it holds the persistence database, queued session data and the generated password file. Keep the MQTT password in your notes. Test a restore, and note that live messages are not stored.

How do I upgrade Mosquitto?

A running install stays on pinned 2.1.2 until you adopt a newer template version, so catalog updates leave it alone. Back up the volume first and read the upstream release notes, since configuration can change. Then reconnect a client and publish a test message.

Can I cancel anytime?

Yes. There is no lock-in — cancel any time. Hosting is billed monthly and charged for what you actually use, so when you delete the server the unused balance is refunded to your account, less up to 10% in payment-processing fees.

Ready to Own Your MQTT Broker?

Connect your first server in minutes. No plan you have to grow into.