Over the past years I’ve tried working with lambda functions on and off a couple of times. Each time I got stuck, either clicking in AWS UIs or writing YAML files.

Netlify changes all that by making lambdas easy to use. Below I’ll describe the basics of deploying a function, and I’ll show how the development tools support local development.

The most basic hello world example I could come up with can be found in this repo, tagged basic-javascript-lambda. There’s a simple index.html file (a left over from earlier experiments), and a hallo.js file in src/functions. That’s almost al there is to it, but it needs one specific bit of configuration in a file named netlify.toml, located in the root of the repository.


Do you want to know more about this subject?
Look at our consultancy services, training offers and careers below or contact us at info@xebia.com