Deploy a private MQTT broker

Beginner
Developer
Student
Azure
Azure IoT Central
Azure Sphere
Azure Static Web Apps
Azure Virtual Machines

Learn how to deploy your own private MQTT broker.

Learning objectives

In this module, you will:

  • Create an Ubuntu virtual server.
  • Install and help secure a Mosquitto MQTT broker.
  • Install Let's Encrypt to provide CA certificate authentication.
  • Run the Python virtual disk server on the virtual machine.

Prerequisites

  • A computer with an x86-based or 64-based processor running one of the following operating systems:
    • Windows 10 Anniversary Update or later
    • 64-bit Ubuntu 20.04 LTS or Ubuntu 18.04 LTS
  • An Azure Sphere developer board that has one of the following kits:
    • Avnet Azure Sphere Starter Kit Rev 1 or 2
    • Seeed Studio Azure Sphere MT3620 Development Kit
  • A GitHub account.
  • An Azure account. Sign up for a free Azure for Students account or a free Azure account.