What database and storage options should I use for Langfuse in production?

Last updated: September 12, 2025

Context

When setting up Langfuse in a production environment using Porter's add-ons, users need to understand which database and storage solutions are recommended for optimal performance and reliability.

Answer

For production deployments of Langfuse using Porter's add-ons, here are the recommended configurations:

Database Requirements:

  • Use the RDS (Relational Database Service) add-on for your primary database

  • The Managed Redis add-on should not be used for production environments as it is only suitable for development purposes

Storage Requirements:

  • An S3 bucket is required for Langfuse

  • Currently, the S3 bucket must be created manually outside of the Porter add-ons system

While Langfuse can be deployed using their official Terraform AWS module, you can migrate your infrastructure to be managed through Porter's add-on functionality, with the exception of the S3 bucket which needs to be managed separately.