Skip to content
Stand with Ukraine flag

Self-hosted setup using AWS EC2

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

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
5683UDPCoAP protocol

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