Metabase is a data visualization tool for the ordinary person. Metabase was made to be easy to use and master for everyone in your organization regardless of experience. This tutorial assumes you want to deploy Metabase on the cloud not locally.
In this short tutorial, I will go over how to deploy the official Metabase docker image to a Linux VM. The folks at Cloudlyn.com have a unique docker image for Metabase, you can use theirs instead if you wish.
By the way, you don't need technical knowledge to follow this tutorial.
Before we begin, there a few things you might have to do:
- Create and SSH into an instance, you can use GCP, AWS, or Azure. A t2.micro (Amazon free tier eligible) will most likely serve you well if you are a small team.
- Install docker:
(replace $USER with your username)
I wouldn't go over the docker vs directly on VM argument here. You can find articles online if you would like to compare.
Install and Run Metabase Docker Container
To install Metabase using the official image from docker hub, run the command
sudo docker run -d -p 3000:3000 --name metabase metabase/metabase
This simple command will run the docker container and make it available on the internet.
To persist memory even after container restarts, use the command below instead
- Open the firewall, make sure to open the firewall to allow traffic from the internet on port 3000.
Install Metabase in one click:
Alternatively, you can use Cloudlyn, an automation platform for hosting docker to deploy Metabase for free in just one click. Installation takes 1 minute and you are set. No need to manage infrastructures. Click here to get started.
ditData Blog Newsletter
Join the newsletter to receive the latest updates in your inbox.