Welcome to the Meetrix Umami developer guide for Google Cloud Platform! Umami is an open-source, privacy-focused web analytics platform. It shows page views, visitors, referrers and custom events on one clean dashboard, without cookies and without sending your visitors' data to a third party. The Meetrix GCP image runs Umami and its PostgreSQL database on Ubuntu 26.04 behind an Nginx reverse proxy with automated SSL, so your analytics database lives in your own GCP project from the first visit it records.

This guide walks you through finding the product on GCP Marketplace, configuring the deployment, pointing DNS, logging in for the first time, adding the tracking code to your website, and managing the server. For what the image includes and how Umami compares with Google Analytics, see the Umami store page, and our Umami on AWS Marketplace article weighs self-hosting against Umami Cloud. Umami tells you how people use your websites; if you also want dashboards over your own business data on the same cloud, the Metabase on GCP developer guide sets up a BI server next to it.

Prerequisites

Before you begin, make sure you have the following:

  • Basic Google Cloud Platform knowledge.
  • An active Google account with a GCP project and billing enabled.
  • A domain name you can manage DNS records for.

Launch Umami from GCP Marketplace

Step 1: Find the Product

  1. Log in to your Google account.
  2. Go directly to the product page: Umami: Privacy-Focused Open Source Web Analytics on GCP Marketplace
  3. You can also browse all Meetrix products at the Meetrix Solutions Page.
  4. You will see the following product listing page. Click Get started.
Umami: Privacy-Focused Open Source Web Analytics listing on GCP Marketplace by Meetrix Pte Ltd, showing the 5-day trial badge and the Get started button

Step 2: Accept the Agreement

  1. Select your GCP project from the project selector at the top.
  2. Tick the terms and agreements checkbox.
  3. Click AGREE.
GCP Marketplace agreements screen with the project selector, the terms checkbox ticked, and the AGREE button

Free Trial

This product includes a 5-day free trial with up to USD 50.00 in licence fee credits. To activate it, tick I accept the solution trial Terms and Conditions at the bottom of the deployment form before you click Deploy.

Checkbox to accept the Umami solution trial Terms and Conditions on GCP

Trial note

Infrastructure charges (VM, disk) still apply during the trial. Only the Meetrix licence fee is credited. You can cancel the trial at any time by deleting the deployment.

Configure Your Umami Deployment on GCP

You will see the deployment configuration form. Fill in the fields across the following sections:

New Umami Analytics deployment form on GCP showing the deployment name umami-1, an existing deployment service account, the zone us-central1-a, the e2-small machine type, and the product trial terms

General

  • Deployment name: A unique name for this deployment.
  • Deployment Service Account: Use an existing account that has the roles/config.agent, roles/compute.admin and roles/iam.serviceAccountUser roles, or create a new one.
  • Zone: Select the GCP zone closest to most of your website visitors, so the tracking script loads quickly for them.
  • Machine type: The default e2-small (2 vCPU, 2 GB memory) handles small to medium sites. Go larger if you track several busy websites.

Networking

  • Network / Subnetwork: Leave as default unless you have a custom VPC.
  • External IP: Leave as Ephemeral. Both the dashboard and the tracking script on your websites need to reach the server from the internet.
  • Allow SSH (TCP port 22): Enabled by default. Restrict the source IP range if you want to limit SSH access to specific IPs.
Umami GCP networking settings with the default network and subnetwork, an Ephemeral external IP, and SSH allowed from 0.0.0.0/0

Application Settings

  • Domain name: The domain for your Umami server (e.g. umami.yourdomain.com). Point your DNS A record to the instance IP before or shortly after deploying.
  • Admin email: Used for SSL certificate registration via Let's Encrypt.
  • Admin password: The password for the Umami admin account you log in with. Store it securely.
Lower half of the Umami GCP deployment form with Ubuntu 26.04 as the operating system, the firewall and API access settings, and the Application Settings fields for domain name, admin email and admin password, above the trial checkbox and the Deploy button

Click Deploy and wait a few minutes for the deployment to complete.

Point DNS to Your Umami Server

Step 1: Get the External IP

  1. Once deployment is complete, click the VM instance resource name in the deployment details.
  2. Copy the External IP from the Network interfaces section.
Network interfaces section of the GCP VM instance showing the internal IP and the ephemeral external IP address

Step 2: Create a DNS A Record

  1. Go to your DNS provider.
  2. Add an A record pointing your Umami domain (e.g. umami.yourdomain.com) to the copied external IP.
  3. Wait for DNS propagation before proceeding (typically a few minutes to 1 hour).

DNS must propagate first

The image issues SSL via Let's Encrypt, which verifies domain ownership over HTTP. Make sure your DNS A record points to the server IP and has propagated before the certificate request runs.

Access Umami

Once DNS has propagated and SSL has been issued, visit your domain. On the login screen, enter the username admin and the Admin password you set in the Application Settings, then click Login.

Umami login page with Username and Password fields, served on a custom domain

502 Bad Gateway Error?

If you see a "502 Bad Gateway" error, Umami is still starting up. Wait about 5 minutes and refresh the page.

After login you land on the Websites page, which stays empty until you add your first site.

Umami Websites page logged in as admin, showing no data and the Add website button

Admin account

The admin account can see and change every website you track. If other people need the dashboard, create a separate user for each of them from the settings area rather than sharing the admin password.

