Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@arun-gupta
Last active December 6, 2018 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arun-gupta/7f6fe53a20a2adc201fdde9d002dfac1 to your computer and use it in GitHub Desktop.
Save arun-gupta/7f6fe53a20a2adc201fdde9d002dfac1 to your computer and use it in GitHub Desktop.
Firecracker 4k
  • Create an i3.metal instance using AL2
  • Install:
sudo yum update -y
sudo yum install -y git python3
git clone https://github.com/firecracker-microvm/firecracker-demo
  • Setup:
sudo tee -a /etc/security/limits.conf <<EOL
ec2-user soft nproc 16384
ec2-user hard nproc 16384
EOL
sudo setfacl -m u:${USER}:rw /dev/kvm
  • In terminal 1:
cd firecracker-demo
TERM='xterm-256color'
python3 microvm-tiles.py
  • In terminal 2:
cd firecracker-demo
sudo ./0.initial-setup.sh 4000
./parallel-start-many.sh 0 4000 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment