Skip to content
Stand with Ukraine flag

Self-hosted setup using GCP VM instance

This guide walks you through deploying ThingsBoard Community Edition on a GCP VM instance.

You need admin access to Compute Engine in your GCP account.

Create a VM instance using the GCP documentation. Choose Ubuntu Server 24.04 LTS as the operating system.

Open the following ports in the firewall rules for your instance:

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.