Toggle navigation
Toggle navigation
This project
Loading...
Sign in
서승완
/
kappa
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Mitch Garnaat
2014-11-28 18:51:10 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ee0af6e8d7a9a27613f85e036cfabf759d1c8855
ee0af6e8
1 parent
55e78529
Adding an inadequate README file.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
README.md
README.md
0 → 100644
View file @
ee0af6e
kappa
=====
**Kappa**
is a command line tool that (hopefully) makes it easier to
deploy, update, and test functions for AWS Lambda.
There are quite a few steps involved in developing a Lambda function.
You have to:
*
Write the function itself (Javascript only for now)
*
Create the IAM roles required by the Lambda function itself (the executing
role) as well as the policy required by whoever is invoking the Lambda
function (the invocation role)
*
Compress the function and any dependencies and upload it to AWS Lambda
*
Test the function with mock data
*
Retrieve the output of the function from CloudWatch Logs
*
Add an event source to the function
*
View the output of the live function
Kappa tries to help you with some of this. The IAM roles are created
in a CloudFormation template and kappa takes care of creating, updating, and
deleting the CloudFormation stack. Kappa will also zip up the function and
any dependencies and upload them to AWS Lambda. It also sends test data
to the uploaded function and finds the related CloudWatch log stream and
displays the log events. Finally, it will add the event source to turn
your function on.
Kappa is a command line tool. The basic command is:
kappa --config <path to config file> <command>
Where commands is one of:
*
deploy - deploy the CloudFormation template containing the IAM roles and zip the function and upload it to AWS Lambda
*
test - send test data to the new Lambda function
*
tail - display the most recent log events for the function
*
delete - delete the CloudFormation stack containing the IAM roles and delete the Lambda function
The
``config file``
is a YAML format file containing all of the information
about your Lambda function.
An example project based on a Kinesis stream can be found in
``samples/kinesis``
.
Please
register
or
login
to post a comment