๐ก๏ธ Google Dataproc Cluster is not encrypted using Customer-Managed Encryption Key๐ข
- Contextual name: ๐ก๏ธ Cluster is not encrypted using Customer-Managed Encryption Key๐ข
- ID:
/ce/ca/google/dataproc/cluster-encryption - Tags:
- ๐ข Policy with categories
- ๐ข Policy with type
- ๐ข Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicโ
- ๐ง prod.logic.yaml๐ข
Similar Policiesโ
- Cloud Conformity: Enable Dataproc Cluster Encryption with Customer-Managed Keys
Descriptionโ
Descriptionโ
When you use Dataproc, cluster and job data is stored on Persistent Disks (PDs) associated with the Compute Engine VMs in your cluster and in a Cloud Storage staging bucket. This PD and bucket data is encrypted using a Google-generated data encryption key (DEK) and key encryption key (KEK). The CMEK feature allows you to create, use, and revoke the key encryption key (KEK). Google still controls the data encryption key (DEK).
Rationaleโ
Cloud services offer the ability to protect data related to those services using encryption keys managed by the customer within Cloud KMS. These encryption keys are called customer-managed encryption keys (CMEK). When you protect data in Google Cloud services with CMEK, the CMEK key is within your control.
Impactโ
Using Customer Managed Keys involves additional overhead in maintenance by administrators.
Auditโ
From Google Cloud Consoleโ
- Login to the GCP Console and navigate to the Dataproc Cluster page by visiting https://console.cloud.google.com/dataproc/clusters.
... see more
Remediationโ
Remediationโ
From Google Cloud Consoleโ
Login to the GCP Console and navigate to the Dataproc Cluster page by visiting https://console.cloud.google.com/dataproc/clusters.
Select the project from the projects dropdown list.
On the
Dataproc Clusterpage, click on theCreate Clusterto create a new cluster with Customer managed encryption keys.On
Create a clusterpage, perform below steps:โข Inside
Set up clustersection perform below steps:o In the `Name` textbox, provide a name for your cluster.
o From `Location` select the location in which you want to deploy a cluster.
o Configure other configurations as per your requirements.โข Inside
Configure NodesandCustomize clustersection configure the settings as per your requirements.โข Inside
Manage securitysection, perform below steps:o From `Encryption`, select `Customer-managed key`.
o Select a customer-managed key from dropdown list.
o Ensure that the selected KMS Key have Cloud KMS CryptoKey Encrypter/Decrypter role assign to Dataproc Cluster service account ("serviceAccount:service-<project_number>@compute-system.iam.gserviceaccount.com").... see more