A Linux-based operating system optimized for hosting containers
open sourceApache-2.0 OR MITself-hostablefree
Bottlerocket is a free and open source Linux operating system for container hosts, made by Amazon Web Services and built in the open on GitHub. It has no shell, no SSH server and no package manager: the root filesystem is immutable and checked with dm-verity, SELinux is enforced, and the whole OS updates as one image written to an inactive partition set, signed with TUF, applied on reboot and rolled back automatically if the boot fails. It ships as variants for each orchestrator and platform: Amazon EKS Kubernetes nodes (with NVIDIA versions), Amazon ECS and Kubernetes on VMware, for x86_64 and arm64. Settings go in TOML user data or through a local API with apiclient, and access is through a control container running the AWS SSM agent or an optional admin container with SSH. Its own code is mostly Rust, under Apache-2.0 or MIT.
Problems it solves
- harden the operating system on our EKS worker nodes and stop patching Amazon Linux packages by hand
- update the OS on container hosts in one step and roll back automatically if the new version fails to boot
- nobody should be able to SSH into our cluster nodes or install software on them
- pass a CIS benchmark audit for the hosts that run our containers on AWS
- run ECS container instances on a minimal OS with fewer moving parts to secure
- run GPU containers on EC2 instances with NVIDIA drivers already in the node image
- use a container-optimized OS for Kubernetes worker nodes on VMware vSphere on-prem
- automate rolling OS updates across all nodes of my Kubernetes cluster
- configure node settings with user data at boot instead of scripts that change files on the host
- get a shell on a locked-down node through Systems Manager when I need to debug it
- we need a FIPS variant of the container host OS for our ECS workloads
Features
- no shell, no SSH server and no package manager in the image
- immutable root filesystem verified with dm-verity; enforced SELinux policy
- image-based updates to an inactive partition set, secured with TUF, with automatic rollback on boot failure
- variants for Amazon EKS (Kubernetes 1.31 to 1.37, with NVIDIA variants), Amazon ECS (including FIPS and NVIDIA) and Kubernetes on VMware
- x86_64 and aarch64 (arm64) builds
- local HTTP API on a Unix socket with apiclient; settings from TOML user data at boot
- control container running the AWS SSM agent, enabled by default
- admin container with SSH and a root shell (sheltie), disabled by default
- Bottlerocket update operator for Kubernetes and ECS updater for automated updates
- certified by the Center for Internet Security
View 2 more
- own components written in Rust and some Go
- custom variants and images can be built
Limitations
- No shell, SSH server or package manager on the host: software runs only as containers, and debugging goes through the control or admin container12
- Doesn't support Kubernetes on bare metal any more: the supported variants are for Amazon EKS, Amazon ECS and Kubernetes on VMware1
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
Alternatives
The same job
These do what Bottlerocket does.
- Flatcar Container Linux A minimal, immutable, container-optimized Linux operating system
- Fedora CoreOS A minimal OS with automatic updates. Scalable and secure.
- openSUSE MicroOS Micro Service OS providing Transactional (Atomic) Updates upon a read-only btrfs root filesystem
- Talos Linux Immutable, API-driven Linux for Kubernetes, with nothing to log into
- openSUSE Leap Micro An ultra-reliable, lightweight operating system built for containerized and virtualized workloads
