Parameter | Description |
Function name | Specify a custom name for the function. Function names cannot be repeated within the same account. After a function name is created, it cannot be modified. |
Parameter | Description |
Deployment method | You can select one of the following deployment methods based on your business requirements.
tip Public images are contributed by community developers. veFaaS does not maintain them. If you encounter issues during software usage, provide feedback to the community.
tip The code Zip file must not be encrypted and must not exceed 256 MiB in size.
|
Runtime | Select a runtime environment for the function code. If the preset runtime does not meet your business requirements, you can use a custom image to create a runtime that meets your business requirements for code execution environment and startup method. For instructions on creating custom runtimes, see Creating custom runtimes. |
Webserver mode | Default value: Yes. You need to implement an HTTP server in the image or code and enable the server to listen on a port to process requests. |
Start command | Enter the start command of the program.
|
Listening port | Enter the port that the HTTP server listens on. The default port is port 8000. Valid values: 1024 to 65535. Avoid using ports 9000, 9001, and 9990, which are occupied by services. warning The enabled HTTP server needs to listen on 0.0.0.0:Port or *:Port. Otherwise, a request timeout error will occur. |