constellation

module
v2.5.0-pre Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2023 License: AGPL-3.0

README ΒΆ

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
  • Runtime encryption: All nodes run inside AMD SEV-based Confidential VMs (CVMs). Support for Intel TDX will be added in the future.
  • Transparent encryption of network and storage: All pod-to-pod traffic and all writes to persistent storage are automatically encrypted
  • Transparent key management: All cryptographic keys are managed within the confidential context
πŸ” 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
  2. ⌨️ Create a Constellation cluster in the cloud or locally
  3. 🏎️ Run your app

Constellation Shell

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

  • Please file an issue to get help or report a bug.
  • Join the Discord to have a chat on confidential computing and Constellation.
  • Visit our blog for technical deep-dives and tutorials and follow us on Twitter for news.
  • Edgeless Systems also offers Enterprise Support.

Contributing

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

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.

Directories ΒΆ

Path Synopsis
bootstrapper
cli
cmd
csi
kms
debugd
cmd/cdbg command
cmd/debugd command
disk-mapper
cmd command
e2e
internal
cloud/azureshared
Package gcpshared contains code to parse and define data types relevant for Microsoft Azure.
Package gcpshared contains code to parse and define data types relevant for Microsoft Azure.
cloud/gcpshared
Package gcpshared contains code to parse and define data types relevant for Google Cloud Platform.
Package gcpshared contains code to parse and define data types relevant for Google Cloud Platform.
config
This binary can be build from siderolabs/talos projects.
This binary can be build from siderolabs/talos projects.
constants
Package constants contains the constants used by Constellation.
Package constants contains the constants used by Constellation.
crypto
Package crypto provides functions to for cryptography and random numbers.
Package crypto provides functions to for cryptography and random numbers.
crypto/testvector
Package testvector provides test vectors for key derivation and crypto functions.
Package testvector provides test vectors for key derivation and crypto functions.
file
Package file provides functions that combine file handling, JSON marshaling and file system abstraction.
Package file provides functions that combine file handling, JSON marshaling and file system abstraction.
grpc/grpclog
grpclog provides a logging utilities for gRPC.
grpclog provides a logging utilities for gRPC.
logger
Package logger provides logging functionality for Constellation services.
Package logger provides logging functionality for Constellation services.
oid
versionsapi/cli command
joinservice
cmd command
kms
cmd command
internal/server
Package server implements an API to manage encryption keys.
Package server implements an API to manage encryption keys.
cmd command
verify
cmd command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL