I'm running a VM in the us-central1-a zone with Availability policies configured as follows:
Preemptibility - Off (Recommended) On host maintenance - Migrate VM instance (Recommended) Automatic restart - On (Recommended)
Today around 12 pm UTC-06:00 the VM was migrated. I'm using Dynatrace to monitor it and and at that time the machine raised a problem because it had went down.
In the GCP console the VM is shown as Running, I can ssh into it and my services are running just fine, however I can see that the Dynatrace agent or any of its files was not present in the VM hence the reason it was shown as down.
As the VM is from a dev environment it doesn't have snapshots configured so I wonder what is the process or what is considered when deciding what to include in the migration of the VM that doesn't have a snapshot, is it something random or is GCP taking snapshots on their own for this exact purpose?