AWS’s serverless Lambda functions open a world of possibilities for running on-demand, server-side code without having to run a dedicated server. However, managing service discovery, configuring API gateways, and coordinating deployments between your app and your serverless functions can quickly become overwhelming.
Netlify lets you deploy serverless Lambda functions without an AWS account, and with function management handled directly within Netlify. Your serverless functions are version-controlled, built, and deployed along with the rest of your Netlify site, and we will automatically handle service discovery through our built-in API gateway. This eliminates overhead and brings the power of Deploy Previews and rollbacks to your serverless functions.
For longer-running serverless function tasks, Background Functions allow for extended execution time using asynchronous invocation.
# Manage your serverless functions
Serverless Lambda functions deployed via Netlify are immutable. This means that an update to a function on your production branch won’t change the version that was deployed in a branch deploy, or in a Deploy Preview. You can access all versions of your serverless functions in the Netlify web interface, under the Functions tab.
By default, the list displays all of the serverless functions, including background functions, in the current production deploy. To find functions on another deploy, you can use the dropdown at the top of the list. You can start typing to jump to a particular branch, or find a Deploy Preview by number.
# Default deployment options
By default, all serverless functions are deployed with:
- us-east-1 AWS Lambda region
- 1024MB of memory
- 10 second execution limit for synchronous serverless functions
- 15 minute execution limit for background functions
# Custom deployment options
If you want to deploy your serverless functions on different AWS regions, tweak memory or execution time limits, or deploy serverless functions onto your own AWS account (in order to integrate with other AWS services on your account), please contact sales.
# More Functions resources
- Configure and deploy Functions
- File-based configuration for Functions
- Function logs
- Build serverless functions with TypeScript
- Build serverless functions with Go
- Trigger serverless functions on events
- Functions and Identity
- Background Functions overview
- Functions usage and billing
Visit our learning platform, Jamstack Explorers, for a mission on getting up and running with serverless functions.
Did you find this doc useful?
Your feedback helps us improve our docs.