DEV Community

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

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!