TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Bottlerocket, an open source Linux distribution built to run containers

347 pointsby sshrootalmost 5 years ago

20 comments

dprydenalmost 5 years ago
I&#x27;m confused about how the documentation recommends using a Kubernetes operator to manage OS updates. That seems weird and backwards to me. I would rather see an immutable OS AMI in an auto-scaled group, and just replace the node instance whenever there is an update.<p>I can see a place for managing OS updates on an instance, but that seems more like &quot;pets&quot; than &quot;cattle&quot;... and I&#x27;ve always treated Kubernetes nodes like cattle, not pets. Isn&#x27;t that the most common approach anyway?
评论 #24347875 未加载
评论 #24346343 未加载
评论 #24347014 未加载
评论 #24346617 未加载
评论 #24348037 未加载
评论 #24348076 未加载
评论 #24347147 未加载
solaticalmost 5 years ago
As strong as the engineering behind Bottlerocket seems to be, I&#x27;m not entirely sure who they built it for, except as a foundational component for AWS&#x27;s managed offerings.<p>If you, as an AWS customer, decide to fully embrace AWS lock-in, then why would you run this yourself on an EC2 instance instead of running ECS or EKS? If you&#x27;re trying to avoid AWS lock-in, why would you choose an OS that&#x27;s locking you into AWS Systems Manager and Amazon Linux 2 for debugging needs?
评论 #24345726 未加载
评论 #24345495 未加载
评论 #24345385 未加载
评论 #24345488 未加载
评论 #24347376 未加载
trishankdatadogalmost 5 years ago
Little-known fact: like Google Fuchsia, Bottlerocket uses The Update Framework (TUF)[1][2] to securely update itself!<p>[1] <a href="https:&#x2F;&#x2F;theupdateframework.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;theupdateframework.io&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;awslabs&#x2F;tough" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;awslabs&#x2F;tough</a>
评论 #24348278 未加载
adolphalmost 5 years ago
Firecracker, Bottlerocket, starting to see a trend here<p><a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;blogs&#x2F;aws&#x2F;firecracker-lightweight-virtualization-for-serverless-computing&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;blogs&#x2F;aws&#x2F;firecracker-lightweight-vir...</a>
评论 #24347942 未加载
评论 #24348475 未加载
daxfohlalmost 5 years ago
So difference between this and Firecracker would be that the latter is boot-speed and overhead optimized, and this one is a bit heavier but more capable?<p>If choosing between this and say Kata Containers plus Firecracker, the latter would be more secure because of VM isolation but this would be more efficient because multiple pods could go in a single VM?<p>Is Bottlerocket secure enough to host multi-tenant workloads within the same VM?
评论 #24346003 未加载
评论 #24348322 未加载
andrewrynhardalmost 5 years ago
For a project similar to bottlerocket, checkout <a href="https:&#x2F;&#x2F;github.com&#x2F;talos-systems&#x2F;talos" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;talos-systems&#x2F;talos</a>. It is geared for cloud, VMware, and bare metal users. We have integrations with Cluster API for each, with the bare metal provider being our implementation: <a href="https:&#x2F;&#x2F;github.com&#x2F;talos-systems&#x2F;sidero" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;talos-systems&#x2F;sidero</a>. Full disclosure, I am the CTO of Talos Systems.
peterwwillisalmost 5 years ago
I haven&#x27;t dug into the engineering behind this yet, but my main concern with any custom Linux distribution is it often ends up as a waste of engineering.<p>It&#x27;s pretty easy to write your own Distro and pair it down to the essentials, and pairing it down that way allows you to strip out complexity, making it easier and more reliable to patch it. But that then means you are now maintaining this custom thing forever. If you&#x27;re Amazon, that might be fine, but I suspect that this will be dropped when it is no longer profitable or a competing project supplants it - meaning in 5 years this thing might be gone. (A common theme of custom Linux distributions)<p>And then there&#x27;s troubleshooting. With a stripped-down distro, you will eventually need more tools to debug the thing, meaning you have to build and maintain packages to do that. Bottlerocket&#x27;s answer to this is &quot;run them in containers and use our API!&quot;, but I&#x27;m not sold on this. Have you ever tried to do debugging between host and container, or container to container? There&#x27;s a lot of b.s. you have to hop through, and most Unix tools were not written with it in mind. I highly doubt that it will magically work for everything. If that&#x27;s the case, then this &quot;don&#x27;t worry, because <i>magic</i>&quot; idea is not really saving you work over maintaining a traditional OS.<p>Moreover, you don&#x27;t need a custom distro to do live patching. There are simple tricks you can use to juggle files and processes during a live patch, to say nothing of &quot;checkpoint process &amp;&amp; &#x27;mv old_file new_file&#x27; &amp;&amp; thaw process&quot;, etc. Kernels support live patching too. So if the argument is &quot;well it&#x27;s easier to patch&quot;, i&#x27;m not sure you&#x27;re not trading away &quot;easy&quot; in one place for &quot;pain in the ass&quot; in another (see above). All of this also argues that it&#x27;s just as effective to treat live-patched systems as you treat immutable infrastructure, and I&#x27;m not convinced of that argument either. The former is just more complex, and complexity attracts failures.<p>Ultimately I think what you&#x27;ll find is Bottlerocket will get a niche following, but also some people will get annoyed by it and go back to regular distros which already have well defined methods.
moondevalmost 5 years ago
Cluster API does both! The operator rolls out immutable machine images that make up clusters. It&#x27;s badass.
jimmcslimalmost 5 years ago
So, is this available as an ISO? I currently run an Ubuntu VM in bhyve on my FreeNAS home-server to host various containers for experiments, etc... could I run this instead or is it tied to AWS?
评论 #24348761 未加载
评论 #24369637 未加载
robomaker2almost 5 years ago
At my previous company we discarded the AWS-Linux distro and used rancherOS for container hosting because the version of yum they used was too flaky. They were unwilling to move to DNF to try and fix it. We&#x27;ve long badgered them for something like this (rancher style AWS-Linux dsitro) and they seem to have finally listened. Too bad, I moved to a different company and a different role to benefit from this. At least my old colleagues will be happy
haunteralmost 5 years ago
Wasn&#x27;t Amazon Linux 2 something similar? Or I&#x27;m mixing it up <a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;amazon-linux-2&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;amazon-linux-2&#x2F;</a>
评论 #24345772 未加载
评论 #24345674 未加载
booleanbetrayalalmost 5 years ago
Can anyone at AWS comment on how this fits into the Fargate roadmap and Compute pricing? Presumably, a slimmer OS for things like EKS nodes could translate into some sort of Compute discount.
0_gravitasalmost 5 years ago
So, I&#x27;m a little confused; is this not what NixOS is all about, or is there a difference? (as my question probably suggests, im not all that knowledgeable about nix)
waheooalmost 5 years ago
I wish the push to containerise everything would just die.<p>I need the pieces of my system to work together, not against one another, not contend for files and permissions.
aexalmost 5 years ago
Free project idea: A Qubes OS alternative built on Bottlerocket.
评论 #24346130 未加载
yarrelalmost 5 years ago
How exactly would they make a proprietary Linux distro?
spicyusernamealmost 5 years ago
So basically Amazon CoreOS.
viztoralmost 5 years ago
This reminds of CoreOS
LeSaucyalmost 5 years ago
Look out Rancher!
评论 #24345960 未加载
senthilnayagamalmost 5 years ago
I remember reading last week linux plumber conference agreed to allow rust in linux kernel .<p>but these guys have built an OS in rust.
评论 #24348574 未加载
评论 #24345925 未加载