Skip to content
Stand with Ukraine flag

Self-hosted setup using AWS EC2

This guide walks you through deploying ThingsBoard Professional Edition on an AWS EC2 instance.

For a pre-configured AMI-based deployment, see AWS Marketplace.

You need admin access to EC2 resources in your AWS account.

Create an EC2 instance using the Amazon user guide. Choose Ubuntu Server 24.04 LTS as the operating system.

Open the following ports in the inbound rules of your instance’s security group:

PortProtocolDescription
22TCPSSH access
80TCPHTTP access
443TCPHTTPS access
1883TCPMQTT protocol
8883TCPMQTT over SSL
7070TCPEdge RPC service
9090TCPRemote Integration service
5683–5688UDPCoAP and LwM2M protocols

Connect to your instance via SSH and follow the Docker installation guide to install and configure ThingsBoard PE.