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.

5 Likes

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.

3 Likes

@yavor_atanasov

I finished writing the tutorial. Here are the links.

Discourse Meta Thread: https://meta.discourse.org/t/set-up-discourse-on-amazon-aws/14853

Blog Post: http://0ak.org/how-to-setup-discourse-on-amazon-aws/

3 Likes

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

Thanks

@aaronsmulktis did you get this sorted out?

Hi @nahtnam ! I’m getting 404 on both pages. Were they deleted?