aws4embeddedlinux / meta-aws

The metadata layer for baking AWS device software to Embedded Linux distributions built by the Yocto Project build system.
MIT License
127 stars 85 forks source link

Yocto recipe for Firecracker #18

Closed rpcme closed 3 years ago

rpcme commented 4 years ago

Add recipe to build and install Firecracker.

Firecracker is an open source project supported by AWS. From their landing page:

Firecracker is an open source virtualization technology that is purpose-built for creating and managing secure, multi-tenant container and function-based services that provide serverless operational models. Firecracker runs workloads in lightweight virtual machines, called microVMs, which combine the security and isolation properties provided by hardware virtualization technology with the speed and flexibility of containers.

Note: The Arm build is in preview.

https://github.com/firecracker-microvm/firecracker

bbros-dev commented 4 years ago

The meta-virtualization layer may be of interest to others journeying along this path.

HTH

jwinarske commented 3 years ago

Firecracker Recipe: https://github.com/jwinarske/meta-microvm

Builds on NVIDIA Xavier NX BSP (aarch64)

rpcme commented 3 years ago

@jwinarske nice! is there a reason why you just didn't do a PR to this layer?

jwinarske commented 3 years ago

Keep in mind it brings in layer dependencies of meta-clang, and meta-rust. I'm finding I like the approach of having them separate when target doesn't need rust. Something like meta-aws-rs might be good. But I can PR into here.

rpcme commented 3 years ago

We can loosely couple the dependencies through the layer config - like we have for greengrass when wanting docker, specific runtimes, or other heavyweight dependencies.

Super appreciate it :)

jwinarske commented 3 years ago

https://github.com/aws/meta-aws/pull/128

rpcme commented 3 years ago

Fixed by #128 thank you @jwinarske!