Jump toSuggest an edit
Functions limitations
Reviewed on 15 January 2024 • Published on 12 October 2021
This section contains usage limits that apply when using Serverless Functions.
Resources | Criteria | Limits | Scope |
---|---|---|---|
Namespaces | Max number | 100* | Project |
Functions | Max number | 1000* | Organization |
Total function memory** | Max size | 600 GiB | Organization |
Zip Size | Max size | 100 MiB | Function |
Code Size | Max size | 500 MiB | Function |
Temporary disk size | Max size | 1024 MiB | Function instance |
Invocation rate | Max number | 1000 per second | Function |
Concurrency | Max | 1 | Function instance |
Scaling (Number of simultaneous Function Instances) | Max | 50 | Function |
Environment Variables | Max number | 100 | Function + Namespace |
Environment Variables | Max size | 1000 chars | Environment Variable |
Secret Environment Variables | Max number | 100 | Function + Namespace |
Secret Environment Variables | Max size | 65536 bytes | Secret Environment Variable |
Time before scale to zero | Time | 15 minutes | Instance |
Time before scale down | Time | 30 seconds | Instance |
Timeout*** | Max | 15 minutes | Request |
Payload | Max size | 6 MiB | Request |
Logs | Logs | 30000 per minute | Project |
* Lower limits may apply before account verification. Contact our support team if you have any questions.
** Total function memory is the sum of the memory allocated to all your functions at their maximum Scale.
*** Use Serverless Jobs for longer tasks.
These limits are enforced as Organization quotas.
If the limits are exceeded during the execution of the function, a restart occurs.
Configuration restrictions
In order to ensure the proper functioning of the product, we restrict the use of certain ports and environment variables.
- Blocked ports:
- 25: Due to potential abuse (spam), no outbound traffic is allowed through this port, except from Scaleway Transactional Email SMTP servers.
- 465: Due to potential abuse (spam), no outbound traffic is allowed through this port, except from Scaleway Transactional Email SMTP servers.
- Reserved environment variables:
SCW_*
: Reserved for product configuration (for example: token validation).