{"repo":"drizzle-team/fastabase","free":true,"listed":false,"github":"https://github.com/drizzle-team/fastabase","clone":"git clone https://github.com/drizzle-team/fastabase.git","description":"A solution to self-host Supabase on AWS and use PlanetScale Postgres as the database provider.","language":"TypeScript","stars":195,"topics":["aws","planetscale","postgres","pulumi","sst","supabase"],"license":"MIT","category":"databases-storage","readme_excerpt":"Fastabase Fastabase is a solution to self-host Supabase on AWS and use PlanetScale Postgres as the database provider. Overview Fastabase is built using several components: - SST to orchestrate the deployment to AWS - OpenNext to deploy Supabase Studio as a serverless component - Supabase components like Storage, Auth, etc. Architecture - Most of the Supabase components are deployed as Docker containers to ECS Fargate - Entrypoint for Supabase API is an Application Load Balancer behind a CloudFront distribution - Amazon SES SMTP servers are used for sending emails - Supabase Studio is deployed using OpenNext - Studio is protected by user/password auth via a CloudFront function Prerequisites 1. Install Node.js 22 and pnpm 2. PlanetScale: 1. Go to Cluster configuration - Extensions and enable pg stat statements and pg cron extensions. 2. Go to Cluster configuration - Parameters and set max client conn to at least 50 . Deployment 1. Clone this repository and cd into it. 2. Init Git submodules: 3. Create a config.yaml configuration file: 4. Fill in the values in config.yaml . 5. Install the dependencies: 6. Set up the AWS credentials: [!TIP] To learn how to set up the AWS credentials in your terminal, please refer to the AWS documentation. 7. Run the deployment: [!WARNING] SST deploys resources to a certain stage. This allows you to deploy multiple copies of your app in the same account. By default, the stage name is set to the username on your local machine. You can specify a dif","default_branch":null,"files":null,"tree":[],"storefront":"/r/drizzle-team","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/drizzle-team/fastabase/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}