This guide describes how to install ThingsBoard Professional Edition from AWS 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 AWS.
Open ThingsBoard Professional Edition BYOL product page on AWS Marketplace.
Review and Accept all Terms and Conditions. Click the “Accept Terms” button.
Leave Fulfillment Option and Software Version as-is.
Select the region from the list of available AWS regions.
Click the Continue to Launch button
Make sure you review the usage instructions. It is always a good idea to copy them to a safe place.
You can optionally change your EC2 Instance Type, VPC and Subnet. This step is usually for advanced AWS EC2 users.
Make sure you create new Security Group based on seller settings.
Populate necessary Security Group name and details and save new group
Click the “Save” button.
You can optionally select different or create new Key Pair for your instance. Make sure you have access to the key file before you proceed. We will use the key file later in this guide.
Finally, click the “Launch” button.
Once Launch is complete, you can navigate to EC2 console to find out the Public IP address of the newly created instance.
In AWS EC2 console you need to wait while instance state will be changes to running and all Status checks will be finished.
On the image above example instance has this Public DNS name
Instance ID
Please save your Instance ID and Public DNS name to a safe place. We will use them later in this guide.
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 guides:
Note: You will need to use instance Public DNS name (see Step 3.7) and the key file (see Step 3.4)
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 Instance ID (see Step 3.7). In this example:
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.
How can I enable free trial?
Customer may still use ThingsBoard Professional Edition Live Demo for that. 30 days of seamless experience and the newest features, except white-labeling, from the latest source code!
Note: Live Demo is a shared environment with hardware and software limitations.
It is introduced to host multiple trial tenants on the same server instance(s).
What is the Total Cost of Ownership (TCO) for my TB PE instance?
The typical total cost of ownership consists of:
Example A: The price for ThingsBoard PE instance with Maker subscription plan based on t2.micro with 20 GB disk will cost approximately $20.5 per month:
Example B: The price for ThingsBoard PE instance with Prototype subscription plan based on t2.medium with 100 GB disk will cost approximately $142.872 per month:
All prices are in USD.
How to connect to my new ThingsBoard PE instance using SSH?
See official documentation page for more details.
How to connect to my new ThingsBoard PE instance using PuTTY?
See official documentation page for more details.
How to enable HTTPS?
How do I configure my TB PE instance?
See official documentation page for more details.
How do I get software updates for my TB PE instance?
You will receive an email notification about new software versions once it becomes available.
This email notification will contain a link to official documentation page with the upgrade instructions.
How do I backup my database?
Depending on your instance type and configuration, ThingsBoard may store data in SQL or NoSQL databases.
ThingsBoard may also store data using hybrid database mode.
Please review architecture docs for more info on available database types.
Once you figure out the database type(s) you are using in your instance, you can review official PostgreSQL
or Cassandra documentation.
There is also planty of docs and tools in the web how you can backup and restore your DB.
How do I upgrade my instance type?
See official License Server documentation page for more details.
Where is my ThingsBoard instance logs?
ThingsBoard logs are stored in the /var/log/thingsboard folder.
See configuration page to find out how to configure logging levels.
How do I get professional support?
Please review ThingsBoard professional support plans and contact us.
Getting started guides - These guides provide quick overview of main ThingsBoard features. Designed to be completed in 15-30 minutes.
Connect your device - Learn how to connect devices based on your connectivity technology or solution.
Data visualization - These guides contain instructions how to configure complex ThingsBoard dashboards.
Data processing & actions - Learn how to use ThingsBoard Rule Engine.
IoT Data analytics - Learn how to use rule engine to perform basic analytics tasks.
Hardware samples - Learn how to connect various hardware platforms to ThingsBoard.
Advanced features - Learn about advanced ThingsBoard features.
Contribution and Development - Learn about contribution and development in ThingsBoard.