Questions tagged [firecracker]

Firecracker is an open source virtualization technology that is purpose-built for creating and managing secure, multi-tenant containers and functions-based services. Firecracker was developed at Amazon Web Services to improve the customer experience of services like AWS Lambda and AWS Fargate.

From firecracker-microvm.github.io/:

Until now, you needed to choose between containers with fast startup times and high density, or VMs with strong hardware-virtualization-based security and workload isolation. With Firecracker, you no longer have to choose.

Firecracker enables you to deploy workloads in lightweight virtual machines, called microVMs, which provide enhanced security and workload isolation over traditional VMs, while enabling the speed and resource efficiency of containers. Firecracker was developed at Amazon Web Services to improve the customer experience of services like AWS Lambda and AWS Fargate.

Firecracker implements a virtual machine monitor (VMM) that uses the Linux Kernel-based Virtual Machine (KVM) to create and manage microVMs.

Firecracker has a minimalist design. It excludes unnecessary devices and guest functionality to reduce the memory footprint and attack surface area of each microVM. This improves security, decreases the startup time, and increases hardware utilization. Firecracker currently supports Intel CPUs, with planned AMD and Arm support.

8 questions
9
votes
1 answer

What is the difference between Ignite and gVisor in terms of their use-case?

I would like to know if there is a difference between gVisor and Weave Ignite in terms of their use-cases (if there is any). To me, both of them seem to try a similar thing: make the execution of code in virtualized environments more secure. gVisor…
User12547645
  • 3,123
  • 20
  • 33
5
votes
1 answer

Firecracker microVM: how to create custom Firecracker microVM and file system images

I went through the Getting Started guide of Firecracker microVM via building from source via Docker and following the steps. I have working knowledge of Docker via CLI/Visual Studio UI/ECS and remember building AWS AMIs manually before the Docker…
V.B.
  • 5,882
  • 1
  • 28
  • 50
2
votes
2 answers

How aws firecracker handles vcpu?

I have issued below command in aws firecracker to configure the VM. I have only 8 vcpu in my host machine. curl --unix-socket /tmp/firecracker.socket -i \ -X PUT 'http://localhost/machine-config' \ -H 'Accept: application/json' …
user11779620
2
votes
1 answer

How to login: "After following the steps in firecracker custom rootfs using alpine"

I have followed the below steps for creating a custom rootfs image for booting with firecracker:- https://github.com/firecracker-microvm/firecracker/blob/master/docs/rootfs-and-kernel-setup.md Once the VM is up, it asks for the login username and…
1
vote
1 answer

Does AWS Lambda run every invocation in a separate Firecracker VM?

I am aware of the cold-start and warm-start in AWS Lambda. However, I am not sure during the warm-start if the Lambda architecture reuses the Firecracker VM in the backend? Or does it do the invocation in a fresh new VM? Is there a way to enforce VM…
user31986
  • 1,234
  • 1
  • 8
  • 25
1
vote
2 answers

Running Firecracker inside Docker

Is there any way to run Firecracker inside Docker container. I tried the basic networking in firecracker although having containerized firecracker can have many benefits No hurdle to create and manage overlay network and attach Deploy in Docker…
0
votes
0 answers

Firecracker with Nomad or Vagrant?

I have to configure firecracker on ubuntu server. I am little bit confuse like it should be installed standalone ( https://medium.com/@s8sg/quick-start-with-firecracker-and-firectl-in-ubuntu-f58aeedae04b ) ? OR inside any orchestration tools like…
0
votes
1 answer

Firecracker microVM: how to execute a script file when a Firecracker microVM startup?

I went through Get Start Guide and api_request_doc to find a way to execute a script when start a microVM? But there is not way to do it. Is there a way to achieve it? I want to run some script when a vm startup or execute a script without login.
Xin
  • 35
  • 6