[Report] I Attended the Bee Case Study Session on Building a Zero-Operator-Access Personal AI with EC2 Instance Attestation #AWSreInvent #CMP352

[Report] I Attended the Bee Case Study Session on Building a Zero-Operator-Access Personal AI with EC2 Instance Attestation #AWSreInvent #CMP352

A report on AWS re:Invent 2026 session CMP352. Introduces how wearable AI company Bee uses Attestable AMI and NitroTPM attestation to let others verify that operators cannot access user data.
2026.12.01

This page has been translated by machine translation. View original

Introduction

Hello everyone, this is Akaike.

I'm attending AWS re:Invent 2026, and I listened to a session called "Building zero-trust personal AI with EC2 confidential computing".

For services that handle personal conversations and health information, even if they explain "not even the operator can see your data," if that stays merely a promise in a policy, users have no choice but to just believe it, right...?

This session explained how Bee, a wearable AI, built a mechanism that uses EC2 instance attestation to technically verify that "the operator cannot access the data," so I've summarized the content.

Session Overview

Title

Building zero-trust personal AI with EC2 confidential computing (CMP352)

Abstract

Learn how Bee built a personal AI assistant whose privacy protections are technically enforced and cryptographically verifiable, not just promised in policy. Bee processes user data only on Amazon EC2 instances built on the AWS Nitro System, which by design gives AWS operators no way to access instance memory or customer data. Bee launches these instances from Attestable AMIs. We'll show how NitroTPM attestation documents let user devices check which software a server is running before they release any keys, how Sigstore transparency logs make every deployed build publicly auditable, how mutual TLS carries attestation evidence into each connection, and how keys are created, used, and destroyed without leaving the attested instance. You'll leave with a practical blueprint for building verifiable, zero-operator-access AI workloads on EC2.

Learn how Bee built a personal AI assistant with privacy protections that are not only promised in policy, but technically enforced and cryptographically verifiable. Bee processes user data only on Amazon EC2 instances built on the AWS Nitro System, which by design provides no means for AWS operators to access instance memory or customer data. Bee launches these instances from Attestable AMIs. The session explains how NitroTPM attestation documents let user devices check the software running on the server before releasing keys, how Sigstore transparency logs make every deployed build publicly auditable, how mutual TLS passes attestation evidence into each connection, and how keys are created, used, and destroyed without ever leaving the attested instance. Through this session, you will gain a practical blueprint for building verifiable AI workloads with no operator access on EC2.

Speaker

  • Arvind Raghu (Sr. Mgr, WWSpec Web3/Confidential Compute, AWS)

Session Information

  • Level: 300 - Advanced
  • Session type: Lightning talk
  • Topic: Compute
  • Related services
    • AWS Key Management Service (AWS KMS)
    • Amazon Elastic Compute Cloud (Amazon EC2)

CMP352_01

Side note:
The title slide also included the name of Ethan Sutin, Bee's co-founder, but he was unable to attend on the day, so Gopi explained the Bee part in his place.

Session Content

Agenda

CMP352_02

The session was structured as follows.

  • Bee: Private Compute
    • What Bee is
    • How Bee provides private computing
  • AWS Confidential Compute: What AWS confidential computing is
  • EC2 Instance Attestation: How EC2 instance attestation works
  • Bee's Implementation of EC2 Attestation: How Bee implemented EC2 attestation
  • Resources: Reference materials

What is Bee

CMP352_03

Bee is a wearable personal AI that uses frontier models.
When you wear it, it records information about your daily life, such as conversations, and summarizes it into summaries and action items.

The recorded content includes highly sensitive information such as health, money, and conversations with family.
For this reason, Bee promises "zero operator access," meaning no one inside Bee can access the customer data the application is processing.

The slide said that this promise is "enforced by your device, not by policy."
The models appear to run on GPU servers on Amazon EC2.

What is Confidential Computing

CMP352_04

At the start, the speaker said, "This is not an AI session, it's a session about privacy and trust."

AWS defines confidential computing as "protecting data in use by using dedicated hardware and associated firmware."

Data handling can be divided into three states: at rest, in transit, and in use.
Mechanisms for protecting data at rest and in transit have long been used, but confidential computing targets data while it is being processed by the CPU and loaded in memory.
AWS's approach doesn't rely on encryption alone, but also combines isolation by the Nitro System, which is the foundation of EC2.

Also, when customers are asked "who do you want to protect your data from?", the answers fall into two groups.

  • AWS operators: They want to protect data from the cloud provider's operators
  • The customer's own operators: When handling personal information, they also want to protect data from their own administrators, and from attackers who have illegitimately obtained administrator privileges

The speaker also said that since such mechanisms incur costs such as development effort, bandwidth, and performance, they should be limited to highly sensitive data.

What is Attestation

Attestation was explained using the analogy of airport security checks.
At a security check, you show your passport, and the staff member checks it against the information they have to confirm your identity.

Attestation works the same way: the processing environment presents proof of "who it is" to the other party.
The other party verifies it and establishes a trust relationship, and only then can secret information be exchanged.

Creating an Attestable AMI

CMP352_05

EC2 instance attestation starts with creating an Attestable AMI.

The ingredients of the AMI (the Recipe in the slide) are the following three.

  • Trusted code and application
  • Amazon Linux
  • Isolation settings (Isolated Compute Config)

When this is built with the image build tool KIWI Next Generation, you get a trusted AMI and a cryptographic hash representing the entire contents of the AMI.
This hash is called the Reference Hash.
Depending on how reproducible you need the build to be, NixOS is also an option.

