mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
46 lines
1.8 KiB
Markdown
Executable File
46 lines
1.8 KiB
Markdown
Executable File

|
|
|
|
JAWS: The Javascript + AWS Stack
|
|
=================================
|
|
|
|
**Under-Construction! Go for a swim while we finish this. The water is nice...**
|
|
|
|
Starring
|
|
=================================
|
|
|
|
**Javascript:**
|
|
- Node.js
|
|
- jQuery
|
|
|
|
**AWS Services:**
|
|
- DynamoDB - *Managed, NOSQL data storage*
|
|
- Lambda - *Build worker tasks that you can spawn and scale infinitely.*
|
|
- API Gateway - *Launch an API with urls pointing to your Lambda functions*
|
|
- S3 - *Host static assets for your site here*
|
|
|
|
Architecture
|
|
=================================
|
|
|
|

|
|
|
|
|
|
|
|
Set-Up
|
|
=================================
|
|
|
|
#### AWS Set-Up
|
|
|
|
* [Create an AWS account](http://aws.amazon.com/,), if you don't have one already
|
|
* Create an IAM user
|
|
|
|
#### Creating New API Routes/Lambda Functions
|
|
|
|
* Copy and paste the `api/template` folder somewhere in the `api` folder and rename it.
|
|
* To require the `lib` into your Lambda functions, we recommend creating an [npm link](https://egghead.io/lessons/node-js-using-npm-link-to-use-node-modules-that-are-in-progress). Cd into your lib folder, run `npm link`, then cd into your lambda function's folder and run `npm link jaws-lib`.
|
|
|
|
Resources
|
|
=================================
|
|
* [List Of AWS Tips](https://wblinks.com/notes/aws-tips-i-wish-id-known-before-i-started/)
|
|
* [Amazon Monthly Cost Estimate Calculator](http://calculator.s3.amazonaws.com/index.html)
|
|
* [Set-Up AWS Billing Alerts](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/monitor-charges.html)
|