Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.
/ fspk-cli Public archive

Install, Update, Configure, and Publish Function-as-a-Service Packages (a.k.a FaaSPack).

Notifications You must be signed in to change notification settings

floodfx/fspk-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fspk

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.

Installation

Simply run:

pip install fspk

Getting Started

Assumptions / Pre-reqs

  • 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

Hello World

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"

Supported Clouds / FaaS Providers

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.

License

Apache 2.0

About

Install, Update, Configure, and Publish Function-as-a-Service Packages (a.k.a FaaSPack).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages