Does anybody have a working example of running phoenix with a postgres in terraform?
There is no specific example of running Phoenix with PostgreSQL using Terraform in the provided data sources. However, you can configure Phoenix to use PostgreSQL by setting the PHOENIX_SQL_DATABASE_URL environment variable to your PostgreSQL instance URL, as mentioned in the Persistence documentation. Would you like more details on setting up Phoenix with PostgreSQL, or guidance on how to integrate this with Terraform?Sources:
- Persistence documentation
💡 Hint: Mention RunLLM in the thread for followups.
Hey Brad, we don't have a terraform example but you can find k8s example here. https://github.com/Arize-ai/phoenix/tree/main/kustomize
FYI, we build our own container top of the upstream container that remaps environment variables to accept the database parameters individually. That way we can feed in the password from Secrets Manager. Also, we run a bit larger DB than I originally thought we needed (db.t4g.xlarge) because the tracing UI was maxing out the smaller dbs.
I'm not familiar with AWS RDP. We are using RDS though 👍🏻
