Quick Start
Setup Daytona API Key
How It Works
Daytona provides full development environments with persistent storage, making them ideal for long-term projects.Workspace Management
Development Environment
Persistent File Operations
Development Workflow
LLM Integration
Common Patterns
Full-Stack Development
DevOps Pipeline
Long-term Project Development
Configuration Options
Workspace Configuration
| Option | Type | Default | Description |
|---|---|---|---|
template | str | "basic" | Workspace template |
resources | Dict | {"cpu": 2, "memory": 2048} | Resource allocation |
storage | int | 10240 | Storage in MB (10GB) |
timeout | int | 0 | Workspace timeout (0 = persistent) |
Available Templates
| Template | Environment | Pre-installed |
|---|---|---|
basic | Ubuntu with basics | git, curl, vim |
full-stack | Full development | Node.js, Python, Docker |
python | Python development | Python 3.11, pip, poetry |
nodejs | Node.js development | Node.js 18, npm, yarn |
devops | DevOps tools | Docker, kubectl, terraform |
Persistent Storage
Best Practices
Resource Management
Resource Management
Allocate appropriate CPU and memory for your development needs. Use larger resources for compilation and testing phases.
Version Control
Version Control
Always initialize git repositories in your workspace. Commit frequently and push to external repositories for backup.
Workspace Lifecycle
Workspace Lifecycle
Daytona workspaces persist data across sessions. Use workspace IDs to resume development. Clean up unused workspaces to manage costs.
Development Workflow
Development Workflow
Structure projects professionally with separate folders for source, tests, docs. Use package managers (npm, pip, poetry) for dependency management.
Related
Managed Agents
Overview of managed agent concepts
E2B Cloud
Instant cloud sandboxes

