I have deployed and configured by Bitnami VM through the Google GUI, as when I deploy through a deployment file (.yaml / .jinja) the password is inaccessible so I cannot configure the VM (Load database, etc.). I now want to use this VM as a "master copy" that my instance template can use to create replicas of this Bitnami VM.
I currently have an instance template and auto-scaler but they deploy a fresh bitnami VM, how would I modify my .jinja files to deploy a replica of my custom bitnami VM instead of a fresh VM?
You need to create an instance template this link may help:
https://cloud.google.com/compute/docs/instance-templates/create-instance-templates
Once you have your instance template you need to create a custom image based on your VM deployment, and then reference that image in your .jinja / .yaml deployment file. This link will help you:
https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#bundle_image