I am running preemptable instance on Google Cloud. To keep it up, I am using instance group that spawns this instance from an instance template once it gets killed. I want to run Mongo on this instance (I understand that it is a bad idea, it is good enough for me) so I need to add a persistent disk to the instance.
When I add a disk to the instance template, the mode
radio button is greyed out and set on read-only
. There is a warning stating that I can change mode
only when manually spawn an instance from a template. It does not help me since I need the instance group to automatically spawn the new instances with a writable disk. How can I do it?