Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upaws_elasticache_cluster does not allow creation of multi-AZ Redis #4946
Comments
radeksimko
added
enhancement
provider/aws
labels
Feb 2, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
sharmaanshul2102
Feb 12, 2016
Contributor
@rkulagowski with redis it must belong to replication_group we can't add multi-az to redis by setting az-parameter to true
:replication_group_id (String) — The ID of the replication group to which this cache cluster should belong. If this parameter is specified, the cache cluster will be added to the specified replication group as a read replica; otherwise, the cache cluster will be a standalone primary that is not part of any replication group.
If the specified replication group is Multi-AZ enabled and the availability zone is not specified, the cache cluster will be created in availability zones that provide the best spread of read replicas across availability zones.
Note: This parameter is only valid if the Engine parameter is redis.
|
@rkulagowski with redis it must belong to replication_group we can't add multi-az to redis by setting az-parameter to true
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
rkulagowski
Feb 16, 2016
Contributor
OK, but the replication group that you're discussing still doesn't appear to have any support in aws_elasticache_cluster
Or am I misunderstanding something? Is it possible to create a Redis cluster in multiple AZs yet?
|
OK, but the replication group that you're discussing still doesn't appear to have any support in aws_elasticache_cluster Or am I misunderstanding something? Is it possible to create a Redis cluster in multiple AZs yet? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
sharmaanshul2102
Feb 18, 2016
Contributor
Yes it's possible to have multi-az redis. I don't think terraform supports as of now. But i will try to add it on this weekend @rkulagowski
|
Yes it's possible to have multi-az redis. I don't think terraform supports as of now. But i will try to add it on this weekend @rkulagowski |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Moeser
Mar 25, 2016
I'm running into this same problem. We're trying to create a fault tolerant redis elasticache cluster through terraform, but replication_group isn't supported. Terraform supports adding a single node redis cluster, but can you really call it a cluster at that point?
Moeser
commented
Mar 25, 2016
|
I'm running into this same problem. We're trying to create a fault tolerant redis elasticache cluster through terraform, but replication_group isn't supported. Terraform supports adding a single node redis cluster, but can you really call it a cluster at that point? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
guillermo
commented
Apr 6, 2016
|
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
ajlanghorn
Apr 21, 2016
Contributor
This would be an awesome improvement to Elasticache support in Terraform :)
|
This would be an awesome improvement to Elasticache support in Terraform :) |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
boxrick
commented
May 6, 2016
|
This is a real showstopper and again would be awesome if it could be added! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
davidfic
commented
May 10, 2016
|
|
boxrick
referenced this issue
May 23, 2016
Closed
aws_cloudformation_stack output values broken? #6602
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mbravorus
Jun 8, 2016
really missing multiaz elasticache redis cluster support, adding my voice here
mbravorus
commented
Jun 8, 2016
|
really missing multiaz elasticache redis cluster support, adding my voice here |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
simonrondelez
commented
Jun 9, 2016
|
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
erkolson
commented
Jun 10, 2016
|
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
AndrewFarley
commented
Jul 21, 2016
|
+1 still not possible in terraform |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mponti
commented
Jul 22, 2016
|
Could definitely use this! |
stack72
referenced this issue
Jul 27, 2016
Closed
Rollup issue for AWS ElastiCache Replication Groups #7833
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
stack72
Jul 27, 2016
Contributor
Closing this as a duplicate of #4361
I am going to track the progress on this in that ticket going forward.
|
Closing this as a duplicate of #4361 I am going to track the progress on this in that ticket going forward. |
stack72
closed this
Jul 27, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
agomezvidal
Feb 22, 2017
Hi,
It is feasible to configure " Multi-AZ enabled read abd write redis cluster"? At this moment looks it is not possible via terraform. Can you provide some feedback?
Thanks in advance
agomezvidal
commented
Feb 22, 2017
|
Hi,
Thanks in advance |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mbravorus
Feb 22, 2017
@agomezvidal for 0.8.7, according to https://www.terraform.io/docs/providers/aws/r/elasticache_cluster.html it appears that MultiAZ is possible only for memcached clusters so far. So, we are waiting for implementation of the same for Redis.
mbravorus
commented
Feb 22, 2017
|
@agomezvidal for 0.8.7, according to https://www.terraform.io/docs/providers/aws/r/elasticache_cluster.html it appears that MultiAZ is possible only for memcached clusters so far. So, we are waiting for implementation of the same for Redis. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
igaskin-gpsw
Mar 17, 2017
@agomezvidal @mbravorus MultiAZ is supported with Redis by using elasticache-replication-group. Support for it was added in #8275.
Check out the docs: https://www.terraform.io/docs/providers/aws/r/elasticache_replication_group.html
igaskin-gpsw
commented
Mar 17, 2017
|
@agomezvidal @mbravorus MultiAZ is supported with Redis by using Check out the docs: https://www.terraform.io/docs/providers/aws/r/elasticache_replication_group.html |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jasonkuehl
commented
Jun 5, 2018
•
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
bflad
Jun 6, 2018
Contributor
@jasonkuehl AWS has some very confusing terminology between the console and API. Terraform implements the API naming as its generally more consistent longterm and translates more easily between the CLI, CloudFormation, and other AWS SDKs.
Its only possible to create a single Redis node with the aws_elasticache_cluster resource. The naming is unfortunate as "cluster" in the API only refers to singlular Redis nodes but supports multiple Memcached nodes in multi-AZ. The aws_elasticache_replication_group resource ("replication group" in the API) is what provides multi-AZ Redis support by enabling multiple Redis "clusters" (again, singular nodes) to talk to each other.
|
@jasonkuehl AWS has some very confusing terminology between the console and API. Terraform implements the API naming as its generally more consistent longterm and translates more easily between the CLI, CloudFormation, and other AWS SDKs. Its only possible to create a single Redis node with the |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jasonkuehl
Jun 7, 2018
@bflad AH ok. Im going to test this out right away. Thanks for the reply!
Jason.
jasonkuehl
commented
Jun 7, 2018
|
@bflad AH ok. Im going to test this out right away. Thanks for the reply! Jason. |
rkulagowski commentedFeb 1, 2016
Per the documentation at https://www.terraform.io/docs/providers/aws/r/elasticache_cluster.html
the multi-az option is only available for Memcache. AWS allows for multi-AZ Redis:
https://aws.amazon.com/blogs/aws/elasticache-redis-multi-az/