Deploying Metabase on Google Cloud Platform (GCP)

GCloud Setup

Make sure you have gcloud setup (developer tools):

gcloud auth login
gcloud auth configure-docker

Deploy Metabase to Google Cloud Registry

Metabase docker images are on Dockerhub here. However, I wanted these in Google Cloud Registry for performance and reliability reasons.

docker pull metabase/metabase:latest
  • hostname — eu.gcr.io
  • projectname — krustysfunhouse
  • Tag — metabase
docker tag metabase/metabase:latest eu.gcr.io/krustysfunhouse/metabase
docker push eu.gcr.io/krustysfunhouse/metabase:latest

Console Login

Then login from gcloud via the console with the following:

gcloud beta compute ssh --zone "europe-west2-c" "metabasereporting" --project "krustysfunhouse"

Setting up Metabase

Metabase runs as a Java app and starts-up on port 3000. If you want to get into installing Nginx or GCP load Balancing that’s a different story.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store