LoginSignup
0
0

More than 5 years have passed since last update.

[terraform]俺でもわかるElatiCache Redis Clusterの作成を寺で実現するアレ

Posted at

俺です。

3shards 9nodesなRedisはコレでOK

see: https://www.terraform.io/docs/providers/aws/r/elasticache_replication_group.html

resource "aws_elasticache_replication_group" "sample" {

..省略..

    cluster_mode {
        replicas_per_node_group = 2 # ←ココいじるとdestroy -> create
        num_node_groups         = 3 # ←ココいじるとonline resync
    }
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0