Metabase on VPC

July 18, 2025 ยท View on GitHub

This example shows how to deploy a Metabase instance on Serverless Containers that connects to a PostgreSQL database running in a private network. The setup uses Terraform to manage the infrastructure.

Prerequisites

Setup

Deploy the PostgreSQL database and private network:

cd containers/vpc-metabase
terraform init
terraform apply

After, the deployment, you can find the Metabase URL in the output:

terraform output metabase_container_url

That's it! You can now access your Metabase instance at the provided URL ๐ŸŽ‰. Please refer to the official Metabase documentation for more information.