Hasty Briefsbeta

Bilingual

Containers are available in public beta for simple, and programmable compute

10 months ago
  • #Cloudflare
  • #Serverless
  • #Containers
  • Cloudflare Containers are now available in beta for all paid plan users.
  • Containers allow running various applications alongside Workers, including media processing, backend services, and CLI tools.
  • Containers are tightly integrated with Workers, offering a simple workflow with global deployment and no regional configuration hassles.
  • Users can route requests between Workers and Containers, choosing Workers for lightweight tasks and Containers for more power and flexibility.
  • Containers are programmable, with instances spun up on-demand and controlled by Workers code.
  • Example use case: code sandboxing where user-generated code runs in isolated containers globally distributed.
  • Configuration involves using the Container class in Workers and wrangler.jsonc for basic settings like default port and image.
  • Development workflow is simplified with wrangler dev, allowing easy iteration on container and Worker code simultaneously.
  • Deployment is straightforward with wrangler deploy, handling image distribution and provisioning across Cloudflare's network.
  • Observability is built-in, with metrics and logs available in the Cloudflare dashboard.
  • Pricing is usage-based, with charges only when containers are active, and includes various instance types with different resource allocations.
  • Future updates include higher limits, larger instances, global autoscaling, and more integrations with the Developer Platform.