# etcd3 multi-node cluster Here's how to deploy etcd cluster with systemd. ## Set up data directory etcd needs data directory on host machine. Configure the data directory accessible to systemd as: ``` sudo mkdir -p /var/lib/etcd sudo chown -R root:$(whoami) /var/lib/etcd sudo chmod -R a+rw /var/lib/etcd ``` ## Write systemd service file In each machine, write etcd systemd service files: ``` cat > /tmp/my-etcd-1.service < /tmp/my-etcd-2.service < /tmp/my-etcd-3.service <