Skip to content

Commit 1e3d27a

Browse files
author
Hao, Ruomeng
committed
Upodate docs
1. Refer to Canonical repo for attestation setup 2. Add step of checking CCNP kernel version Signed-off-by: Hao, Ruomeng <[email protected]>
1 parent f7fa378 commit 1e3d27a

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ It requires a full chain integrity measurement on the launch-time or runtime env
1818
to guarantee "consistent behavior in an expected way" of confidential
1919
computing environment for tenant's zero-trust use case.
2020

21+
CCNP aims to help users establish a chain of trust for cloud-native workloads by providing
22+
cloud-native level confidential computing primitives, including container measurements,
23+
event logs, and confidential computing (CC) reports.
24+
2125

2226
## How to Install CCNP
2327

@@ -27,13 +31,12 @@ CCNP runs on Intel TDX guest. Thus, you will need TDX host and guest for CCNP de
2731

2832
| CPU | Host OS | Host packages | Guest OS | Guest packages | Attestation packages |
2933
|---|---|---|---|---|---|
30-
| Intel® Emerald Rapids | Ubuntu 23.10| TDX early preview referring to [here](https://github.com/canonical/tdx) | Ubuntu 23.10 | Build guest image using [CVM image rewriter](/tools/cvm-image-rewriter/README.md) | Install PCCS and QGS on host from [here](https://download.01.org/intel-sgx/sgx-dcap/1.20/linux/distro/ubuntu23.10-server/)
31-
32-
_NOTE: The Platform certificate caching service (PCCS) is used to retrieve and cache PCK certificates locally to your cluster from Intel's Platform Certificate Service. This is necessary to attest the authenticity of a TD guest before a workload is started in it. The Quote Generate Service (QGS) runs on the host in a specialized enclave to generate and use TD quotes. For convenient setup these can run inside a Docker container. Learn more at [here]( https://download.01.org/intel-sgx/sgx-dcap/1.17/linux/docs/Intel_TDX_DCAP_Quoting_Library_API.pdf). The PCCS and QGS are used to get Quote for a TD guest. They need to be installed on TDX hosts._
34+
| Intel® Emerald Rapids | Ubuntu 23.10| TDX early preview referring to [here](https://github.com/canonical/tdx?tab=readme-ov-file#4-setup-tdx-host) | Ubuntu 23.10 | Build a guest image for CCNP using [CVM image rewriter](/tools/cvm-image-rewriter/README.md) | Setup remote attestation on host referring to [here](https://github.com/canonical/tdx?tab=readme-ov-file#8-setup-remote-attestation-on-host-and-td-guest)
3335

3436
### CCNP Service Deployment in Confidential VM
3537

36-
It supports to deploy CCNP services as DaemonSets in Kubernetes cluster or docker containers on a single confidential VM. Please refer to [CCNP deployment guide](deployment/README.md).
38+
CCNP will run as a DaemonSet in a Kubernetes cluster or as a container in a docker environment on a single confidential VM (CVM).
39+
Refer to [CCNP deployment guide](deployment/README.md) and choose a deployment model.
3740

3841
### CCNP SDK Usage
3942

deployment/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ Start a TD using [qemu-test.sh](../tools/cvm-image-rewriter/qemu-test.sh) or [st
5959
$ sudo ./start-virt.sh -i <guest image>
6060
```
6161
62+
Check the kernel version. It should be CCNP kernel as below.
63+
64+
```
65+
$ uname -ar | grep -i ccnp
66+
Linux tdx-guest 6.5.0-1003-intel-opt #3.ccnp.1
67+
```
68+
69+
If above output is empty, refer to [Build CCNP Kernel](#build-ccnp-kernel) to generate CCNP kernel packages. Then install the packages in the TD and make it as default kernel.
70+
6271
## Build CCNP images
6372
6473
Run script [build.sh](../container/build.sh) to generate CCNP images. It will generate 3 images and push them to user specific registry. Learn more details in the [README.md](../container/README.md).

0 commit comments

Comments
 (0)