- Documentation
Volcano Engine Function as a Service
User guide
Cloud sandbox
Sandbox application
Wildcard domain configuration for sandbox applications
Sandbox application
Wildcard domain configuration for sandbox applications
Wildcard domain configuration for sandbox applications
A sandbox application is the fundamental unit of a cloud sandbox, which is used for managing resource scheduling and operation. This topic mainly describes how to create, use, and manage cloud sandbox applications in the veFaaS console.
Creating sandbox applications
- An API Gateway (APIG) instance and corresponding services (domain names) have been created to expose the application endpoint. For details, see Creating instances and Creating services.
- (Optional) The Volcano Engine Torch Log Service (TLS) has been activated. If you need to use a custom logging project to handle function logs, ensure that the project and topics have already been created. For details, see Creating log projects and Creating log topics.
- (Optional) The Volcano Engine Virtual Private Cloud (VPC) service has been activated, and a VPC, subnets, and security groups have been created in the region where the function is to be deployed. For details, see Creating VPCs, Creating subnets, and Creating security groups.
- (Optional) Read Mounting TOS for instructions related to Torch Object Storage (TOS).
- In the top navigation bar, select the target region.
- In the left navigation bar, click Cloud sandbox > Sandbox app. Then, click Create sandbox app.
- On the Create sandbox applications page, specify parameters according to the following instructions.
- Read and select the checkbox of Function Service Terms of Service and Function Service Product Service Level Agreement, and then click Confirm to create the sandbox application.
Managing sandbox applications
After creating a sandbox application, you can view its basic information, monitoring information, and logs. You can also manage it and set queries per minute (QPM) for the API that creates sandbox instances.
- In the top navigation bar, select the target region.
- In the left navigation bar, click Cloud sandbox > Sandbox app.
- On the Sandbox app page, view information about the sandbox application.
- Find a sandbox application and click the application name to go to the details page.
- You can release or delete the application in the upper-right corner of the details page.
- You can view or configure monitoring for sandbox applications. For details, see Monitoring and logs.
Testing sandbox applications
The following content will use an image named sandbox-fusion and tagged as Code type as an example to demonstrate how to test a sandbox application.
Execute the curl command locally to call the API to test the cloud sandbox application. You can specify instance requests by using x-faas-insatnce-name.
- Replace https://****.apigateway-cn-beijing.volceapi.com with the actual access address of your cloud sandbox function.
- Replace the value of data as needed.
tip
- If you are usingvefaas-public/sandbox-fusion, read the open-source document Sandbox fusion and then replace the value of the data parameter.
- If you are using a custom image, specify the value of the data parameter according to the actual requirements.
Performing testing by using Playground
- On the details page of the sandbox application, go to the Basic information tab and find the Gateway routing configuration section, where you can view the access address of the application.
- On the Sandbox Fusion page, click the Playground tab and then click Sandbox in the left navigation bar.
- In the Code textbox, select a programming language and enter your code, and then click Submit to submit the code.
- After the code is run, view the result.
Last updated: 2026.08.19 14:06:07