2022-09-02 10:10:27 -04:00
![Constellation ](docs/static/img/banner.svg )
2022-07-29 10:37:35 -04:00
2022-09-13 05:31:52 -04:00
# Always Encrypted Kubernetes
2022-03-22 11:03:15 -04:00
2022-09-02 10:10:27 -04:00
< p >
2022-09-03 12:21:57 -04:00
< a href = "https://github.com/edgelesssys/constellation/blob/main/LICENSE" > < img src = "https://img.shields.io/github/license/edgelesssys/constellation" alt = "Constellation License" > < / a >
2023-03-29 04:26:45 -04:00
< a href = "https://github.com/edgelesssys/constellation/actions/workflows/test-tidy.yml/badge.svg?branch=main" > < img src = "https://github.com/edgelesssys/constellation/actions/workflows/test-tidy.yml/badge.svg?branch=main" alt = "Govulncheck" > < / a >
2022-10-10 08:17:33 -04:00
< a href = "https://goreportcard.com/report/github.com/edgelesssys/constellation/v2" > < img src = "https://goreportcard.com/badge/github.com/edgelesssys/constellation/v2" alt = "Go Report" > < / a >
2022-09-02 10:10:27 -04:00
< a href = "https://discord.gg/rH8QTH56JN" > < img src = "https://img.shields.io/discord/823900998606651454?color=7389D8&label=discord&logo=discord&logoColor=ffffff" alt = "Discord" > < / a >
2022-08-19 08:54:11 -04:00
< a href = "https://twitter.com/EdgelessSystems" > < img src = "https://img.shields.io/twitter/follow/EdgelessSystems?label=Follow" alt = "Twitter" > < / a >
< / p >
2022-03-22 11:03:15 -04:00
2022-09-12 07:01:50 -04:00
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.
2022-03-22 11:03:15 -04:00
2022-09-13 05:31:52 -04:00
< img src = "docs/static/img/concept.svg" alt = "Concept" width = "85%" / >
2022-03-22 11:03:15 -04:00
2022-09-02 10:10:27 -04:00
## Goals
2022-03-22 11:03:15 -04:00
2022-09-03 12:21:57 -04:00
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).
2022-03-22 11:03:15 -04:00
2022-09-03 12:21:57 -04:00
From a DevOps perspective, Constellation is designed to work just like what you would expect from a modern K8s engine.
2022-08-19 08:54:11 -04:00
2022-09-02 10:10:27 -04:00
## Use cases
2022-08-19 08:54:11 -04:00
2022-09-02 10:10:27 -04:00
Encrypting your K8s is good for:
2022-08-19 08:54:11 -04:00
2022-09-02 10:10:27 -04:00
* 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
2022-08-23 07:46:06 -04:00
2022-09-02 10:10:27 -04:00
## Features
2022-08-23 07:46:06 -04:00
2022-09-02 10:10:27 -04:00
### 🔒 Everything always encrypted
2022-08-23 07:46:06 -04:00
2022-09-02 10:10:27 -04:00
* Runtime encryption: All nodes run inside AMD SEV-based Confidential VMs (CVMs). Support for Intel TDX will be added in the future.
2023-10-12 08:07:58 -04:00
* Transparent encryption of network: All [pod-to-pod traffic is automatically encrypted][network-encryption]
* Transparent encryption of storage: All writes to persistent storage are automatically encrypted.
This includes [nodes' state disks][storage-encryption], [persistent volumes via CSI][csi], and [S3 object storage][s3proxy].
2022-09-12 07:01:50 -04:00
* Transparent key management: All cryptographic [keys are managed within the confidential context][key-management]
2022-08-23 07:46:06 -04:00
2022-09-02 10:10:27 -04:00
### 🔍 Everything verifiable
2022-08-23 07:46:06 -04:00
2022-11-29 06:56:28 -05:00
< a href = "https://slsa.dev/" > < img src = "docs/docs/_media/SLSA-Badge-full-level3.svg" align = "right" width = "225px" > < / a >
2022-09-12 07:01:50 -04:00
* "Whole cluster" [attestation][cluster-attestation] based on the remote-attestation feature of CVMs
2022-10-21 04:16:44 -04:00
* Confidential computing-optimized [node images][images]; fully measured and integrity-protected
2022-11-29 06:56:28 -05:00
* [Supply chain protection][supply-chain] with [sigstore ](https://www.sigstore.dev/ ) and [SLSA Level 3 ](https://slsa.dev/spec/v0.1/#security-levels ).
2022-08-23 07:46:06 -04:00
2022-09-02 10:10:27 -04:00
### 🚀 Performance and scale
2022-08-23 07:46:06 -04:00
2022-09-03 12:21:57 -04:00
* High availability with multi-master architecture and stacked etcd topology
2022-09-02 10:10:27 -04:00
* Dynamic cluster autoscaling with verification and secure bootstrapping of new nodes
* Competitive performance ([see K-Bench comparison with AKS and GKE][performance])
2022-08-23 07:46:06 -04:00
2022-09-02 10:10:27 -04:00
### 🧩 Easy to use and integrate
2022-08-19 08:54:11 -04:00
2022-09-02 10:10:27 -04:00
< a href = "https://landscape.cncf.io/?selected=constellation" > < img src = "https://raw.githubusercontent.com/cncf/artwork/1c1a10d9cc7de24235e07c8831923874331ef233/projects/kubernetes/certified-kubernetes/versionless/color/certified-kubernetes-color.svg" align = "right" width = "100px" > < / a >
2022-08-19 08:54:11 -04:00
2022-09-02 10:10:27 -04:00
* Constellation is a [CNCF-certified][certified] Kubernetes. It's aligned to Kubernetes' [version support policy][k8s-version-support] and will likely work with your existing workloads and tools.
2022-11-09 08:34:03 -05:00
* Support for Azure, GCP, and AWS.
2022-10-17 10:41:56 -04:00
* Support for local installations with [MiniConstellation][first-steps-local].
2023-12-20 07:36:50 -05:00
* Support for [Terraform][terraform-provider]
2022-08-26 06:59:36 -04:00
2022-09-02 10:10:27 -04:00
## Getting started
2022-08-19 08:54:11 -04:00
2022-09-02 10:10:27 -04:00
If you're already familiar with Kubernetes, it's easy to get started with Constellation:
2022-08-19 08:54:11 -04:00
2023-12-20 07:36:50 -05:00
1. 📦 [Install the CLI][install] or use the [Terraform provider][terraform-provider]
2022-10-17 10:41:56 -04:00
2. ⌨️ Create a Constellation cluster in the [cloud][first-steps] or [locally][first-steps-local]
2022-09-02 10:10:27 -04:00
3. 🏎️ [Run your app][examples]
2022-08-19 08:54:11 -04:00
2022-09-02 10:10:27 -04:00
![Constellation Shell ](docs/static/img/shell-windowframe.svg )
2022-08-19 08:54:11 -04:00
2023-10-05 11:28:15 -04:00
Learn more: ["Getting started with Constellation" videos series ](https://www.youtube.com/playlist?list=PLEhAl3D5WVvRYxO_yI7KzmtJ7rJUyQgNu ).
2022-12-12 03:33:05 -05:00
## Live demos
2022-11-03 12:03:26 -04:00
2023-03-14 03:27:06 -04:00
We're running public instances of popular software on Constellation:
2023-10-12 08:07:58 -04:00
2024-02-22 09:32:23 -05:00
* Rocket.Chat: < https: // rocket . edgeless . systems /> ([blog post](https://www.edgeless.systems/resource-library/rocket-chat))
2023-10-05 11:28:15 -04:00
* GitLab: < https: // gitlab . edgeless . systems /> ([blog post](https://www.edgeless.systems/resource-library/confidential-gitlab/))
2022-11-03 12:03:26 -04:00
2022-12-12 03:33:05 -05:00
These instances run on CVMs in Azure and Constellation keeps them end-to-end confidential.
2022-11-03 12:03:26 -04:00
2022-09-02 10:10:27 -04:00
## Documentation
2022-08-19 08:54:11 -04:00
2022-09-12 07:01:50 -04:00
To learn more, see the [documentation ](https://docs.edgeless.systems/constellation ).
2022-09-02 10:10:27 -04:00
You may want to start with one of the following sections.
2022-08-19 08:54:11 -04:00
2022-09-02 10:10:27 -04:00
* [Confidential Kubernetes][confidential-kubernetes] (Constellation vs. AKS/GKE + CVMs)
* [Security benefits][security-benefits]
2022-08-19 08:54:11 -04:00
* [Architecture][architecture]
2022-09-02 10:10:27 -04:00
## Support
2022-08-19 08:54:11 -04:00
2023-03-14 03:27:06 -04:00
* If something doesn't work, make sure to use the [latest release ](https://github.com/edgelesssys/constellation/releases/latest ) and check out the [known issues ](https://github.com/edgelesssys/constellation/issues?q=is%3Aopen+is%3Aissue+label%3A%22known+issue%22 ).
2022-09-12 07:01:50 -04:00
* Please file an [issue][github-issues] to get help or report a bug.
* Join the [Discord] to have a chat on confidential computing and Constellation.
2023-10-05 11:28:15 -04:00
* Visit our [blog ](https://www.edgeless.systems/blog/ ) for technical deep-dives and tutorials and follow us on [LinkedIn] for news.
2022-09-02 10:10:27 -04:00
* Edgeless Systems also offers [Enterprise Support][enterprise-support].
2022-08-19 08:54:11 -04:00
2022-09-02 10:10:27 -04:00
## Contributing
2022-08-19 08:54:11 -04:00
2022-09-03 12:21:57 -04:00
Refer to [`CONTRIBUTING.md` ](CONTRIBUTING.md ) on how to contribute. The most important points:
2022-12-05 05:27:03 -05:00
2022-08-19 08:54:11 -04:00
* Pull requests are welcome! You need to agree to our [Contributor License Agreement][cla-assistant].
2022-09-05 02:42:55 -04:00
* Please follow the [Code of Conduct ](/CODE_OF_CONDUCT.md ).
2023-01-20 10:17:39 -05:00
> **Warning**
2023-10-12 08:07:58 -04:00
> Please report any security issue via a [private GitHub vulnerability report](https://github.com/edgelesssys/constellation/security/advisories/new) or write to <security@edgeless.systems>.
2022-08-19 08:54:11 -04:00
2022-09-02 10:10:27 -04:00
## License
2022-03-22 11:03:15 -04:00
2022-09-22 06:12:17 -04:00
The Constellation source code is licensed under the [GNU Affero General Public License v3.0 ](LICENSE ). 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.
2022-08-19 08:54:11 -04:00
<!-- refs -->
2022-09-01 03:27:25 -04:00
[architecture]: https://docs.edgeless.systems/constellation/architecture/overview
2022-08-19 08:54:11 -04:00
[certified]: https://www.cncf.io/certification/software-conformance/
[cla-assistant]: https://cla-assistant.io/edgelesssys/constellation
2022-09-01 03:27:25 -04:00
[cluster-attestation]: https://docs.edgeless.systems/constellation/architecture/attestation#cluster-attestation
[confidential-kubernetes]: https://docs.edgeless.systems/constellation/overview/confidential-kubernetes
2022-08-19 08:54:11 -04:00
[discord]: https://discord.gg/rH8QTH56JN
2022-09-02 10:10:27 -04:00
[enterprise-support]: https://www.edgeless.systems/products/constellation/
2022-10-17 10:41:56 -04:00
[first-steps]: https://docs.edgeless.systems/constellation/getting-started/first-steps
[first-steps-local]: https://docs.edgeless.systems/constellation/getting-started/first-steps-local
2022-09-01 03:27:25 -04:00
[examples]: https://docs.edgeless.systems/constellation/getting-started/examples
2022-09-12 07:01:50 -04:00
[github-issues]: https://github.com/edgelesssys/constellation/issues
[images]: https://docs.edgeless.systems/constellation/architecture/images
2022-09-01 03:27:25 -04:00
[install]: https://docs.edgeless.systems/constellation/getting-started/install
[k8s-version-support]: https://docs.edgeless.systems/constellation/architecture/versions#kubernetes-support-policy
2022-09-02 10:10:27 -04:00
[key-management]: https://docs.edgeless.systems/constellation/architecture/keys
2022-09-04 16:11:10 -04:00
[license]: https://docs.edgeless.systems/constellation/overview/license
2022-09-01 03:27:25 -04:00
[network-encryption]: https://docs.edgeless.systems/constellation/architecture/keys#network-encryption
2023-10-12 08:07:58 -04:00
[storage-encryption]: https://docs.edgeless.systems/constellation/architecture/keys#storage-encryption
[csi]: https://docs.edgeless.systems/constellation/workflows/storage
[s3proxy]: https://docs.edgeless.systems/constellation/workflows/s3proxy
2022-09-01 03:27:25 -04:00
[supply-chain]: https://docs.edgeless.systems/constellation/architecture/attestation#chain-of-trust
2022-09-04 16:11:10 -04:00
[security-benefits]: https://docs.edgeless.systems/constellation/overview/security-benefits
2023-10-05 11:28:15 -04:00
[linkedin]: https://www.linkedin.com/company/edgeless-systems
2022-09-02 10:10:27 -04:00
[whitepaper]: https://content.edgeless.systems/hubfs/Confidential%20Computing%20Whitepaper.pdf
2022-09-12 07:01:50 -04:00
[performance]: https://docs.edgeless.systems/constellation/overview/performance
2023-12-20 07:36:50 -05:00
[terraform-provider]: https://docs.edgeless.systems/constellation/workflows/terraform-provider