본문으로 건너뛰기

Consul Sizing

약 2 분consulsizing

Consul Sizing

https://learn.hashicorp.com/tutorials/consul/reference-architectureopen in new window

Consul은 Server/Client 구조로 구성되며, Client의 경우 자원사용량이 매우 미미하므로 자원산정은 Server를 기준으로 산정

On-prem

SizeCPUMemoryDisk CapacityDisk IODisk Throughput
최소2-4 core8-16 GB RAM100 GB3000+ IOPS75+ MB/s
권장8-16 core32-64 GB RAM100 GB7500+ IOPS250+ MB/s
  • HA 구성을 위해 3대 이상의 홀수 구성

Cloud

ProviderSizeInstance/VM TypesDisk Volume Specs
AWS최소m5.large, m5.xlarge100+GB gp3, 3000 IOPS, 125MB/s
권장m5.2xlarge, m5.4xlarge200+GB gp3, 10000 IOPS, 250MB/s
Azure최소Standard_D2s_v3, Standard_D4s_v31024GB* Premium SSD, 5000 IOPS, 200MB/s
권장Standard_D8s_v3, Standard_D16s_v32048GB* Premium SSD, 7500 IOPS, 200MB/s
GCP최소n2-standard-2, n2-standard-4512GB* pd-balanced, 15000 IOPS, 240MB/s
권장n2-standard-8, n2-standard-161000GB* pd-ssd, 30000 IOPS, 480MB/s
  • HA 구성을 위해 3대 이상 홀수 구성

기본 아키텍처

Recommended architecture diagram
Recommended architecture diagram

Raft 구성 장애 극복을 위한 Non-Voting 서버 구성

Redundancy Zones diagram
Redundancy Zones diagram