Create a Custom Image and Use It for VM Creation
Login to your google account.
Go to Compute Engine and create a virtual machine having a startup script.
Check this link for step-by-step instructions on creating a VM with a startup script
https://gaurisblog.hashnode.dev/create-a-vm-with-a-startu...
gaurisblog.hashnode.dev1 min read