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…



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store