Installation on AWS using RDS

Hey guys,

I’ve been looking at different topics here and your docs on github, but I can’t seem to find any details on running Discourse on AWS using RDS. I can see you have a “recommended” and pretty straight forward way of running Discourse with Docker and there are community AMIs as well. I am not particularly worried about how the application itself will be running, whether in a container of some sort (docker) or directly on the host. I am more worried about resilience and scalability - I’d like to run the app on stateless EC2 instances within an Autoscaling group and persisting in RDS (as PostgreSQL is supported now). Persisting on locally running PostgreSQL is flakey as instances come and go (we have Chaos Monkey killing them at random as well) and it does not scale.

Do you have an updated view or recommendation on how to go about installing Discourse on AWS using RDS?

Obviously, if there is not an answer to this, I will contribute here as part of my installation journey to achieve the setup we require.


I am trying it out as well. I am using RDS for postgres, ec2 for the ruby on rails, and elasticache for redis. It might or might not work. If it does, I will be sure to type up a tutorial for others to use.

@yavor_atanasov I am not a pro at scalability and performance, but I did get the installation working with EC2, RDS, and ElastiCache. I will write up a tutorial after I finish setting up my new blog, but if you would like, you can PM me and I can show you how to do it.



I finished writing the tutorial. Here are the links.

Discourse Meta Thread:

Blog Post:


I am still trying to get this working as well. Any help would be greatly appreciated!


@aaronsmulktis did you get this sorted out?