My Faas server so I can deploy dumb stuff safely.
Go to file
2024-04-08 12:53:07 -03:00
build.sh tweaks 2024-04-08 12:53:07 -03:00
down Do not start this automatically 2022-07-21 18:27:22 -03:00
id_rsa.pub working state 2022-07-16 16:57:11 -03:00
README.md Fix readme 2022-12-14 10:29:28 -03:00
setup.sh tweaks 2024-04-08 12:53:07 -03:00

WHAT?

Automate creating a Faasd image.

Goal is to run this image via ignite which runs it in a firecracker microvm.

WHY?

I need to do this because I need to run Faasd in the same machine as dockerized services and according to its documentation that shouldn't be done because both use incompatible versions of underlying dependencies.

Also in this way resource usage of Faasd and all "lambdas" in it is capped by the VM resources, and the rest of the system is sort-of-protected by the VM sandbox.

HOW?

Assuming you have ignite and faas-cli installed:

  • replace id_rsa.pub with yours
  • run build.sh

You will end up with:

  • A running ubuntu-based VM with faasd installed and running
  • Ssh enabled and accessible via that key
  • The faasd port exposed as localhost:8082
  • Your account logged into faasd
  • The figlet function installed and working