Hello friends,
In this article, we'll set up a high available secure etcd cluster and then examine backup restore operations.
Its name is usually always mentioned together with Kubernetes, but etcd is actually an independent tool. In other words, we don't need Kuberntes to install etcd or to use it in our projects. There are also SDKs for many programming languages . If you need a persistent key-value database, you can easily use it.
Our setup will be as follows.
Setting Up the Vagrant Lab Environment with Virtualbox
After installing VirtualBox and then Vagrant on our machine, we create a file named Vagrantfile in a folder we opened on our computer and copy the lines below into it.
# -*- mode: ruby -*- # vi: set ft=ruby :
# if you want to install centos, it's enough to write generic/centos8 instead of generic/ubuntu2004
Vagrant.configure("2") do |config|
# node1 config.vm.define "node1" do |node1| node1.vm.box = "generic/ubuntu2004" node1.vm.hostname="node1" node1.vm.network "private_network", ip:…