Installation on AWS using RDS

AI-generated summary

Installation on AWS using RDS

The discussion revolves around installing Discourse on AWS using RDS for PostgreSQL. yavor_atanasov initiated the topic, seeking recommendations on achieving resilience and scalability with stateless EC2 instances and RDS persistence.

nahtnam shared their experience of using RDS for PostgreSQL, EC2 for Ruby on Rails, and ElastiCache for Redis. After successfully installing Discourse with this setup, nahtnam offered to provide guidance to yavor_atanasov and later shared a tutorial nahtnam on the setup, including links to a Discourse Meta Thread and a blog post.

However, gemathus reported that the links provided by nahtnam are no longer accessible, resulting in a 404 error. Other users, such as aaronsmulktis and davedogs, also sought help with the installation, but a solution has not been confirmed.

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.

@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: Gyges 404 page

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

Thanks

@aaronsmulktis did you get this sorted out?

Ciao @nahtnam! Ricevo 404 su entrambe le pagine. Sono state eliminate?