- Install iperf3
- Install docker from here.
- Setup gVisor using this.
- Instructions for testing AWS lambda is given here
- In the framework, the docker images for emulating lambda environment locally is used which is here.
- Run the script, by default the script will start one container:
sudo ./launch-gvisor-lambda.sh
- For starting one than one instance pass it as a command line argument
example:
sudo ./launch-gvisor-lambda.sh 10
- To run multiple microVMs via firecracker, start the launch-many-firecracker.sh scripts and pass the number of microVMs you want to start as an arguements. example:
sudo ./launch-many-firecracker.sh 10
This will spin 10 microVMs.
- Run cleanup.sh after you are done.
sudo ./cleanup.sh