Clone
11
FAQ
Austen edited this page 2015-10-13 13:29:17 -07:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

What does the JAWS Acronym stand for?

Official: Just AWS Without Servers

Other:

  • Jacked AWS With Steroids

Why do you use an S3 bucket to store env vars?

You never want to store your service keys / credentials in version control. IAM policies for S3 allow for fine grain access control. You only give access to the bucket that contains env vars to people with authority to deploy code. See the jaws env command for more information

Why only 1 S3 bucket for env vars?

S3 buckets are a limited resource and one of the only globally unique assets in AWS. This combined with the fact that we prefer convention over configuration led us down this decision. Instead of one bucket per project per stage, we have one bucket and based on convention store data for your JAWS projects and stages.

The convention is:

s3://<proj jaws.json:envVarBucket.name>/JAWS/envVars/<projectName>/<stage>

Why optimize code before deployment?

The smaller the size of code, the quicker your container gets up and running. The less code in the execution path, the quicker your runtime VM returns a result. Both of these statements verified by AWS Lambda engineers. See this issue for an in depth background.

Can the lambda functions in the lambdas folder use multiple languages?

Yes, one lambda can use the “nodejs” runtime and another can use “java8”. When the JAWS-clis deploy command is used, the JAWS-cli checks the Runtime of the lambda specified in jaws.json and puts it through a build pipeline designed for that Runtime in particular.

What types of jaws-modules can I publish?

Any type. A jaws-module can be a simple lambda function, a group of lambda functions, or an entire project.