I'm sorry for the inconvenience caused by the outdated documentation.
The following instructions will help you configure an etcd cluster using Bitnami VMs:
1- The VMs are preconfigured to run as a single-node etcd, so in order to use them to form a cluster it is necessary to first remove the etcd DB (WARNING: this will remove any previous setting existing in the VM such as authentication, configuration added during runtime and data stored in etcd):
#Stop the Etcd service
$ sudo /opt/bitnami/ctlscript.sh stop
#Create a backup of the data folder
$ sudo cp -rp /opt/bitnami/etcd/data /opt/bitnami/etcd/data_backup
#Remove the content of the data folder (This action is not reversible)
$ sudo rm -rf /opt/bitnami/etcd/data/member
2- Modify Etcd configuration at
/opt/bitnami/etcd/conf/etcd.conf.yml to reflect the following settings:
Replacing NODE_NAME and NODE_IP for every node.
3- Apply the changes to all 3 nodes and restart the service:
$ sudo /opt/bitnami/ctlscript.sh start
Additionally, you can check the cluster was correctly formed by using the following command:
$ etcdctl member list
326d1fe532cae181, started, etcd3, http://x.x.x.x:2380, http://x.x.x.x:2379, false
4a9544f54e638bd2, started, etcd1, http://x.x.x.x:2380, http://x.x.x.x:2379, false
861e674ee2bcfe60, started, etcd2, http://x.x.x.x:2380, http://x.x.x.x:2379, false
And perform a simple test:
#Node 1 introduces key "message"
$ etcdctl put message -- Hello!
#Node 2 retrieves the value for the key "message"
$ etcdctl get message
After this, I'd recommend configuring user authentication to protect your cluster:
$ etcdctl user add root
$ etcdctl user grant-role root root
$ etcdctl auth enable