Home About us Support Partners SIGN UP NOW
 Home    Blog    Setting up Azure MQTT Broker

Setting up Azure MQTT Broker for enhanced connectivity

by Ponlakshmi


azure mqtt

In the era of Internet of Things (IoT) , where mobility and remote device management are crucial, hosting a secure MQTT broker on the cloud becomes imperative. However, concerns about application and data security often deter individuals. This blog aims to address these concerns by offering a comprehensive guide on hosting a secure MQTT broker on Azure, a reliable and widely used cloud platform. The chosen MQTT message broker for Azure hosting is Bevywise MQTT Broker.

Why to choose a pre-deployed broker?

Deploying a new server and setting up an MQTT broker from scratch can indeed be a complex and time-consuming process. By opting for a pre-deployed MQTT broker in Azure, you can save time and effort by bypassing the intricate setup and configuration steps.


The Bevywise MQTT broker in Azure Marketplace offers a convenient solution with its ready-to-use deployment, allowing you to quickly establish secure and scalable communication channels for your IoT devices. This eliminates the need to worry about infrastructure management, as the broker is already hosted on Azure.

The functionalities of Bevywise MQTT broker includes :


  • Handling high volume of MQTT traffic and ensuring smooth scalability as the number of connected devices grows
  • Comprehensive device management capabilities, enabling you to easily connect, manage and monitor your IoT devices.
  • Built-in security features ensures secure communication & prevent unauthorized access to the MQTT broker and the data exchanged.
  • Offering monitoring and analytics features that allow you to gain insights into the broker’s performance, message throughput and device activity.

All these functionalities eliminate the need to worry about infrastructure management, as the broker is ready to run on Azure.

Create Azure Account


Creating an account in the Microsoft Azure portal is the first and foremost step. Then sign in to the Microsoft Azure portal.


signin azure

After signing in, you’ll see ‘Create this app in Azure’ window.


create app in 
            azure

Fill in the necessary details and click ‘Continue’. At once, a window will appear to verify the mail id you provided.


After verifying your mail id, you will be able to access the Azure dashboard. In that, search and open ‘Bevywise MQTTRoute’.


mqttroute

Choose ‘Create’. It will lead to the ‘Create a virtual machine’ page.

Creating a virtual machine

create vm

Under the ‘Basics’ category :

  • Under ‘Project Details’, choose the ‘Subscription’ method and choose a ‘Resource Group’.
  • In the ‘Instance Details’, give the virtual machine a name, choose your region, availability options and security type.
  • By default, image will be ‘Bevywise MQTTRoute Evaluation Pack – x64 Gen2’. Leave it unchanged.
  • In the ‘Size’, choose any standard size you want.

Under the ‘Administrator’ account :

  • Amidst ‘SSH public key’ and ‘Password’, choose your desired authentication type.

virutal machine

  • As per the authentication type chosen, fill the required details and click ‘Next : Disks’

Under the ‘Disks’ category :

  • In the ‘OS Disk type’, choose ‘Standard HDD (locally-redundant storage).
os disk

Leave all other default settings untouched.


create VM

Click ‘Review + Create’ to get your virtual machine created.


deployment

Once the deployment is over, you can see the following window.


deployment completed

Once your deployment is completed, open the Powershell and run the following command :


ssh username@ipaddress


Note : In the ‘Username’, give the username you provided when creating a virtual machine.


Instead of username, you can also use the password. When using password, your command should be : ssh password@the path of pemkey


run broker

Then run the MQTT Broker.

With Bevywise’s MQTT broker, you can focus more on developing and implementing your IoT applications and maximizing the value derived from your IoT devices, without being burdened by the complexities of server setup and management.


Get utilised with our managed MQTT Broker on Azure marketplace.