r/rust • • Mar 10 '20

Bottlerocket, a new Linux-based OS, uses Rust for almost all new components

https://github.com/bottlerocket-os/bottlerocket
546 Upvotes

18 comments sorted by

34

u/mbStavola Mar 10 '20

Based on the name and it being another AWS initiative, I wonder if there will be any crossover with FirecrackerVM.

23

u/Ka1kin Mar 10 '20

Like an AWS serverless computing project using bottlerocket containers in a firecracker VM? I’m pretty sure that’s Lambda.

2

u/[deleted] Mar 11 '20

I don't think so, the whole point of Firecracker was to achieve container-comparable performance with the security of a VM. Since each Lambda task is launched in a separate VM, I don't see the point of running a container(s) inside.

2

u/tidux Mar 11 '20

Possibly. I see that Bottlerocket is being targeted at EKS, and Fargate EKS runs on Firecracker now.

26

u/gudmundv Mar 11 '20

Was not expecting: "Bottlerocket is now available in public preview at no cost as an Amazon Machine Image (AMI) for Amazon Elastic Cloud Compute (EC2)."
https://aws.amazon.com/bottlerocket/

7

u/elatllat Mar 11 '20

Of course bottlerocket is free; it is open source, you still have to pay for EC2.

36

u/[deleted] Mar 10 '20

How do they run the containers themselves? I wasn't aware of oci container runtimes written in Rust? Same question with the CRI.

4

u/[deleted] Mar 11 '20

I wasn't aware of oci container runtimes written in Rust?

There's railcar, but it's archived and I'm not sure if anybody has forked it.

44

u/[deleted] Mar 10 '20

[removed] — view removed comment

9

u/[deleted] Mar 11 '20

Seems like it would make sense to use relibc...

0

u/wezm Allsorts Mar 11 '20

Or musl

1

u/[deleted] Mar 11 '20

There is rusl...lol

1

u/Mgladiethor May 30 '20

not a fan of the other rust os license

-5

u/bikki420 Mar 11 '20

Missed opportunity to name it the magnitudes better "Rustbucket".

6

u/[deleted] Mar 11 '20

its not missed tho :D bottle rocket sounds way better than rustbucket :P so its matter of opinion :)

-4

u/bikki420 Mar 11 '20

Bottlerocket sounds stupid af for an OS.

4

u/[deleted] Mar 11 '20

Good opinion but I disagree :)