---
title: Confidential Nodes and Computing in GKE
description: "Google announced that Confidential GKE nodes are now available to the public.\nWith Confidential GKE Nodes, you can achieve encryption in-use for data processed inside your GKE cluster without significant performance degradation.\nBefore going deeper into Confidential Nodes in GKE, let’s start with Confidential Computing in general."
image: https://www.bionconsulting.com/hubfs/confidential_nodes_and_computing_in_gke_1x.webp
---

[![bion-logo-122x40](https://www.bionconsulting.com/hubfs/bion-logo-122x40.png)](https://www.bionconsulting.com)

- [Home](https://www.bionconsulting.com)
- Services 
    - DevOps 
          - [DevOps as a Service](https://www.bionconsulting.com/devops-as-a-service)
          - [DevOps Services](https://www.bionconsulting.com/services/devops/devops-services)
          - [AWS DevOps Consulting](https://www.bionconsulting.com/services/devops/aws-devops-consulting)
    - DevSecOps 
          - [DevSecOps Consulting](https://www.bionconsulting.com/services/devsecops)
          - [DevSecOps Assessment](https://www.bionconsulting.com/services/devsecops-assessment)
          - [Software Supply Chain Security](https://www.bionconsulting.com/partnerships/anchore)
    - Kubernetes 
          - [Kubernetes Consulting](https://www.bionconsulting.com/services/kubernetes/kubernetes-consulting-services)
          - [Kubernetes Security](https://www.bionconsulting.com/services/kubernetes/security)
          - [Kubernetes Managed Services](https://www.bionconsulting.com/services/kubernetes/managed-services)
          - [Kubernetes Migration Services](https://www.bionconsulting.com/services/kubernetes/migration-services)
          - [Kubernetes Training](https://www.bionconsulting.com/services/kubernetes/training)
    - AWS 
          - [AWS Security Assessment](https://www.bionconsulting.com/services/aws/security-assessment)
          - [AWS Cloud Security](https://www.bionconsulting.com/services/aws/cloud-security)
          - [AWS Architecture Design](https://www.bionconsulting.com/services/aws/architecture-design)
          - [AWS Managed Services](https://www.bionconsulting.com/services/aws/managed-services)
          - [AWS Migration Services](https://www.bionconsulting.com/services/aws/migration-services)
          - [AWS Cost Optimisation](https://www.bionconsulting.com/services/aws/aws-cost-optimisation)
          - [AWS CPPO](https://www.bionconsulting.com/services/aws/aws-cppo)
    - AI Infrastructure Services 
          - [AI Platform Architecture](https://www.bionconsulting.com/ai-platform-architecture)
          - [Generative AI & LLM Deployment on AWS](https://www.bionconsulting.com/generative-ai-llm-deployment-aws)
          - [AI Platform Operations and MLOps](https://www.bionconsulting.com/ai-platform-operations-and-mlops-on-aws)
- Observability & Monitoring 
    - [New Relic](https://www.bionconsulting.com/partnerships/new-relic)
    - [Application Performance Monitoring](https://www.bionconsulting.com/new-relic/application-performance-monitoring)
    - [Observability for DevOps Teams](https://www.bionconsulting.com/new-relic/observability-for-devops-teams)
    - [New Relic Health Check](https://www.bionconsulting.com/services/new-relic/observability-health-check)
    - [SAP Monitoring with New Relic](https://www.bionconsulting.com/partnerships/new-relic/sap-monitoring-with-new-relic)
    - [Migration from Datadog](https://www.bionconsulting.com/partnerships/new-relic/migration-from-datadog)
- Industries 
    - [Financial Services & Insurance](https://www.bionconsulting.com/industries/financial-services-insurance)
    - [SaaS & ISV](https://www.bionconsulting.com/industries/saas-isv)
    - [Retail & E-commerce](https://www.bionconsulting.com/industries/retail-e-commerce)
    - [Travel & Hospitality](https://www.bionconsulting.com/industries/travel-hospitality)
    - [Healthcare & Life Sciences](https://www.bionconsulting.com/industries/healthcare-life-sciences)
    - [Education & EdTech](https://www.bionconsulting.com/industries/education-edtech)
    - Startups 
          - [DaaS for Startups](https://www.bionconsulting.com/startups/devops)
          - [AWS Migration for Startups](https://www.bionconsulting.com/startups/aws-migration)
- Partnerships 
    - [AWS](https://www.bionconsulting.com/partnerships/aws)
    - [New Relic](https://www.bionconsulting.com/partnerships/new-relic)
    - [Anchore](https://www.bionconsulting.com/partnerships/anchore)
    - [Octopus](https://www.bionconsulting.com/partnerships/octopus)
    - [DBmaestro](https://www.bionconsulting.com/partnerships/dbmaestro)
    - [Eclypses](https://www.bionconsulting.com/partnerships/eclypses)
    - [Vanta](https://www.bionconsulting.com/partnerships/vanta)
    - [Palo Alto](https://www.bionconsulting.com/partnerships/palo-alto)
- [About us](https://www.bionconsulting.com/about)
- [Case Studies](https://www.bionconsulting.com/case-studies)
- [Blog](https://www.bionconsulting.com/blog)
- [Contact us](https://www.bionconsulting.com/contact-us)

This is a search field with an auto-suggest feature attached.

- There are no suggestions because the search field is empty.

# Confidential Nodes and Computing in GKE

[Bion DevOps Team](https://www.bionconsulting.com/blog/author/bion-devops-team)

 Jul 12, 2022, 8:03:22 AM

<https://twitter.com/intent/tweet?url=&text=https://www.bionconsulting.com/blog/confidential-nodes-and-computing-in-gke>

<https://www.linkedin.com/shareArticle?mini=true&url=https://www.bionconsulting.com/blog/confidential-nodes-and-computing-in-gke>

Do you feel like a spy? No worries, you’re in a good place to explore Confidential Computing and Confidential Nodes in Google Kubernetes Engine (which from now on I'll refer to as GKE). I’ll start from the basics of Confidential Computing and will explain why companies need Confidential Computing resources.

Last week, Google announced that Confidential GKE nodes are now available to the public.

With Confidential GKE Nodes, you can achieve encryption in-use for data processed inside your GKE cluster **without significant performance degradation**.

Before going deeper into Confidential Nodes in GKE, let’s start with Confidential Computing in general.

## **What is Confidential Computing?**

Confidential computing is a [cloud computing](https://www.ibm.com/cloud/learn/cloud-computing) technology that isolates sensitive data in a protected CPU enclave during processing. The contents of the enclave — the data being processed, and the techniques that are used to process it — are accessible only to authorised programming code, and are invisible and unknowable to anything or anyone else, including the cloud provider.

 

For years, cloud providers have offered encryption services to help protect data *at rest* (in storage and databases) and data *in transit* (moving over a network connection). Confidential computing eliminates the remaining data security vulnerability by protecting data *in use* — that is, during processing or runtime.\[[1](https://www.ibm.com/cloud/learn/confidential-computing)\]

## **How does Confidential Computing work?**

Before it can be processed by an application, data must be unencrypted in memory. This leaves the data vulnerable just before, during, and just after processing to memory dumps, root user compromises, and other malicious exploits.

Confidential computing solves this problem by leveraging a hardware-based trusted execution environment, or TEE, which is a secure enclave within a CPU. The TEE is secured using embedded encryption keys; embedded attestation mechanisms ensure that the keys are accessible to authorised application code only. If malware or other unauthorised code attempts to access the keys — or if the authorised code is hacked or altered in any way — the TEE denies access to the keys and cancels the computation.

In this way, sensitive data can remain protected in memory until the application tells the TEE to decrypt it for processing. While the data is decrypted and throughout the entire computation process, it is invisible to the operating system (or hypervisor in a virtual machine), to other compute stack resources, and to the cloud provider and its employees.\[[2](https://www.linkedin.com/pulse/confidential-computing-what-why-do-we-need-dr-varin-khera/)\]

![Bion Consulting-GKE](https://www.bionconsulting.com/hs-fs/hubfs/Bion%20Consulting-GKE.png?width=550&name=Bion%20Consulting-GKE.png)

How Confidential Computing works

## **The Confidential Computing Consortium**

If you’re wondering how the idea of Confidential Computing came about, here is a brief explanation of how it started. In 2019, a group of IT enterprises composed of Alibaba, AMD, Baidu, Fortanix, **Google**, IBM/Red Hat, Intel, Microsoft, Oracle, Swisscom, Tencent, and VMware announced the creation of the [Confidential Computing Consortium (CCC)](https://confidentialcomputing.io/), under the **sponsor of The Linux Foundation**. The CCC aims to promote the development of open-source CC tools and define general standards for Confidential Computing, which allow users to move between different IT environments with ease. 

## **How does data leak from the CPU?**

In 2018, two disastrous new processor vulnerabilities called [Spectre](https://spectreattack.com) and [Meltdown](https://meltdownattack.com) occurred.

​​Spectre and Meltdown individually represent classes of hardware vulnerabilities, each with a number of variants dependent on specific silicon-level functionality. Differences between manufacturers (e.g., Intel vs. AMD) and architectures (e.g., x86-64 vs. Arm) make some processors vulnerable to more variants than others.

## **What are Spectre and Meltdown?**

Spectre and Meltdown enable attackers to extract encryption keys and passwords from compromised systems, enabling other attacks dependent on access to compromised systems.

For **cloud computing**, Spectre and Meltdown can be leveraged by attackers to escape software containers, para-virtualized systems, and virtual machines.

The exploitation of **Spectre** and **Meltdown** can be performed untraceable, **without leaving evidence of an exploit in system logs**.\[[3](https://www.techrepublic.com/article/spectre-and-meltdown-explained-a-comprehensive-guide-for-professionals/)\]

## **How do Spectre and Meltdown work?**

**Spectre**, according to the [original authors of the Spectre paper](https://spectreattack.com/spectre.pdf), “\[induces\] a victim to speculatively perform operations that would not occur during strictly serialized in-order processing of the program’s instructions, and which leak victim’s confidential information via a covert channel to the adversary.”

**Spectre** attacks are conducted in three steps:

1. The setup phase, in which the processor is mistrained to make “an exploitably erroneous speculative prediction.”
2. The processor speculatively executes instructions from the target context into a microarchitectural covert channel.
3. The sensitive data is recovered. This can be done by timing access to memory addresses in the CPU cache.

**Meltdown** exploits a [race condition](https://en.wikipedia.org/wiki/Race_condition) between memory access and privilege level checking while an instruction is being processed.

**Meltdown** attacks, according to the [original authors of the Meltdown paper](https://meltdownattack.com/meltdown.pdf), are conducted in three steps:

1. The content of an attacker-chosen memory location, which is inaccessible to the attacker, is loaded into a register.
2. A transient instruction accesses a cache line based on the secret content of the register.
3. The attacker uses Flush+Reload to determine the accessed cache line and hence the secret stored at the chosen memory location.

## **Why use Confidential Computing?**

Confidential Computing offers numerous benefits to organisations; the following is a list of the main ones:

1. **Protect sensitive data during processing**: Using Confidential Computing along with encryption at rest and transmit will help organisations to achieve their goals of handling **sensitive** and **regulated data**.
2. **Protect the organisation's intellectual property**: Confidential Computing is not only for data protection. Confidential computing can help to execute application code secretly in an isolated environment that no one can **infiltrate**.
3. **To eliminate concerns when choosing cloud providers**: An organisation can select the best cloud provider that meets its technical and business objectives without worrying about the security of stored data.
4. **Enable complete end-to-end encryption of cloud data.**
5. **It allows data to be transferred between different environments, or cloud providers, without the risk of exposing it to unauthorised parties.**
6. **To collaborate securely with partners on new cloud solutions:** For example, one company's team can combine its sensitive data with another company's proprietary machine-learning algorithm to create new solutions without sharing any data or intellectual property that it doesn’t want to share.

## **What are GKE Confidential Nodes?**

With Confidential GKE Nodes, you can achieve encryption in-use for data processed inside your GKE cluster without significant performance degradation.

Built on [Confidential VMs](https://cloud.google.com/blog/products/identity-security/introducing-google-cloud-confidential-computing-with-confidential-vms), which utilize the **AMD Secure Encrypted Virtualization (SEV)** \[[4](https://developer.amd.com/sev/)\] feature.

Confidential GKE Nodes encrypt the memory of your nodes and the workloads that run on top of them with a dedicated per-Node instance key that is generated and managed by the AMD Secure Processors, which is embedded in the **AMD EPYC™ processor**\[[5](https://www.amd.com/en/processors/epyc-google-cloud)\]. These keys are generated by the AMD Secure Processor during node creation and reside solely within it, making them unavailable to Google or any VMs running on the host. This, combined with other existing solutions for encryption [at rest](https://cloud.google.com/kubernetes-engine/docs/how-to/using-cmek) and [in transit](https://cloud.google.com/anthos/service-mesh), and workload isolation models such as[GKE Sandbox](https://cloud.google.com/kubernetes-engine/docs/concepts/sandbox-pods), provides an even deeper and multi-layer defence-in-depth protection against data exfiltration attacks. Confidential GKE Nodes also leverage [Shielded GKE nodes](https://cloud.google.com/blog/products/identity-security/exploring-container-security-bringing-shielded-vms-to-gke-with-shielded-gke-nodes) to offer protection against rootkit and bootkits, helping to ensure the integrity of the operating system you run on your Confidential GKE Nodes.\[[6](https://cloud.google.com/blog/products/identity-security/confidential-gke-nodes-now-available)\]

## **Pricing**

There is **no additional cost** to deploy Confidential GKE Nodes, other than the cost of Compute Engine Confidential VM.<https://cloud.google.com/confidential-computing#section-6>

## **Hands-on**

Creating a GKE cluster that uses [Confidential GKE Nodes](https://cloud.google.com/kubernetes-engine/docs/how-to/confidential-gke-nodes) on all nodes is easy. Simply go to the Cloud Console, click Kubernetes Engine, and then click Clusters. Select “Create” and then “Configure” on GKE Standard. Under Cluster, there is a security section where you click the checkbox that says “Enable Confidential GKE Nodes.”

![](https://www.bionconsulting.com/hs-fs/hubfs/Google%20Drive%20Integration/Bion%20Consulting-Confidential%20Nodes%20and%20Computing%20in%20GKE.png?width=550&name=Bion%20Consulting-Confidential%20Nodes%20and%20Computing%20in%20GKE.png)Enabling Confidential GKE Nodes

## **Enable Confidential Nodes via Gcloud**

When creating a new cluster, just specify the **--enable-confidential-nodes** option in the gcloud CLI:

| **gcloud container clusters create ${CLUSTER\_NAME} \\    --machine-type=${N2D\_MACHINE\_TYPE} \\    --enable-confidential-nodes** |
| --- |

Replace the following:

- CLUSTER\_NAME: the name of your new cluster.
- N2D\_MACHINE\_TYPE: the machine type for your cluster's default node pool, which must be the [N2D machine type](https://cloud.google.com/compute/docs/general-purpose-machines#n2d_machines).

## **Run applications on Confidential GKE Nodes**

Google's approach to confidential computing is to enable an effortless lift and shift for existing applications. GKE workloads that you run today can run on Confidential GKE Nodes **without code changes**.

You have the option of declaring that your workloads **must only run on clustered with Confidential GKE notes**. You can do this using the **cloud.google.com/gke-confidential-nodes** [node selector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector).

 Here's an example Pod spec that uses this selector:

| **apiVersion: v1 kind: Pod spec:  containers:  - name: bion-blog-confidential-computing    image: us-docker.pkg.dev/myproject/myrepo/my-confidential-app    nodeSelector:      cloud.google.com/gke-confidential-nodes:true** |
| --- |

## **Limitations**

Confidential GKE Nodes have the following limitations:\[[7](https://cloud.google.com/kubernetes-engine/docs/how-to/confidential-gke-nodes)\]

- Confidential GKE Nodes only support [Persistent Volumes](https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/gce-pd-csi-driver) backed by [persistent disks](https://cloud.google.com/compute/docs/disks#pdspecs) if your control plane runs GKE version 1.22 and later. For instructions, refer to [Using the Compute Engine persistent disk CSI Driver](https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/gce-pd-csi-driver).
- Confidential GKE Nodes are not compatible with GPUs.
- Confidential GKE Nodes are not compatible with sole tenant nodes.
- Confidential GKE Nodes only provide support [using ephemeral storage on local SSDs](https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/local-ssd#creating_a_node_pool_using_ephemeral_storage_on_local_ssds) and don’t provide support on local SSDs in general.
- Only Container-Optimized OS nodes are supported. Ubuntu and Windows nodes are not supported.

In this blog post, we deep-dived into **Confidential Computing** and **Confidential Nodes in GKE**.

I hope you found this post helpful, and if you enjoyed reading it, please don’t forget to share.

 

[Kubernetes](https://www.bionconsulting.com/blog/tag/kubernetes) [Security](https://www.bionconsulting.com/blog/tag/security) [K8S](https://www.bionconsulting.com/blog/tag/k8s) [GCP](https://www.bionconsulting.com/blog/tag/gcp) [confidentialcomputing](https://www.bionconsulting.com/blog/tag/confidentialcomputing) [GKE](https://www.bionconsulting.com/blog/tag/gke)

## Leave a Comment

## Related Posts

### [Jun 11, 2021, 9:33:59 AM Amazon EKS: IAM Roles for Service Accounts (IRSA)](https://www.bionconsulting.com/blog/amazon-eks-irsa)

### [Apr 11, 2022, 10:30:15 AM GCP IAP Tunnelling on Ansible with Dynamic Inventory](https://www.bionconsulting.com/blog/gcp-iap-tunnelling-on-ansible-with-dynamic-inventory)

### [Dec 11, 2023, 12:06:48 PM Grant AWS Resource Access to AWS EKS: Pod Identity](https://www.bionconsulting.com/blog/grant-aws-resource-access-to-aws-eks-pod-identity)

![bion-logo-white-122x40](https://www.bionconsulting.com/hubfs/bion-logo-white-122x40.png)

Bion Consulting helps organisations build secure, scalable, and high-performing cloud environments. With deep expertise in DevOps, security, containerisation, observability, and AI platform operations, we deliver resilient solutions for complex and evolving business needs.

<https://twitter.com/teambion> <https://www.linkedin.com/company/bionconsulting>

- [Home](https://www.bionconsulting.com)
- [DevOps](https://www.bionconsulting.com/devops-as-a-service)
- [AWS](https://www.bionconsulting.com/partnerships/aws)
- [New Relic](https://www.bionconsulting.com/partnerships/new-relic)
- [Octopus](https://www.bionconsulting.com/partnerships/octopus)
- [DBmaestro](https://www.bionconsulting.com/partnerships/dbmaestro)
- [Anchore](https://www.bionconsulting.com/partnerships/anchore)
- [About us](https://www.bionconsulting.com/about)
- [Contact Us](https://www.bionconsulting.com/contact-us)

 © 2026 All rights reserved.