Forem Creators and Builders 🌱

Discussion on: Changing your Forem Postgres database for an RDS Postgres Server

Collapse
 
jdoss profile image
Joe Doss

No major headaches with this setup Andrew. We actually use RDS too with Forem Cloud.

One thing that might be easier than doing all of these manual edits to all of the required files and dumping/importing the DB to RDS, would be to set your RDS username, password and host in the inventory here github.com/forem/selfhost/blob/mai... before you launch the server with Ansible.

Just make sure your FCOS EC2 can access the RDS correctly and when it comes online, it should connect to PostgreSQL and bootstrap the database.

You can do this with Redis as well. Just point github.com/forem/selfhost/blob/mai... at your AWS Elasticache end points in your Ansible Inventory before you launch your Forem. It will configure everything to use that instead of the local Redis container. Just make sure to stop Redis via SSH.