|
1 | 1 | # Daytona Documentation v0.18.0 |
2 | | -# Generated on: 2025-05-22 |
| 2 | +# Generated on: 2025-05-26 |
3 | 3 |
|
4 | 4 |
|
5 | 5 | title: API Keys |
@@ -1387,6 +1387,51 @@ const completions = await lspServer.getCompletions({ |
1387 | 1387 | console.log('Completions:', completions) |
1388 | 1388 | ``` |
1389 | 1389 |
|
| 1390 | +title: Limits |
| 1391 | + |
| 1392 | +Daytona enforces resource limits to ensure fair usage and stability across all organizations. Your organization has access to a compute pool consisting of: |
| 1393 | + |
| 1394 | +- **vCPU** — total CPU cores available |
| 1395 | +- **Memory** — total RAM available |
| 1396 | +- **Disk** — total disk space across sandboxes |
| 1397 | + |
| 1398 | +These resources are pooled and shared across all running Sandboxes. |
| 1399 | +The number of Sandboxes you can run at once depends on how much CPU, RAM, and disk each one uses. You can see how to configure and estimate resource usage in the [Sandbox Management docs](https://www.daytona.io/docs/sandbox-management/). |
| 1400 | + |
| 1401 | +:::tip |
| 1402 | +### Manage usage dynamically |
| 1403 | + |
| 1404 | +Only **Running** Sandboxes count against your vCPU, memory, and disk limits. |
| 1405 | +Use **Stop**, **Archive**, or **Delete** to manage resources: |
| 1406 | + |
| 1407 | +- **Stopped** Sandboxes free up CPU and memory but still consume disk. |
| 1408 | +- **Archived** Sandboxes free up all compute and move data to cold storage (no quota impact). |
| 1409 | +- **Deleted** Sandboxes are permanently removed and free up all resources, including disk. |
| 1410 | +::: |
| 1411 | + |
| 1412 | + |
| 1413 | + |
| 1414 | + |
| 1415 | +Check your current usage and limits in the [Dashboard](https://app.daytona.io/dashboard/limits). |
| 1416 | + |
| 1417 | +## Tiers & Limit Increases |
| 1418 | + |
| 1419 | +Organizations are automatically placed into a Tier based on verification status. |
| 1420 | +You can unlock higher limits by completing the following steps: |
| 1421 | + |
| 1422 | +| Tier | Compute Pool (vCPU / RAM / Disk) | Access Requirements | |
| 1423 | +|----------|----------------------------------|------------------------------------| |
| 1424 | +| Tier 1 | 10 / 10GiB / 30GiB | Email verified | |
| 1425 | +| Tier 2 | 100 / 200GiB / 300GiB | Credit card linked, GitHub connected, $10 top-up. | |
| 1426 | +| Tier 3 | Everything bigger 🚀 | Coming soon. | |
| 1427 | +| Custom | Custom limits | Contact [ [email protected]](mailto: [email protected]) | |
| 1428 | + |
| 1429 | +You’ll be automatically upgraded once you meet the criteria. |
| 1430 | + |
| 1431 | +## Need More? |
| 1432 | + |
| 1433 | +If you need higher or specialized limits, reach out to [ [email protected]](mailto: [email protected]). |
| 1434 | + |
1390 | 1435 | title: Log Streaming |
1391 | 1436 |
|
1392 | 1437 | When executing long-running processes in a sandbox, you’ll often want to access and process their logs in **real time**. |
@@ -2136,6 +2181,7 @@ title: Sandbox Management |
2136 | 2181 | import { Tabs, TabItem } from '@astrojs/starlight/components'; |
2137 | 2182 |
|
2138 | 2183 | Sandboxes are isolated development environments managed by Daytona. This guide covers how to create, manage, and remove Sandboxes using the SDK. |
| 2184 | +By default, Sandboxes auto-stop after 15 minutes of inactivity and use **1 vCPU**, **1GB RAM**, and **3GiB disk** disk. |
2139 | 2185 |
|
2140 | 2186 | ## Creating Sandboxes |
2141 | 2187 |
|
@@ -2189,12 +2235,17 @@ const sandbox = await daytona.create({ labels: { SOME_LABEL: 'my-label' } }); |
2189 | 2235 |
|
2190 | 2236 |
|
2191 | 2237 | :::note |
2192 | | -Daytona keeps a pool of ready-to-go "warm" Sandboxes. When available, they are automatically used if the default image is used, reducing the creation time down to a fraction of a second. |
| 2238 | +Daytona keeps a pool of warm Sandboxes using default images. |
| 2239 | +When available, your Sandbox will launch in milliseconds instead of cold-booting. |
2193 | 2240 | ::: |
2194 | 2241 |
|
2195 | 2242 | ### Sandbox Resources |
2196 | 2243 |
|
2197 | | -You can configure the compute resources allocated to your Sandbox using the `SandboxResources` class. This allows you to specify the number of CPU cores, the memory and disk space. |
| 2244 | +Daytona Sandboxes come with **1 vCPU**, **1GB RAM**, and **3GiB disk** by default. |
| 2245 | + |
| 2246 | +Need more power? Use the `SandboxResources` class to define exactly what you need: CPU, memory, and disk space are all customizable. |
| 2247 | + |
| 2248 | +Check your available resources and limits in the [dashboard](https://app.daytona.io/dashboard/limits). |
2198 | 2249 |
|
2199 | 2250 | ```python |
2200 | 2251 | from daytona_sdk import Daytona, CreateSandboxParams, SandboxResources |
@@ -2274,9 +2325,9 @@ const state = sandbox.instance.state |
2274 | 2325 |
|
2275 | 2326 | To get the preview URL for a specific port, check out [Preview & Authentication](/docs/preview-and-authentication). |
2276 | 2327 |
|
2277 | | -## Remove Sandbox |
| 2328 | +## Stop & Remove Sandbox |
2278 | 2329 |
|
2279 | | -Daytona SDK provides methods to perform operations on Sandboxes, such as removing Sandboxes using Python and TypeScript. |
| 2330 | +Daytona SDK provides methods to stop and delete Sandboxes using Python and TypeScript. |
2280 | 2331 |
|
2281 | 2332 | ```python |
2282 | 2333 | # Remove Sandbox |
@@ -2760,38 +2811,6 @@ __Flags__ |
2760 | 2811 | | :--- | :---- | :---------- | |
2761 | 2812 | | `--help` | | help for daytona | |
2762 | 2813 |
|
2763 | | -title: Usage |
2764 | | - |
2765 | | -The Usage subpage in the Dashboard shows usage limits assigned to Organizations. Contact us at [ [email protected]](mailto: [email protected]) to request a limit increase. |
2766 | | - |
2767 | | -## CPU Quota |
2768 | | - |
2769 | | -The CPU Quota is the maximum number of CPU cores that can be used by Sandboxes in an Organization. |
2770 | | - |
2771 | | -## Memory Quota |
2772 | | - |
2773 | | -The Memory Quota is the maximum amount of RAM that can be used by Sandboxes in an Organization expressed in gigabytes. |
2774 | | - |
2775 | | -## Disk Quota |
2776 | | - |
2777 | | -The Disk Quota is the maximum amount of disk space that can be used by Sandboxes in an Organization expressed in gigabytes. |
2778 | | - |
2779 | | -## Sandboxes/Running Sandboxes Quota |
2780 | | - |
2781 | | -The Sandboxes Quota is the maximum number of Sandboxes that can be created in an Organization. |
2782 | | - |
2783 | | -The Running Sandboxes Quota is the maximum number of Sandboxes that can be in Running state in an Organization at the same time. |
2784 | | - |
2785 | | -## Images/Total Image Size Quota |
2786 | | - |
2787 | | -The Images Quota is the maximum number of Images that can be created in an Organization. |
2788 | | - |
2789 | | -The Total image size Quota is the maximum amount of disk space that can be used by Images in an Organization expressed in gigabytes. |
2790 | | - |
2791 | | -## Volumes Quota |
2792 | | - |
2793 | | -The Volumes Quota is the maximum number of Volumes that can be created in an Organization. |
2794 | | - |
2795 | 2814 | title: Volumes |
2796 | 2815 |
|
2797 | 2816 | import { Tabs, TabItem } from '@astrojs/starlight/components'; |
|
0 commit comments