Installing ThingsBoard PE from Azure Marketplace
This guide walks you through installing ThingsBoard Professional Edition from Azure Marketplace using the BYOL (Bring Your Own License) model. You get the license directly from ThingsBoard, Inc, and purchase the server instances and infrastructure from Azure.
Prerequisites
Section titled “Prerequisites”- Active Microsoft Azure account
Step 1. Subscribe to ThingsBoard PE BYOL
Section titled “Step 1. Subscribe to ThingsBoard PE BYOL”Open the ThingsBoard Professional Edition BYOL product page on Azure Marketplace.
Step 2. Configure virtual machine
Section titled “Step 2. Configure virtual machine”You will be redirected to the “Create a virtual machine” dialog.
2.1 Basics
Section titled “2.1 Basics”- Create a new Resource group (e.g.
thingsboard) - Set a recognizable Virtual machine name (e.g.
ThingsBoardPE-PROD) - Choose a Region from the available list
- Set Administrator Account to SSH public key. Username must be
ubuntu. See Azure SSH docs for key generation
2.2 Disks
Section titled “2.2 Disks”Leave defaults or optionally add new disks.
2.3 Networking
Section titled “2.3 Networking”Leave all settings as-is. The VM uses a preconfigured network security group.
2.4 Review + create
Section titled “2.4 Review + create”Review the final product details and click Create to start the deployment.
Step 3. Review created resource
Section titled “Step 3. Review created resource”Copy the external IP address of your instance from the resource overview page. You will need it in subsequent steps.
Step 4. Obtain your license secret
Section titled “Step 4. Obtain your license secret”Register on the ThingsBoard License Portal to get your license. See How to get a pay-as-you-go subscription or How to get a perpetual license for details.
Save your license secret — you will need it in the next step.
Step 5. Configure your license secret
Section titled “Step 5. Configure your license secret”Connect to your instance over SSH using the official Azure guide. Use the instance public IP from Step 3 and the SSH key from Step 2.1.
Open the configuration file:
sudo nano /etc/thingsboard/conf/thingsboard.confLocate the license configuration block and uncomment the export statement. Replace YOUR_LICENSE_SECRET_HERE with your actual license secret:
# License secret obtained from ThingsBoard License Portal (https://license.thingsboard.io)# UNCOMMENT NEXT LINE AND PUT YOUR LICENSE SECRET:export TB_LICENSE_SECRET=YOUR_LICENSE_SECRET_HEREStep 6. Launch ThingsBoard service
Section titled “Step 6. Launch ThingsBoard service”sudo service thingsboard startStep 7. Connect to ThingsBoard UI
Section titled “Step 7. Connect to ThingsBoard UI”Open the ThingsBoard web interface in your browser using your instance’s external IP address.
Default credentials:
- Login: [email protected]
- Password: sysadmin
Post-installation steps
Section titled “Post-installation steps”Configure HTTPS
Section titled “Configure HTTPS”-
Assign a valid DNS record to your instance’s external IP address.
-
Connect to your instance via SSH.
-
Run the following commands, replacing the domain and email with your own:
Terminal window sudo haproxy-refresh