redis cluster
-
이코에코(Eco²) Streams & Scaling for SSE #1: 3-Node Redis Cluster 리소스 프로비저닝이코에코(Eco²)/Event Streams & Scaling 2025. 12. 26. 13:23
Kubernetes 클러스터에 Redis 3노드를 추가하는 인프라 프로비저닝 과정을 다룹니다.목표항목BeforeAfter노드 수1 (k8s-redis)3 (auth, streams, cache)인스턴스t3.medium ×1t3.medium ×1 + t3.small ×2vCPU26메모리4GB8GBPhase 1: Terraform 변경기존 모듈# terraform/main.tf (Before)module "redis" { source = "./modules/ec2" name = "k8s-redis" instance_type = "t3.medium" # ...}3개 모듈로 분리# terraform/main.tf (After)module "redis_auth" { sourc..