# Alibaba Cloud ACS Agent Sandbox

Create the Team API key, E2B domain, and warm pool that let Sandcovery run Agent Sandbox in your own ACS cluster.

For Alibaba Cloud ACS Agent Sandbox, set up your ACS cluster as [Create an Agent Sandbox](https://www.alibabacloud.com/help/en/cs/user-guide/create-an-agent-sandbox) describes, with these choices:

- Install `ack-sandbox-manager` with E2B API key authentication on, and serve its [native protocol](https://www.alibabacloud.com/help/en/cs/user-guide/connect-to-agent-sandbox-using-the-e2b-sdk): resolve `*.<domain>` to the cluster's Ingress and install a wildcard certificate from a public certificate authority, such as Let's Encrypt. Sandcovery trusts no self-signed certificate and does not speak the private protocol's `/kruise/` paths.
- Create a namespace for Sandcovery, such as `sandcovery`, and in it the SandboxSet `code-interpreter` from that page's YAML, at 1 vCPU and 1 GiB with the `default` compute QoS, which the provider board prices as `acs/1x1`.
- With the admin key, [create an API key](https://www.alibabacloud.com/help/en/cs/user-guide/manage-api-keys-and-teams) for that namespace's Team, and add that key. Never add the admin key, which manages every Team's keys and reaches every sandbox in the cluster.

Add the E2B domain, which is the add-on's `domain` parameter without `*.`, and the region ID of your cluster: `cn-hongkong`, `ap-northeast-1`, `ap-northeast-2`, `ap-southeast-1`, `ap-southeast-3`, `ap-southeast-5`, `ap-southeast-6`, `ap-southeast-7`, `ap-southeast-8`, `eu-central-1`, `eu-west-1`, `eu-west-2`, `us-east-1`, `us-southeast-1`, or `us-west-1`. These are the regions that Alibaba Cloud's [China (Hong Kong) and outside China prices](https://www.alibabacloud.com/help/en/agent-sandbox/product-overview/billing-overview) cover and that fall in a Sandcovery region. Sandcovery refuses a key in any other region before it calls your cluster.
