Automate creating a VM Instance and a Cluster using Ansible in GCloud


Ansible is an open-source automation tool. In this article, we will show how we can create a VM instance and a Kubernetes Cluster in Google Cloud using Ansible.


1.Create a Google Cloud Platform Project.

2. For Ansible to create Compute Engine instances, you’ll need a Service Account. Make sure to create a new JSON formatted private key file for this Service Account. (note the Email address of…