Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mostafa/firefighter
A set of scripts to download or build firecracker and run a firecracker micro-VM
https://github.com/mostafa/firefighter
amazon firecracker firecracker-microvms microvm serverless
Last synced: about 2 months ago
JSON representation
A set of scripts to download or build firecracker and run a firecracker micro-VM
- Host: GitHub
- URL: https://github.com/mostafa/firefighter
- Owner: mostafa
- License: apache-2.0
- Archived: true
- Created: 2019-12-10T17:11:36.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-22T05:06:54.000Z (over 4 years ago)
- Last Synced: 2024-06-03T09:39:55.955Z (4 months ago)
- Topics: amazon, firecracker, firecracker-microvms, microvm, serverless
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 18
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Firefighter
Firefighter is, for now, as set of scripts to download or build from source the [firecracker](https://github.com/firecracker-microvm/firecracker) and the [firectl](https://github.com/firecracker-microvm/firectl), download linux images and then eventually run them as a microvm.
For now, things are opinionated. But I'll fix it in the future and make everything configurable.
For starting a new microvm, run this:
```bash
git clone https://gitlab.com/moradian/firefighter
cd firefighter
./run_microvm.sh start alpine
```You'll eventually be in a shell inside alpine. To enable networking and internet connectivity, run this:
The username and password is `root`.
```bash
ip addr add 172.16.0.2/24 dev eth0
ip route add default via 172.16.0.1 dev eth0
echo "nameserver 8.8.8.8" > /etc/resolv.conf
ping google.com
```To stop the microvm, run `restart` inside microvm and then `./run_microvm.sh stop` from your host.