# Problem setup on AWS: EC2, RDS, ElastiCache

**URL:** <https://meta.discourse.org/t/problem-setup-on-aws-ec2-rds-elasticache/52635>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [November 7, 2016, 7:36pm UTC](https://meta.discourse.org/t/problem-setup-on-aws-ec2-rds-elasticache/52635 "2016-11-07T19:36:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cean](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cean/32/121477_2.png) [@cean](https://meta.discourse.org/u/cean)\
**Post date:** [November 7, 2016, 9:14pm UTC](https://meta.discourse.org/t/problem-setup-on-aws-ec2-rds-elasticache/52635/2 "2016-11-07T21:14:07Z")

</div>

Fixed on my own.

I thought I had no mistakes from AWS side however my Redis was not configured correctly and I had also used _configure_ endpoint in app.yml. Damn, how did I miss that, it should’ve been _primary_ endpoint 😃

I have also added two more lines to app.yml and maybe they were also part of this trick.

> [@cean](#):
>
> ```
> ...
> DISCOURSE_DB_HOST: 'censored_endpoint'
> **DISCOURSE_DB_PORT: 5432**
> DISCOURSE_REDIS_HOST: 'censored_endpoint'
> **DISCOURSE_REDIS_PORT: 6379**...
> 
> ```

---

_[View the full topic](https://meta.discourse.org/t/problem-setup-on-aws-ec2-rds-elasticache/52635)._
