Skip to main content

Overview

Daytona allows you to allocate specific compute resources to each sandbox. Resources are defined when creating a sandbox and determine its computational capacity.

Resource Types

Available Resources

Setting Resources

Basic Configuration

Resources are specified in the resources parameter when creating a sandbox:

GPU Allocation

For GPU-accelerated workloads:

Default Resources

When resources are not specified:
  • Sandboxes use default resource allocations based on your organization’s configuration
  • Resources can vary depending on the region and availability

Resource Planning

Use Case Examples

Lightweight Development

Standard Application Testing

Data Science Workloads

Machine Learning Training

Resizing Sandboxes

Sandbox resizing allows you to adjust resources without recreating the sandbox.

Monitoring Resources

Check Current Allocation

List Sandboxes with Resources

Snapshots with Resources

When creating snapshots with specific resource requirements:

Best Practices

  1. Start small: Begin with minimal resources and scale up based on actual usage.
  2. Match workload to resources:
    • CPU-intensive: Increase CPU cores
    • Memory-intensive: Increase RAM
    • Data processing: Increase disk space
    • ML/AI workloads: Add GPU resources
  3. Use cost-effective configurations: Right-size resources to avoid over-provisioning.
  4. Monitor and adjust: Use sandbox resizing to optimize resources over time.
  5. Snapshot resource templates: Create snapshots with different resource profiles for common use cases.

Resource Limits

Resource availability may be subject to:
  • Organization quotas
  • Region availability
  • Plan limitations
Contact your organization administrator or Daytona support for quota increases.