Difficulty: Beginner
Estimated Time: 10 minutes

In this scenario you will learn about Firecracker, a secure, multi-tenant, minimal-overhead execution of container and function workloads.

You will learn how to:

  • Deploy Firecracker

  • Start an Alpine based instance using Firecracker

  • Login and explore instance

What is Firecracker?

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.

Congratulations! You have successfully launched a Firecracker based VM.

The binaries are available on the Github release page.

Provide feedback and create more Firecracker scenarios at https://github.com/katacoda-scenarios/firecracker-microvm-scenarios

Learn more about Firecracker at https://firecracker-microvm.github.io/

Getting Started with Firecracker

Step 1 of 5

Step 1 - Install Firecracker

Firecracker is linked statically against musl, having no library dependencies. The binaries are available on the Github release page.

Firecracker uses the jailer binary to create the secure, execution jail for the instance.

Task - Download

Run the following commands to download Firecracker v0.11.0.

curl -L -o firecracker http://assets.joinscrapbook.com/firecracker/firecracker-v0.11.0
curl -L -o jailer http://assets.joinscrapbook.com/firecracker/jailer-v0.11.0
chmod +x firecracker
chmod +x jailer

Task - Start

Once downloaded, check to ensure that Firecracker can run by outputting the version number.

./firecracker -V