How strict to make the isolation settings is up to the user, but the recommendation is to isolate as completely as Nitro Enclaves.
The following settings were given as examples.

  • Prevent SSH access into launched instances
  • Configure a network firewall at the instance boundary
  • Make all storage and file systems read-only and immutable
  • Allow only authenticated, authorized, and logged API calls so that everything can be traced

Measurement with NitroTPM

CMP352_06

When you launch an EC2 instance from an Attestable AMI, the instance starts together with a virtual TPM device called NitroTPM.
NitroTPM measures the launched instance and the application inside it, and calculates hashes.

By comparing this calculated hash with the reference hash from build time, a match confirms that the expected software is running.

The speaker said that isolation and attestation should be thought of as a set, and that isolation without a means of verifying it has little meaning.

Attestation Flow Using KMS

CMP352_07

CMP352_08

Using an instance running an LLM as an example, the flow until data is processed was explained.

  1. A prompt entered in the browser reaches the instance in an encrypted state
  2. Since the instance needs to decrypt it for processing, it requests an attestation document from the Nitro System
  3. The attestation document contains the instance's measurements and is signed by the Nitro Hypervisor
  4. The attestation document is passed to AWS KMS (any key store that can handle attestation documents, such as an on-premises HSM, will do)
  5. KMS compares the reference hash configured in the key policy with the measurements in the attestation document
  6. If they match, the key is returned to the instance, and the instance decrypts the received data and processes it
  7. The processing result is re-encrypted with a public key before being returned

As a result, data is decrypted only in an environment where it has been confirmed that trusted code is running.

Bee's Architecture

CMP352_09

From here on was the explanation of Bee's implementation.
Organized following the numbers on the slide, it looks like this.

At build time (AMI Build AWS Account)

  • ① The Attestable AMI is built by a separate Amazon team in an account separate from the application. Because the AMI is built in a state where it cannot be accessed via SSH, SSM, or EC2 Instance Connect, Bee's operators cannot get into the application servers
  • ② The measurements (PCRs) of the built AMI are recorded in a public, append-only transparency log. The slide describes it as the Amazon transparency service, and the catalog overview describes it as the Sigstore transparency log
  • ③ The AMI is shared with Bee's application account

If the Amazon team builds the AMI, Bee's users might wonder, "How do I trust that AMI?"
The transparency log in ② exists for that purpose, making the AMI's measurements verifiable by anyone.

At launch time (Bee AWS Account)

  • ④ At launch, the instance uses AWS Private CA, Amazon ECR images, Amazon S3, and the Attestable AMI
  • Inside the attestation boundary (the green dotted line), the application server, the Redis key store, and the inference server are placed as EC2 instances with NitroTPM

Connection with the device

  • ⑤ Bee's mobile app connects to the application server via TLS
  • ⑥ The server returns an attested certificate containing the measurements (issued by AWS Private CA)
  • ⑦ The mobile app verifies the measurements, and if they are correct, passes a short-lived key to the server

The key point here is that Bee does not use AWS KMS for key management.
KMS key policies are defined by administrators, so technically, if an administrator rewrote the policy, they could use the key.
Therefore, Bee keeps the key not on AWS but on the user's mobile app side, and passes it to the server only when the measurements match.

Data storage and processing

  • The application server decrypts data with the received key, processes it on the inference server, and returns summaries and action items to the mobile app
  • ⑧ Only ciphertext is stored in Amazon RDS, Amazon ElastiCache, and Amazon S3. The key that encrypted the data is itself encrypted with a key generated in the mobile app, so only servers inside the attestation boundary can decrypt it
  • ⑨ Push notifications are sent from AWS Lambda

The green dotted boundary is the only scope in which data can be handled in plaintext.

Reference Materials

CMP352_10

  • Bee Whitepaper (key encryption methods, key policies, how the Nitro System is used, details of EC2 attestation)
  • Bee AWS Blog (explanation of this architecture)
  • Bee Trail of Bits Audit (an audit by third party Trail of Bits. It confirmed that the implementation is secure and that Bee has no means to access customer data being processed)
  • AWS Nitro System (a whitepaper on the Nitro System's security design)

Conclusion

That was the report on the "Building zero-trust personal AI with EC2 confidential computing" session.

It was a 20-minute Lightning talk, but as the speaker himself said, "there is a lot packed into the single architecture slide," it was a session with a lot of information.

Personally, the following points were especially impressive.

  • Demonstrating "the operator does not access" through verification rather than policy
    • Because the user's device checks the measurements before handing over the key, users can escape the state of having no choice but to believe the operator's explanation
  • Deliberately not using KMS for key management
    • Placing the key on the mobile app side because KMS key policies can be rewritten by administrators made me think, "So this is what it takes to be thorough about zero operator access!"
  • Separating the AMI build into a different account and team and publishing it via a transparency log
    • Even a mechanism for making the builder trustworthy is provided, and I learned that attestation is not complete with measurement alone

When designing for processing highly sensitive data on EC2, I'd like to remember the combination of Attestable AMI and NitroTPM as an option.


AWS re:Invent 2026まとめ情報

クラスメソッドは2026/11/30〜12/4にラスベガスで開催されるAWSカンファレンスイベント「re:Invent」を今年も特集しました。ぜひ一度ご覧ください。 re:Invent 2026ポータルサイトを見るAWS re:Invent公式サイトはこちら

Share this article

AWSのお困り事はクラスメソッドへ