Parameter | Description |
Basic information | |
Name | Specify a custom name for the sandbox application. The sandbox application name must be unique within the same account. The name cannot be modified after being created. |
Description | Enter the description of the sandbox application. It can be left empty. |
For sandbox images | |
Container image | Deploy sandbox applications by using container images:
|
Startup command | Enter a start command for the application. If you need to specify a script file, use an absolute path and make sure that the script file has executable permissions. tip
|
Listening port | Enter the port that the HTTP server listens on. warning
|
Gateway routing configuration | |
Domain type | The domain type of the sandbox application. Valid values:
|
APIG instance | Select an APIG instance. The sandbox application will use an APIG instance as the traffic entrance. |
Gateway service | Select the service that corresponds to the APIG instance. |
Route name | Specify a custom route name. The route name cannot be modified after being created. |
Path | Set a request path through which the sandbox application can be accessed. It can be matched only by a prefix and must start with a forward slash (/). |
Route authentication | Configure route authentication for the APIG instance to ensure the route security of the sandbox application.
tip When you use Key Auth, the APIG instance version must be v3.1 or later. If the version does not meet your business requirements, you can submit an APIG ticket or contact your Volcano Engine account manager to upgrade the instance version. |
Environment variables | |
Environment variables | Configure custom environment variables, which can be directly read during the runtime of the function code. tip If you set the Container image parameter to Custom images, veFaaS will automatically parse the configuration file of the target image to obtain the environment variables for the image. You can modify it if necessary. |
Advanced settings | |