Tutorial video npm init npm -i –save (libraries) open in code, create handler function in index.js zip -r deploy.zip ./
Category: AWS
Elastic Search Pagination
Paginate search results Best practice API pagination ElasticSearch pagination techniques Deep pagination is one of the top performance killers for your cluster. Deep
Terraform notes
The definitive guide to using Terraform with the serverless framework Serverless pattern collection The entire Serverless Patterns Collection is also
AWS Best practices
Best practices for organizing larger serverless applications Best Practices for Designing Amazon API Gateway Private APIs and Private Integration HTTP
AWS Nodejs Load Credential from JSON
Load crendentials from json file Set up a config.json as follows: { “accesskeydId”: “”, “secretAccessKey”: “”, “sessionToken”:””, “securityToken”: “”, “region”:”us-west-2″
AWS Cloudwatch Notes
To see top 10 lambda functions by error count: Got to AWS console->Cloudwatch->All metrics SELECT SUM(Errors) FROM SCHEMA(“AWS/Lambda”, FunctionName) GROUP
AWS Websocket notes
WSCAT – utility is a convenient tool for testing a WebSocket API Tutorial: Building a serverless chat app with a
AWS X-Ray
Tracing calls to downstream HTTP web services using the X-Ray SDK for Node.js Related Stackover flow Serverless Framework turn on
AWS Severless Application Repository
AWS Documentation Enriching Event-Driven Architectures with AWS Event Fork Pipelines by James Hood Patterns of serverless architecture that can be
API gateway to SQS
By introducing the SQS queue in front of Lambda, you create an asynchronous connection between the API request and Lambda.