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
- Log in to your Google account.
- Go directly to the product page: Umami: Privacy-Focused Open Source Web Analytics on GCP Marketplace
- You can also browse all Meetrix products at the Meetrix Solutions Page.
- You will see the following product listing page. Click Get started.
Step 2: Accept the Agreement
- Select your GCP project from the project selector at the top.
- Tick the terms and agreements checkbox.
- Click AGREE.
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.
Trial note
Configure Your Umami Deployment on GCP
You will see the deployment configuration form. Fill in the fields across the following sections:
General
- Deployment name: A unique name for this deployment.
- Deployment Service Account: Use an existing account that has the
roles/config.agent,roles/compute.adminandroles/iam.serviceAccountUserroles, 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
defaultunless 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.
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.
Click Deploy and wait a few minutes for the deployment to complete.
Point DNS to Your Umami Server
Step 1: Get the External IP
- Once deployment is complete, click the VM instance resource name in the deployment details.
- Copy the External IP from the Network interfaces section.
Step 2: Create a DNS A Record
- Go to your DNS provider.
- Add an A record pointing your Umami domain (e.g.
umami.yourdomain.com) to the copied external IP. - Wait for DNS propagation before proceeding (typically a few minutes to 1 hour).
DNS must propagate first
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.
502 Bad Gateway Error?
After login you land on the Websites page, which stays empty until you add your first site.
Admin account
Add Your First Website
- On the Websites page, click Add website.
- Enter a Name (usually the site's domain) and the site's Domain, then click Save.
- Click Edit on the new website and open its Tracking code section.
- 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
- Go to the VM instance page in the GCP console.
- Click SSH to open a browser-based terminal and authorize access.
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
Delete the Deployment
To fully remove the deployment and stop all billing:
- Go to Solution deployments in the GCP console.
- Find your Umami deployment.
- 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