DEV Community

Cover image for A crash course on Serverless with AWS - Running Node.js 11 on Lambda

A crash course on Serverless with AWS - Running Node.js 11 on Lambda

Adnan Rahić on December 13, 2018

Quite 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 ca...
Collapse
 
harkinj profile image
harkinj

Great article. I find it strange that the runtime to be used is specified in the .yml file by 'layers: arn:aws:lambda:us-east-1:553035198032:layer:nodejs11:3' i.e specifying the layers property. Its as if they are the same concept/thing?

Collapse
 
adnanrahic profile image
Adnan Rahić

Thanks! Glad you liked it. Take a look at how AWS explains it. Runtimes are essentially packages of code that you provide to your functions. You use the capabilities of Layers to provide that code. Check out how you can add your own runtime. It's an awesome concept, and I can only see this growing in the future!

Collapse
 
dimensi0n profile image
Erwan ROUSSEL

Amazing post 😊 thx