Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 883 Bytes

File metadata and controls

49 lines (35 loc) · 883 Bytes

etcd Cluster @AWS EC2

logo

Objectives

  • Provision etcd cluster

Prerequisite

  • terraform

Architecture diagram

diagram

How to build

$ terraform init
$ terraform plan
$ terraform apply

Test with bastion instance

Test etcd instance via bastion instance

$ ssh -A -i agd-etcd.pem -J <BASTION-USER>@<BASTION-PUBLIC-IP> <ETCD-USER>@<ETCD-PRIVATE-IP>

Test etcd cluster at bastion instance

$  curl -X POST <ALB-URL>:2379/v3/cluster/member/list

How to destroy

$ terraform destroy

TO-DO

  • Certification
  • gRPC Load balancer

Reference