Jump toUpdate content
This section contains usage limits that apply when using Serverless Containers.
|Image size Compressed||Max size||250MB||Container|
|Image size Uncompressed||Max size||1G||Container|
|Temporary disk size||Max size||512 MB||Container|
|Invocation rate||Max Number||1000 per second||Container|
|Scale (Number of simultaneous Container Instance)||Max||20||Container|
|Environment Variables||Max Number||100||Function + Namespace|
|Environment Variables||Max Size||1000 chars||Environment Variables|
|Time before scale to zero||Time||15m||Instance|
|Time before scale down||Time||30s||Instance|
In order to ensure the proper functioning of the product, we restrict the use of certain ports and environment variables
- 25: Due to potential abuse (SPAM), no outbound traffic is allowed through this port
Reserved environment variables:
PORT: Port on which your server should listen to:
SCW_*: Reserved for product configuration (for example: token validation)
We use Knative on Scaleway Kaspule to deliver the CaaS Product. Hence, if you use your image on a knative service it should work.
- Web Server: Your container needs to include a web server (otherwise CaaS will not be able to wake it up).
- Execution: A container can run up to 15 min after receiving its last request.
- Port: Your application should listen on either the environment variable
$PORT(reserved) or on port
- Inbound traffic: Only HTTP (1 or 2) inbound traffic is allowed.
- Token and access management: You can configure a token through the Scaleway Console or API. Our API will set the following environment variables, which you need to use in your application to validate incoming requests (token provided by our APIs):
falsebased on your privacy settings.
SCW_PUBLIC_KEY: PEM-encoded public Key used to decrypt tokens.
SCW_NAMESPACE_ID: Current Namespace ID
SCW_APPLICATION_ID: Current Container ID