Install, Update, Configure, and Publish Function-as-a-Service Packages (a.k.a FaaSPack).
FaaSPacks are cloud functions that are meant to be installed directly into your cloud infrastructure.
Simply run:
pip install fspk
- We assume you have an AWS account
- We assume you have AWS credentials setup
- We assume those credentials can:
- Create / Manage IAM Roles
- Create / Manage Lambda Functions
- Create / Manage API Gateway
Install the hello-world-faaspack FaaSPack.
fspk install hello-world-faaspack
Assuming you have the AWS CLI installed
aws lambda invoke --function-name hello-world-faaspack output.txt
Now open output.txt and you should see:
"Hello World"
Try passing in a payload
aws lambda invoke --function-name hello-world-faaspack --payload '{"name": "Jane"}' output.txt
Now open output.txt and you should see:
"Hello Jane"
We only support AWS currently but plan to support Azure, Google, and IBM along with other public clouds. We also plan to support private and hybrid FaaS such as OpenFaaS.
Apache 2.0