Exemplary approach to perform Fault Injection in Function-as-a-Service application deployments.
This implementation focuses on YAML-based deployments to AWS Lambda using the Serverless framework.
paper tbd
See overview of identified config options here.
See results of experiment observations here.
Clone this repo, cd into it, start Docker, run the following:
docker run -it -v ${PWD}/configurations:/confs anyxo/fafafa /confs/minimal.yml
Clone this repo, cd fafafa, run swift run <config.yml>
-
create a local folder for your configuration input and output, e.g.
mkdir myconfig
-
put your input configuration file into that folder, e.g.
mv serverless.yml myconfig
-
run the Docker image, mapping your folder into the container, e.g.
docker run -it -v ${PWD}/myconfig:/myconfig fafafa /myconfig/serverless.yml -o /myconfig/serverless_modified.yml
A few things to note here:
-itis needed because this command requires an interactive shell-vneeds absolute paths to work correctly (the example uses${PWD}for convenience-oand an output file can be omitted (then the result is printed to the console)
Additionally, please note that some functionality (currently wildcard pattern matching) is limited to macOS