Deploy with an agent
Copy agent prompt
Before you start
Connect your AWS account using the Spring Winter quickstart. You need postgreSQL for Metabase application state. Check the upstream deployment instructions and pin a release before you deploy. Source repository.Create and connect the database
- Create a private SQL database with PostgreSQL. If you already have a database for this deployment, verify that the engine and version match the pinned app release. Wait for the database to be ready.
- Open Connect on the database. Use the writer endpoint, port, database name and application credentials. Create the application database and role if needed. Confirm that the application and migration process can reach the private writer.
- Set
MB_DB_TYPE=postgres,MB_DB_HOST,MB_DB_PORT,MB_DB_DBNAME,MB_DB_USERandMB_DB_PASS. Use this connection for Metabase’s own application data. Put secret values in runtime configuration or the migration process’s secret store. - Start Metabase and wait for it to initialize its application database. Add your analytics data sources after setup.
Configure the deployment
- Select a Spring Winter project in the AWS Region you want to use. Use a web server for the HTTP app and configure dependencies before you start it.
- Use metabase/metabase on port 3000 with /api/health.
- Set MB_DB_TYPE=postgres and supply MB_DB_HOST, MB_DB_PORT, MB_DB_DBNAME, MB_DB_USER and MB_DB_PASS.
- The application database stores accounts and dashboards.
- Configure analytics data sources independently with scoped credentials.