A crash course on #serverless with #aws — Running Node.js 11 on Lambda
▻https://hackernoon.com/a-crash-course-on-serverless-with-aws-running-node-js-11-on-lambda-6ac67
A crash course on Serverless with AWS — Running Node.js 11 on LambdaQuite an exciting title, isn’t it? I was hyped when I heard AWS was adding support for custom runtimes and layers for AWS Lambda. This means you can now build your own custom artifacts, enabling you to share and manage common code between functions.I won’t say I fainted when I heard the announcement. But, I did. Don’t tell anybody.What’ll we be doing?This article will show you how to hook up a custom Node.js 11 runtime to AWS Lambda. We’ll create a simple Serverless project with a sample function, and add a layer that will enable us to run the Node.js 11 runtime.How it worksTo use a custom runtime, you have to specify that you’re providing one when deploying your function. When the function is invoked, AWS Lambda will bootstrap (...)