This guide describes how to install ThingsBoard Professional Edition from Azure Marketplace. Using this guide you will install BYOL version of the product. Basically, you get the license directly from ThingsBoard, Inc, but purchase corresponding server instances and infrastructure from Azure.
Open ThingsBoard Professional Edition BYOL product page from Azure Marketplace.
You will be navigated to the resource overview page. We should use this page to copy the external IP address of your instance. Please copy this IP address to a safe place. We will use it in our next steps.
As an example, on the image below, the IP address is highlighted and set to “40.121.179.240”
In order to activate your ThingsBoard instance you will need to get the license secret. ThingsBoard Licenses are managed by ThingsBoard License Portal.
Please register on ThingsBoard License Portal to get your license. See How-to get pay-as-you-go subscription or How-to get perpetual license for more details.
Please save your license secret to a safe place. We will use them later in this guide.
Once you get the license secret, you should put it to the thingsboard configuration file.
Please use the official Azure guide on how to connect to Azure VM using SSH keys.
Note: You will need to use instance Public IP (see Step 3) and the key file (see Step 2.1)
Open the file for editing using the following command:
sudo nano /etc/thingsboard/conf/thingsboard.conf
Locate the following configuration block:
# License secret obtained from ThingsBoard License Portal (https://license.thingsboard.io)
# UNCOMMENT NEXT LINE AND PUT YOUR LICENSE SECRET:
# export TB_LICENSE_SECRET=
and put your license secret. Please don’t forget to uncomment the export statement. See example below:
# 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_HERE
Execute the following command to start ThingsBoard:
sudo service thingsboard start
Now you can open this link in your browser:
In this example:
Use this login to connect as system Administrator
Default password for System Administrator is:
Now you can proceed to the next steps.
Configure HAProxy to enable HTTPS
sudo certbot-certonly --domain smth.yourcompany.com --email support@yourcompany.com
sudo haproxy-refresh
where smth.yourcompany.com is your DNS name from the second step and support@yourcompany.com is your email to get notifications from certbot.
入门指南 - 这些指南提供了ThingsBoard主要功能的快速概述。
设备连接 - 了解如何根据您的连接方式或解决方案连接设备。
数据看板 - 这些指南包含有关如何配置复杂的ThingsBoard仪表板的说明。
数据处理 - 了解如何使用ThingsBoard规则引擎。
数据分析 - 了解如何使用规则引擎执行基本的分析任务。
硬件样品 - 了解如何将各种硬件平台连接到ThingsBoard。
高级功能 - 了解高级ThingsBoard功能。
开发指南 - 了解ThingsBoard中的贡献和开发。