Cloudflare Containers and Sandboxes Generally Available
Key Points
- Containers and Sandboxes reach general availability
- Active-CPU pricing model for cost optimization
- Sandbox SDK with secure isolated code execution
Summary
Cloudflare Containers and Sandboxes have reached general availability, enabling developers to run resource-intensive applications, multiple programming languages, and CLI tools requiring full Linux environments on the Workers platform.
Key Points
Containers Improvements
- Higher limits: Support for thousands of concurrent containers
- Active-CPU pricing: Pay-per-use model for CPU cycles
- Enhanced connectivity: Easy integration with Workers and other bindings via hostnames
- Docker Hub support: Seamless use of existing images and registries
- SSH access: Live container debugging capabilities
Sandbox SDK Features
- Isolated execution: Secure environment for running untrusted code with TypeScript API
- Live preview URLs: Long-lived services with real-time change verification
- Persistent interpreters: Support for Python, JavaScript, and TypeScript with structured outputs
- Interactive terminals: Browser-based PTY access with multiple isolated shells
- Backup/restore APIs: Workspace snapshots for quick session recovery
- Real-time filesystem watching: Immediate reaction to file changes