Alibaba Cloud AgentBay
Activate a 2c4g CodeSpace custom image and create the API key that let Sandcovery run AgentBay sessions in your own Alibaba Cloud account.
Sandcovery runs each sandbox as an AgentBay session of a custom image in your Alibaba Cloud International account, in ap-southeast-1 (Singapore).
What runs
| Option | Support |
|---|---|
| Size | 2x4 only |
| Egress | allow_all only |
| Lifetime | Up to 24 hours |
| Pause and resume | No |
| Command output | Returned when the command exits |
| Region | ap-southeast-1 |
AgentBay's session API states no session size, so Sandcovery routes AgentBay only 2x4 requests and starts every session from a custom image you activate at 2c4g.
AgentBay's shell tool ends each call at 50 seconds, so Sandcovery starts every command in the background and reads its result once it exits. Files, environment variables, snapshots, port previews, custom images per sandbox, disk sizes, idle timeouts, and GPUs are not available on this provider.
Sign in to the AgentBay CLI
Install the AgentBay CLI and sign in to the International site:
export AGENTBAY_ENV=international
agentbay loginCreate and activate the custom image
Build a CodeSpace custom image from a Dockerfile, such as one that starts from code-space-debian-12, then activate it with no size options, which activates it at 2c4g:
agentbay image create sandcovery --dockerfile ./Dockerfile --imageId code-space-debian-12
agentbay image activate <image-id>Copy the image ID, which starts with imgc-.
Create the API key
agentbay apikey create --name "sandcovery"Add the credential
In Provider Credentials in the dashboard, add these two fields for Alibaba Cloud AgentBay:
- API key
- Custom image ID
Costs
Alibaba Cloud bills each session to your account per second, at $0.027 per core-hour and $0.0113 per GB-hour, so a 2c4g session costs about $0.10 an hour. Activating a custom image also incurs charges.