Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What happens when a local SSD fails in a Google Cloud Platform compute engine instance?

What happens when one of the multiple local SSDs attached to a compute engine instance has a hardware failure? Specifically:

  1. Is the failure automatically detected by Google Cloud Platform?
  2. Is there a notification, such as by email?
  3. How long does it take for the drive to be replaced?
  4. Is the VM stopped, and restarted after the replacement? Or, is it a hot-swap?
  5. Obviously, the data on that SSD is lost, however, what happens to the data on other SSDs attached to the same Virtual Machine?

Edit: I am aware of the "ephemeral" nature of local SSDs, and plan to replicate my data on multiple machines across different zones in my primary region, and at least one replication to a completely different region. The database I am planning to use is "data-center/rack aware". I am particularly looking for documentation/information about how Google Cloud Platform handles hardware failures in local SSDs.

like image 717
user2101712 Avatar asked Aug 31 '25 10:08

user2101712


1 Answers

You might want to use persistent disks instead, because your use-case might not apply:

As adding local SSDs reads:

Local SSDs are suitable only for temporary storage such as caches, processing space, or low value data. If you store important data in a local SSD device, you must also store that same data in a durable storage option.

like image 167
Martin Zeitler Avatar answered Sep 05 '25 04:09

Martin Zeitler