Constellation is the first Confidential Kubernetes. Constellation shields entire Kubernetes clusters from the (cloud) infrastructure using confidential computing.
Go to file
Moritz Sanft 913b09aeb8
Support SEV-SNP on GCP (#3011)
* terraform: enable creation of SEV-SNP VMs on GCP

* variant: add SEV-SNP attestation variant

* config: add SEV-SNP config options for GCP

* measurements: add GCP SEV-SNP measurements

* gcp: separate package for SEV-ES

* attestation: add GCP SEV-SNP attestation logic

* gcp: factor out common logic

* choose: add GCP SEV-SNP

* cli: add TF variable passthrough for GCP SEV-SNP variables

* cli: support GCP SEV-SNP for `constellation verify`

* Adjust usage of GCP SEV-SNP throughout codebase

* ci: add GCP SEV-SNP

* terraform-provider: support GCP SEV-SNP

* docs: add GCP SEV-SNP reference

* linter fixes

* gcp: only run test with TPM simulator

* gcp: remove nonsense test

* Update cli/internal/cmd/verify.go

Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>

* Update docs/docs/overview/clouds.md

Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>

* Update terraform-provider-constellation/internal/provider/attestation_data_source_test.go

Co-authored-by: Adrian Stobbe <stobbe.adrian@gmail.com>

* linter fixes

* terraform_provider: correctly pass down CC technology

* config: mark attestationconfigapi as unimplemented

* gcp: fix comments and typos

* snp: use nonce and PK hash in SNP report

* snp: ensure we never use ARK supplied by Issuer (#3025)

* Make sure SNP ARK is always loaded from config, or fetched from AMD KDS
* GCP: Set validator `reportData` correctly

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Co-authored-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* attestationconfigapi: add GCP to uploading

* snp: use correct cert

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* terraform-provider: enable fetching of attestation config values for GCP SEV-SNP

* linter fixes

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>
Co-authored-by: Adrian Stobbe <stobbe.adrian@gmail.com>
2024-04-16 18:13:47 +02:00
.github Support SEV-SNP on GCP (#3011) 2024-04-16 18:13:47 +02:00
3rdparty deps: update Go toolchain to 1.22.2 (#3010) 2024-04-05 12:14:48 +02:00
bazel deps: update Go toolchain to 1.22.2 (#3010) 2024-04-05 12:14:48 +02:00
bootstrapper bootstrapper: wipe disk and reboot on non-recoverable error (#2971) 2024-03-12 11:43:38 +01:00
cli Support SEV-SNP on GCP (#3011) 2024-04-16 18:13:47 +02:00
csi bootstrapper: wipe disk and reboot on non-recoverable error (#2971) 2024-03-12 11:43:38 +01:00
debugd deps: update protobuf to v1.33.0 2024-03-06 14:50:01 +01:00
dev-docs dev-docs: document security advisory process (#3024) 2024-04-15 11:49:23 +02:00
disk-mapper bootstrapper: wipe disk and reboot on non-recoverable error (#2971) 2024-03-12 11:43:38 +01:00
docs Support SEV-SNP on GCP (#3011) 2024-04-16 18:13:47 +02:00
e2e logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
hack logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
image image: update locked rpms (#3026) 2024-04-15 07:44:24 +02:00
internal Support SEV-SNP on GCP (#3011) 2024-04-16 18:13:47 +02:00
joinservice logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
keyservice deps: update protobuf to v1.33.0 2024-03-06 14:50:01 +01:00
measurement-reader Support SEV-SNP on GCP (#3011) 2024-04-16 18:13:47 +02:00
nix nix: fix bazel under NixOS 2024-02-20 12:50:13 +01:00
operators/constellation-node-operator operator: escape dots in url (#2990) 2024-03-15 22:44:10 +01:00
rfc rfc: remove broken link (#3012) 2024-04-05 11:42:36 +02:00
s3proxy deps: update Constellation containers (#2936) 2024-02-22 09:12:18 +01:00
terraform Support SEV-SNP on GCP (#3011) 2024-04-16 18:13:47 +02:00
terraform-provider-constellation Support SEV-SNP on GCP (#3011) 2024-04-16 18:13:47 +02:00
tools bazel: remove bazeldnf and pinned rpms 2023-12-01 09:35:33 +01:00
upgrade-agent deps: update protobuf to v1.33.0 2024-03-06 14:50:01 +01:00
verify deps: update protobuf to v1.33.0 2024-03-06 14:50:01 +01:00
.bazelignore bazel: add directories to ignore (#2805) 2024-01-09 21:46:53 +01:00
.bazelrc deps: update to bazel 7 2024-02-20 12:50:13 +01:00
.bazelversion deps: update to bazel 7 2024-02-20 12:50:13 +01:00
.dockerignore ci: run versionsapi as docker action 2023-01-13 10:23:43 +01:00
.envrc nix: allow dev setup via direnv 2024-01-08 10:44:38 +01:00
.gitignore nix: allow dev setup via direnv 2024-01-08 10:44:38 +01:00
.golangci.yml ci: add e2e-upgrade test 2023-03-23 14:57:38 +01:00
.grype.yaml ci: ignore replaced ghsa (#1392) 2023-03-10 11:13:05 +01:00
.lychee.toml ci: don't check Wireguard weblinks (#2823) 2024-01-15 15:45:45 +01:00
.shellcheckrc Fix shellcheck warnings 2022-11-11 13:40:13 +01:00
.vale.ini ci: update vale 2024-01-24 09:07:19 +01:00
BUILD.bazel bazel: remove bazeldnf and pinned rpms 2023-12-01 09:35:33 +01:00
CODE_OF_CONDUCT.md Ref/readme (#375) 2022-08-19 14:54:11 +02:00
CODEOWNERS bazel: remove deprecated Bazel container 2024-02-20 12:50:13 +01:00
CONTRIBUTING.md dev-docs: refactor and add information for newbies (#1912) 2023-06-19 17:39:43 +02:00
flake.lock deps: update to bazel 7 2024-02-20 12:50:13 +01:00
flake.nix image: update mkosi and use package directory feature 2024-02-20 12:50:13 +01:00
go.mod deps: update Go toolchain to 1.22.2 (#3010) 2024-04-05 12:14:48 +02:00
go.sum deps: update Go toolchain to 1.22.2 (#3010) 2024-04-05 12:14:48 +02:00
go.work deps: update Go toolchain to 1.22.2 (#3010) 2024-04-05 12:14:48 +02:00
LICENSE add license 2022-09-05 09:17:25 +02:00
netlify.toml Add docs to repo (#38) 2022-09-02 11:52:42 +02:00
README.md Add STACKIT to readme (#2988) 2024-03-15 11:53:13 +01:00
renovate.json5 constellation-lib: add Helm wrapper (#2680) 2023-12-06 10:01:39 +01:00
SECURITY.md promote new github security reporting feature 2022-11-10 16:31:13 +01:00
version.txt ci: v2.16 post-release cleanup 2024-02-29 18:36:07 +01:00
WORKSPACE.bazel deps: update Go toolchain to 1.22.2 (#3010) 2024-04-05 12:14:48 +02:00

Constellation

Always Encrypted Kubernetes

Constellation License Govulncheck Go Report Discord Twitter

Constellation is a Kubernetes engine that aims to provide the best possible data security. It wraps your K8s cluster into a single confidential context that is shielded from the underlying cloud infrastructure. Everything inside is always encrypted, including at runtime in memory. For this, Constellation leverages confidential computing (see the whitepaper) and more specifically Confidential VMs.

Concept

Goals

From a security perspective, Constellation is designed to keep all data always encrypted and to prevent access from the infrastructure layer (i.e., remove the infrastructure from the TCB). This includes access from datacenter employees, privileged cloud admins, and attackers coming through the infrastructure (e.g., malicious co-tenants escalating their privileges).

From a DevOps perspective, Constellation is designed to work just like what you would expect from a modern K8s engine.

Use cases

Encrypting your K8s is good for:

  • Increasing the overall security of your clusters
  • Increasing the trustworthiness of your SaaS offerings
  • Moving sensitive workloads from on-prem to the cloud
  • Meeting regulatory requirements

Features

🔒 Everything always encrypted

🔍 Everything verifiable

🚀 Performance and scale

  • High availability with multi-master architecture and stacked etcd topology
  • Dynamic cluster autoscaling with verification and secure bootstrapping of new nodes
  • Competitive performance (see K-Bench comparison with AKS and GKE)

🧩 Easy to use and integrate

Getting started

If you're already familiar with Kubernetes, it's easy to get started with Constellation:

  1. 📦 Install the CLI or use the Terraform provider
  2. ⌨️ Create a Constellation cluster in the cloud or locally
  3. 🏎️ Run your app

Constellation Shell

Learn more: "Getting started with Constellation" videos series.

Live demos

We're running public instances of popular software on Constellation:

These instances run on CVMs in Azure and Constellation keeps them end-to-end confidential.

Documentation

To learn more, see the documentation. You may want to start with one of the following sections.

Support

Contributing

Refer to CONTRIBUTING.md on how to contribute. The most important points:

Warning

Please report any security issue via a private GitHub vulnerability report or write to security@edgeless.systems.

License

The Constellation source code is licensed under the GNU Affero General Public License v3.0. Edgeless Systems provides pre-built and signed binaries and images for Constellation. You may use these free of charge to create and run services for internal consumption, evaluation purposes, or non-commercial use. You can find more information in the license section of the docs.