Creating an isolated cluster - provisioning a cluster and a Bastion host using Ansible
This is the second part of the series on setting up a cluster using Terraform and Ansible. In the first part, we had set up the bare cluster Virtual Machines. The set up included a virtual private network, a bastion server, and a separately configurable cluster of nodes. The nodes are ready but not software or configuration is done so far. In the next step, we will provision all the nodes in our cloud
Setting up a Bastion host and a three-node cluster on Hetzner cloud using Terraform and Ansible
Infrastructure as code has a great benefit - you can make a cluster available in a few minutes. Then, switch the configuration with a few updates to the configuration. If you ever had long hours staring at blinking LEDs while it installed from a stack of CDs, you will know what a relief this is. Terraform makes it possible to declaratively create the cloud infrastructure, supports all major cloud providers, and is easy to learn if you can spare an afternoon.