As with S3-compatible storage, most Fediverse platforms require a PostgreSQL database instance where much of the instance data is stored. Despite the importance of the performance of the database to that of the overall instance, you can save a lot of up-front cost by starting small and cloning to a larger machine as you grow.
We use a Google CloudSQL PostgreSQL instance, selecting the smallest possible machine (
db-f1-micro) and set the storage to
We chose to create a separate database and user for each platform, rather than piling everything into the default