Getting Started With Metabase on Scalingo

Metabase is an open source business intelligence tool that allows you to build dashboards and data visualization from your company data, without writing SQL queries.

This tutorial will show you how to deploy a Metabase instance on Scalingo in under 5 minutes.

Deploying Metabase

Planning your Deployment

  • Metabase requires its own database to store its configuration and some metadata. We usually advise to use a Scalingo for PostgreSQL® Starter/Business 512 addon for this purpose.

  • Depending on several factors such as the amount of data stored in your production database, its load, and the complexity of the Metabase queries you want to run, you may consider duplicating your production data to an additional database dedicated for Metabase use. Doing so would prevent Metabase to have a negative impact on your application’s performances. Our documentation should help you with this additional task.

Using our One-Click Deploy Button

Click the One-Click Deploy button below to automatically deploy Metabase with your Scalingo account:

Deploy

Using the Command Line

We published a repository metabase-scalingo on GitHub to help you deploy Metabase on Scalingo. Here are the few steps you will need to follow to deploy Metabase on Scalingo:

  1. Clone our repository:

    git clone https://github.com/Scalingo/metabase-scalingo
    cd metabase-scalingo
    
  2. Create the application on Scalingo (to keep things simple in this tutorial, we will call it my-app):

    scalingo create my-app
    

    Notice that our Command Line automatically detects the git repository, and adds a git remote to Scalingo:

    git remote -v
    
    origin   https://github.com/Scalingo/metabase-scalingo (fetch)
    origin   https://github.com/Scalingo/metabase-scalingo (push)
    scalingo git@ssh.osc-fr1.scalingo.com:my-app.git (fetch)
    scalingo git@ssh.osc-fr1.scalingo.com:my-app.git (push)
    
  3. Create the database:

    scalingo --app my-app addons-add postgresql postgresql-starter-512
    
  4. Everything’s ready, deploy to Scalingo:

    git push scalingo master
    

Updating Metabase

To update your Metabase application to the latest version, you need to redeploy the latest version of the code source.

This can be done via our CLI tool, for example:

scalingo --app my-app deploy https://github.com/Scalingo/metabase-scalingo/archive/refs/heads/master.tar.gz

Suggest edits

Getting Started With Metabase on Scalingo

©2024 Scalingo