Skip to content

ETCD

Official Site of ETCD

A distributed, reliable key-value store for the most critical data of a distributed system


Types of data storage

  1. Relational Database (SQL)
  2. Document Store (JSON)
  3. Key Value (etcd)

Install ETCD

https://etcd.io/docs/v3.7/install

Install on Linux

Build etcd from Scratch

git clone -b v3.7.0 https://github.com/etcd-io/etcd.git
cd etcd
./scripts/build.sh
export PATH="$PATH:${PWD}/bin"

Download the binary

For Linux AMD64
read -p "Enter the etcd version: " Version
wget https://github.com/etcd-io/etcd/releases/download/v${Version}/etcd-v${Version}-linux-amd64.tar.gz
For Linux ARM64
read -p "Enter the etcd version: " Version
wget https://github.com/etcd-io/etcd/releases/download/v${Version}/etcd-v${Version}-linux-arm64.tar.gz