QuestionQ62

VerifiedEnsuring the successful operation of a cloud solution

You have a business-critical workload running on Compute Engine. You want to ensure that the data on the boot disk of this workload is backed up regularly, and you need to be able to restore a backup as quickly as possible in case of a disaster. You also want older backups to be cleaned up automatically to save on cost. Following Google-recommended practices, what should you do?

Explanation

Google Cloud recommends using snapshot schedules for persistent disks (including boot disks) to automate regular backups. A snapshot schedule lets you define the backup frequency (hourly, daily, or weekly), the snapshot retention period, and an automatic deletion policy for older snapshots (autoDeleteAfter), which keeps costs down. Snapshots are incremental and stored regionally or multi-regionally, enabling fast restoration by creating a new disk from the snapshot when disaster recovery is needed. This built-in, managed capability is preferred over custom automation using Cloud Functions, cron jobs, or Cloud Tasks, which require additional development and maintenance and lack native retention management.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!