Daytona.Region reference
Region
Section titled “Region”Source:
packages/daytona/src/Region.ts
A custom region: your own compute (see Runner) registered with
Daytona, so sandboxes run on machines you operate while Daytona runs
the control plane. Needs an organization allowed to bring its own
compute.
Daytona shows the region’s API keys only when they are created or
rotated, so alchemy keeps them in state as Redacted values. Bump a
rotate counter to rotate one.
Region: Bringing Your Own Compute
Section titled “Region: Bringing Your Own Compute”export const Home = Daytona.Region("Home", { proxyUrl: "https://proxy.daytona.example.com", sshGatewayUrl: "ssh.daytona.example.com:2222",});Runner
Section titled “Runner”Source:
packages/daytona/src/Runner.ts
A runner: a machine you operate that hosts sandboxes for a custom
Region. Declaring it registers the runner and mints the API key
its daemon uses; you then start the daemon on the machine with that key.
Runner: Registering a Runner
Section titled “Runner: Registering a Runner”export const Box1 = Daytona.Runner("Box1", { region: Home });