This guide will help you to setup ThingsBoard in GCP VM instance.
You need to have admin access to Compute Engine in your GCP account.
Create EC2 instance (Creating and starting a VM instance) and choose Ubuntu Server 18.04 LTS. We recommend this distribution and OS version for our product.
You need to open TCP 22,80,443,1883 and UDP 5683 ports in inbound rules.
After that, you can start installation from this guide.