NavigationContentFooter
Jump toSuggest an edit
Was this page helpful?

Functions limitations

Reviewed on 10 February 2025Published on 12 October 2021

This section contains usage limits that apply when using Serverless Functions.

ResourcesCriteriaLimitsScope
NamespacesMax number100*Project
FunctionsMax number1000*Organization
Total function memory**Max size600 GiBOrganization
Custom domainsMax number50Function
Zip SizeMax size100 MiBFunction
Code SizeMax size500 MiBFunction
Temporary disk sizeMax size1024 MiBFunction instance
Invocation rateMax number1000 per secondFunction
ConcurrencyMax1Function instance
Scaling (Number of simultaneous Function Instances)Max50Function
Environment VariablesMax number100Function + Namespace
Environment VariablesMax size1000 charsEnvironment Variable
Secret Environment VariablesMax number100Function + Namespace
Secret Environment VariablesMax size65536 bytesSecret Environment Variable
Time before scale to zeroTime15 minutesInstance
Time before scale downTime30 secondsInstance
Max HTTP request duration***Max15 minutesRequest
PayloadMax size6 MiBRequest
LogsLogs30000 per minuteProject

* 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.

*** Maximum duration of a single HTTP request before this request is timed out. Use Serverless Jobs for tasks up to 24h.

These limits are enforced as Organization quotas.

If the limits are exceeded during the execution of the function, a restart occurs.

Configuration restrictionsLink to this anchor

To ensure the proper functioning of the product, we restrict the use of certain ports and environment variables.

Blocked portsLink to this anchor

Due to potential abuse (spam), no outbound traffic is allowed through following ports, except from Scaleway Transactional Email SMTP servers.

  • 25
  • 465

Reserved environment variables:Link to this anchor

  • SCW_*: Reserved for product configuration (for example: token validation).

Dedicated IPLink to this anchor

Not available: Serverless products are designed to abstract away infrastructure management, to be easily scalable, and to be cost-efficient and simple. So dedicated IPs are not supported for this product.

Private Network and Virtual Private Cloud (VPC) compatibilityLink to this anchor

Refer to the dedicated FAQ for more information on Serverless Functions compatibility with Private Networks and Virtual Private Cloud (VPC).

Versioning and rollbackLink to this anchor

Scaleway Functions do not currently support versioning or automatic rollback mechanisms. However, in the event of a failed deployment, the previously deployed version of the function will continue to handle incoming requests for up to 24 hours. After this period, the function in error will be deleted, and requests will no longer be served until a successful deployment is made. This ensures temporary service continuity, but it is important to monitor and resolve deployment issues promptly, as the fallback is not intended to provide long-term version control or rollback capabilities.

Below is an example than illustrates this behavior:

  • Time +0H: The first function is deployed and works correctly.
  • Time +1H: The function is redeployed, but the deployment fails, and the function ends up in an error state.
  • Time +2H: Despite the failed deployment, the first function is still handling incoming requests.
  • Time +25H: The 24-hour window expires, and both the first working function and the failed function are removed, leading to service disruption until a new successful deployment is made.
Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2025 – Scaleway