Add Your First Website

  1. On the Websites page, click Add website.
  2. Enter a Name (usually the site's domain) and the site's Domain, then click Save.
  3. Click Edit on the new website and open its Tracking code section.
  4. Copy the snippet and paste it into the <head> of every page you want to track.

The snippet looks like this, with your own Umami domain and website ID filled in:

<script defer src="https://<your Umami domain>/script.js" data-website-id="<your website ID>"></script>

Visit your site once, and the visit appears on the Umami dashboard within a few seconds. The official guides to adding a website and collecting data cover framework-specific setups and custom event tracking.

Generate an SSL Certificate for Umami Manually

Umami automatically tries to issue SSL for the domain name you provided during deployment. If that fails, for example because DNS had not propagated yet, generate it manually.

Step 1: SSH into the Server

  1. Go to the VM instance page in the GCP console.
  2. Click SSH to open a browser-based terminal and authorize access.
GCP VM instance details page with the SSH button at the top

Step 2: Run the Certificate Script

The image includes a pre-configured certificate script. Run it with:

sudo bash /root/certificate_generate_standalone.sh

This script runs certbot using the domain name and admin email you provided during deployment. Once the certificate is in place, make sure the tracking snippet on your websites loads script.js over https. Browsers block an http script on an https page, so tracking silently stops otherwise.

Check Umami Server Logs

SSH into the server as shown above. List the running containers, then view the logs of a container using the first few characters of its container ID. Umami runs alongside a PostgreSQL database, so check both containers if the dashboard does not load:

sudo docker ps

sudo docker logs <container-id-prefix>

Nginx sits in front of Umami and terminates SSL. If the dashboard does not load at all, check it too:

sudo systemctl status nginx

Manage Your Umami Deployment on GCP

Shut Down the VM

To stop the VM without deleting it, go to Compute Engine → VM Instances in the GCP console, select your instance, and click Stop. You can restart it later by clicking Start/Resume.

Note

While the VM is stopped, the tracking script on your websites cannot reach Umami, so no visits are recorded for that period. Your websites themselves keep working normally. Stopping the VM also releases its ephemeral external IP, and it may come back with a different one, which breaks your DNS record. To keep the same address, promote it to a static external IP first.

Delete the Deployment

To fully remove the deployment and stop all billing:

  1. Go to Solution deployments in the GCP console.
  2. Find your Umami deployment.
  3. Click Delete to remove all associated resources.

Upgrades

When there is an upgrade, we update the product with a newer version. You can check the product version in GCP Marketplace. If a newer version is available, back up your Umami database, delete the current deployment, and launch the product again using the newer version.

Troubleshoot Umami on GCP

Insufficient Capacity Error

If you see an error stating there is not sufficient capacity for the selected machine type while deploying, try a different zone or try again later.

502 Bad Gateway

If you see a 502 Bad Gateway error when accessing your domain, Umami is still starting up. Wait 5-10 minutes and try again. If it persists, check the container status and logs as shown above.

No Visits Appear on the Dashboard

If the dashboard loads but no visits appear, open your website with the browser's developer tools and check that script.js loads from your Umami domain over https. Ad blockers and privacy extensions often block analytics scripts, so test from a browser without them.

Storage Full Error

The PostgreSQL database grows with every visit you record, and container images and logs add to it. If the dashboard becomes unresponsive, SSH into the server and run:

df -h

If the root volume is between 90-100%, resize the boot disk from the Compute Engine console, then reboot the instance.

Conclusion

You now have self-hosted Umami running in your own GCP project, with SSL, your own domain, and a visitor database nobody else can read. From here, add the rest of your websites, create a non-admin user for each person who needs the dashboard, and set up custom events for the actions you care about. If the sites you are tracking need a backend for their content, our Directus on GCP developer guide sets up a headless CMS on the same cloud.

Technical Support

If you run into any issues, our support team is here to help. Reach out to us at support@meetrix.io and we will respond within 12 hours.

Frequently Asked Questions

What is Umami?

Umami is an open-source, privacy-focused web analytics platform and a lightweight alternative to Google Analytics. It tracks page views, visitors, referrers, devices and custom events without cookies and without collecting personal data, and all the data stays in your own database.

What are the login details for the Umami dashboard?

Log in with the username admin and the Admin password you set in the Application Settings section of the deployment form. Store the password securely, since the admin account can see and change every website you track.

Which machine type should I choose for Umami on GCP?

The default e2-small (2 vCPU, 2 GB memory) comfortably handles small to medium sites. If you track several busy websites, choose a larger machine type so the PostgreSQL database has more memory to work with.

Do I need a cookie consent banner for Umami?

Umami does not set cookies and does not collect personal data, which is why many sites run it without a consent banner. Whether you need one still depends on the privacy laws that apply to you, so check with your own legal or compliance team.

Is there a free trial?

Yes. The Meetrix Umami listing includes a 5-day free trial with up to USD 50.00 in licence fee credits. Infrastructure charges for the VM and disk still apply during the trial.

How do I upgrade Umami?

When a newer version is available in GCP Marketplace, back up the Umami database, delete the current deployment, and launch the product again with the new version.

How do I get technical support?

Reach out to Meetrix Support at support@meetrix.io for help with the Umami GCP deployment.

Deploy Umami on GCP in Minutes

Launch production-ready, cookie-free Umami analytics on Google Cloud with a pre-configured Meetrix image and keep your visitor data in your own project.

Get Started on GCP Marketplace