GCPRetirement
Compute Engine: customer-supplied encryption keys (CSEKs) shutdown
Shutdown date for customer-supplied encryption keys (CSEKs) in the Compute Engine deprecations table: 16 Jun 2027. Google's CSEK deprecation page gives July 20, 2027 for complete removal and names customer-managed encryption keys (CMEK) as the alternative.
Retires , 16 Jun 2027
What breaks
Using customer-supplied encryption keys (CSEK) to encrypt Persistent Disks, images, machine images, standard and archive snapshots, and instant snapshots in Compute Engine is deprecated. The CSEK on an existing resource cannot be removed and replaced with a CMEK: a copy of the resource has to be created and encrypted with the CMEK. Google's two pages give different dates:
- Compute Engine deprecations table: deprecated June 15, 2026, shutdown date 16 Jun 2027.
- CSEK deprecation page: as of July 20, 2026, a CSEK can no longer be used to encrypt any of these resources, and CSEK is completely removed from Compute Engine on July 20, 2027.
What to do
- Make sure you have at least one Cloud KMS key ring and key. To create them, see Creating key rings and keys.
- Disks: create a standard snapshot of the CSEK-encrypted disk and create a new CMEK-encrypted disk from that snapshot. If the source disk is the boot disk of a running instance, stop the instance. Detach the source disk, attach the new disk, and verify that the new disk works as expected. Replacing the disk often requires stopping the instance.
- Images, standard snapshots and archive snapshots: create a new CMEK-encrypted disk from the image or snapshot, then create an image or snapshot of the new disk and encrypt it with a CMEK.
- Machine images: using REST or the Google Cloud CLI, create a temporary instance from the CSEK-encrypted machine image and specify a Cloud KMS key for each disk. Verify the instance, create a CMEK-encrypted machine image from it, then delete the temporary instance.
- Instant snapshots: create a temporary CSEK-encrypted standard snapshot from the instant snapshot, create a temporary CMEK-encrypted disk from it, create a CMEK-encrypted instant snapshot of that disk, then delete the temporary snapshot and disk.
- Test the migration steps in a non-production environment first, and delete the resources you no longer need afterward. Google's steps are in migrate your CSEK-encrypted Compute Engine resources to use CMEKs.
Replacement
Customer-managed encryption keys (CMEK) in Cloud Key Management Service
Sources
- Official sourcedocs.cloud.google.comOfficial
- Additional sourcedocs.cloud.google.comOfficial
Last checked against the first source in this list on .
Related
- , 31 Aug 2026Compute Engine: Debian 11 image end of supportSource
- The vendor gives a month, not a day., Sep 2026Compute Engine: COS 117 LTS image end of supportSource
- , 15 Sep 2026Compute Engine: NVIDIA P100 GPU shutdownSource
- The vendor gives a month, not a day., Dec 2026Compute Engine: SLES 15 SP4 for SAP image end of supportSource
- The vendor gives a month, not a day., Dec 2026Compute Engine: SLES 15 SP4 image end of supportSource
- , 12 Jan 2027Compute Engine: Windows Server 2016 image end of supportSource
Found an error? Report it
The text on this page is drafted with AI assistance from the vendor's text, checked against the official source and approved by a person before it is published. How items are written
Last checked · Added · Changelog for this item