# Installation on AWS using RDS

**URL:** https://meta.discourse.org/t/installation-on-aws-using-rds/14548
**Category:** Self-hosting
**Tags:** hosting
**Created:** [April 7, 2014, 7:02pm UTC](https://meta.discourse.org/t/installation-on-aws-using-rds/14548 "2014-04-07T19:02:20Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![yavor\_atanasov](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yavor_atanasov/32/32479_2.png) [@yavor\_atanasov](https://meta.discourse.org/u/yavor_atanasov)
#### Post date: [April 7, 2014, 7:02pm UTC](https://meta.discourse.org/t/installation-on-aws-using-rds/14548/1 "2014-04-07T19:02:21Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![nahtnam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nahtnam/32/122073_2.png) [@nahtnam](https://meta.discourse.org/u/nahtnam)
#### Post date: [April 15, 2014, 12:40am UTC](https://meta.discourse.org/t/installation-on-aws-using-rds/14548/2 "2014-04-15T00:40:17Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![nahtnam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nahtnam/32/122073_2.png) [@nahtnam](https://meta.discourse.org/u/nahtnam)
#### Post date: [April 15, 2014, 3:03am UTC](https://meta.discourse.org/t/installation-on-aws-using-rds/14548/3 "2014-04-15T03:03:12Z")

</div>

@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.

---

<div class="post-metadata">

### Author: ![nahtnam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nahtnam/32/122073_2.png) [@nahtnam](https://meta.discourse.org/u/nahtnam)
#### Post date: [April 19, 2014, 8:58pm UTC](https://meta.discourse.org/t/installation-on-aws-using-rds/14548/4 "2014-04-19T20:58:19Z")

</div>

@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](https://meta.discourse.org/t/set-up-discourse-on-amazon-aws/14853)  
  
Blog Post: [Gyges 404 page](http://0ak.org/how-to-setup-discourse-on-amazon-aws/)

---

<div class="post-metadata">

### Author: ![aaronsmulktis](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aaronsmulktis/32/86172_2.png) [@aaronsmulktis](https://meta.discourse.org/u/aaronsmulktis)
#### Post date: [January 2, 2017, 10:30pm UTC](https://meta.discourse.org/t/installation-on-aws-using-rds/14548/7 "2017-01-02T22:30:08Z")

</div>

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

Thanks

---

<div class="post-metadata">

### Author: ![davedogs](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@davedogs](https://meta.discourse.org/u/davedogs)
#### Post date: [March 6, 2018, 6:37pm UTC](https://meta.discourse.org/t/installation-on-aws-using-rds/14548/8 "2018-03-06T18:37:52Z")

</div>

@aaronsmulktis did you get this sorted out?

---

<div class="post-metadata">

### Author: ![gemathus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gemathus/32/253709_2.png) [@gemathus](https://meta.discourse.org/u/gemathus)
#### Post date: [April 11, 2022, 3:19pm UTC](https://meta.discourse.org/t/installation-on-aws-using-rds/14548/9 "2022-04-11T15:19:52Z")

</div>

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