Platoniq / decidim-install

A step-by-step guide to install Decidim on a production site
https://platoniq.github.io/decidim-install/
GNU Affero General Public License v3.0
54 stars 35 forks source link

Getting charged for Redis use #27

Closed FPoezevara closed 5 years ago

FPoezevara commented 5 years ago

Hi,

I deployed decidim on AWS following this guide : https://github.com/Platoniq/decidim-install/blob/master/decidim-aws.md

Everything is working (except Twitter login, but I didn't investigate), but there is the problem with the Redis use. I am being charged by Amazon, because the T2 Micro Cache node-hour (or partial hour) running Redis under monthly Free Tier is limited to 750 hours and I used 879 extra hours...

Do you know why? How can I avoid being charged please?

Thank you, Best regards.

microstudi commented 5 years ago

You probably have activated Multi A-Z availability. This creates a secondary server for backup and availability but it's not included in the Free Tier. Check in your ElasticCache Managment page for an option like this: image

FPoezevara commented 5 years ago

Hi,

Thank you for your answer. Multi-AZ is actually disabled, but I have 3 nodes : image I think this is why I am getting charged ? Do I need to manually delete the 2nd et 3rd nodes? image Thanks!

microstudi commented 5 years ago

Not sure, please follow the official recommendations: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.html

ismaelbenslimane commented 5 years ago

@FPoezevara I had the same problem, it's when creating redis, you have to be careful to put the node t2-micro and number of replica: 0. By default the node is R4.large which is very expensive and replica : 3. And you can't go back so I need to delete and recreate the redis node.

FPoezevara commented 5 years ago

Hi, Actually I asked aws support, and all you need to do is to delete the replicas. No need to recreate the node ;)