Infisical High Availability Deployment architecture for Linux
Service | Nodes | Recommended Specs | GCP Instance | AWS Instance |
---|---|---|---|---|
External Load Balancer | 1 | 4 vCPU, 4 GB memory | n1-highcpu-4 | c5n.xlarge |
Internal Load Balancer | 1 | 4 vCPU, 4 GB memory | n1-highcpu-4 | c5n.xlarge |
Etcd Cluster | 3 | 4 vCPU, 4 GB memory | n1-highcpu-4 | c5n.xlarge |
PostgreSQL Cluster | 3 | 2 vCPU, 8 GB memory | n1-standard-2 | m5.large |
Redis + Sentinel | 3+3 | 2 vCPU, 8 GB memory | n1-standard-2 | m5.large |
Infisical Core | 3 | 2 vCPU, 4 GB memory | n1-highcpu-2 | c5.large |
Service | IP Address |
---|---|
External Load Balancer | 52.1.0.1 |
Internal Load Balancer | 52.1.0.2 |
Etcd Node 1 | 52.1.0.3 |
Etcd Node 2 | 52.1.0.4 |
Etcd Node 3 | 52.1.0.5 |
PostgreSQL Node 1 | 52.1.0.6 |
PostgreSQL Node 2 | 52.1.0.7 |
PostgreSQL Node 3 | 52.1.0.8 |
Redis Node 1 | 52.1.0.9 |
Redis Node 2 | 52.1.0.10 |
Redis Node 3 | 52.1.0.11 |
Sentinel Node 1 | 52.1.0.12 |
Sentinel Node 2 | 52.1.0.13 |
Sentinel Node 3 | 52.1.0.14 |
Infisical Core 1 | 52.1.0.15 |
Infisical Core 2 | 52.1.0.16 |
Infisical Core 3 | 52.1.0.17 |
/etc/etcd/etcd.conf
):52.1.0.10
, 52.1.0.11
):52.1.0.12
, 52.1.0.13
, 52.1.0.14
):/etc/infisical/infisical.rb
with the following:
ENCRYPTION_KEY
and AUTH_SECRET
view the following configurations documentation here.
If you are using managed services for either Postgres or Redis, please replace the values of the secrets accordingly.
Lastly, start and verify each node running infisical-core:
http://52.1.0.2:7000/haproxy?stats
sudo infisical-ctl tail
etcdctl cluster-health
patronictl list
redis-cli info replication