cloudrun-development

Configure and deploy CloudBase Run backends in Function or Container mode with enforced runtime rules.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/derek2035/talkbook --skill cloudrun-development-derek2035
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudrun-development
Source: https://github.com/derek2035/talkbook/tree/main/.agents/skills/cloudbase/references/cloudrun-development
Command: npx skills add https://github.com/derek2035/talkbook --skill cloudrun-development-derek2035

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CloudBase Run backend development has complex setup and mode selection (Function vs Container) to support long-lived connections and multi-language environments. This Skill provides clear guidance and best practices to configure, deploy, and manage CloudRun-based services efficiently.

Core Features & Use Cases

  • Mode selection guidance for Function and Container deployments.
  • Practical deployment rules, port handling, and stateless design.
  • Use cases for long-running services, multi-language backends, and AI agent services.

Quick Start

Choose a mode (Function or Container) and implement a CloudRun service that listens on PORT, remains stateless, and deploys with the appropriate runtime configuration.

Frequently Asked Questions about cloudrun-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a WebSocket backend on CloudRun?

To deploy a WebSocket backend on CloudRun, select Container mode to maintain long-lived connections. Your service must listen on the PORT environment variable, remain stateless, and deploy using a Dockerfile.

What is the difference between Function mode and Container mode in CloudBase Run?

Function mode and Container mode differ in runtime execution. Container mode supports long-lived connections like WebSocket or SSE, custom runtimes, and AI agent services, while Function mode handles standard serverless executions.

Can I use CloudRun for AI agent services that require stable external endpoints?

Yes, you can use CloudRun for AI agent services needing stable external endpoints. Select Container mode to establish the environment, ensuring the service listens on PORT and operates statelessly.

What are the deployment rules for CloudBase Run backends?

CloudBase Run backends must listen on the PORT environment variable and remain stateless. For Container mode, provide a Dockerfile, configure port exposure, and set appropriate access controls for deployment.

When should I choose Container mode over Function mode for serverless deployment?

Choose Container mode over Function mode when you need long-lived connections like WebSocket or SSE, custom runtime environments, or AI agent services. Function mode suits standard serverless backend tasks without these requirements.

Does CloudBase Run support custom runtime environments for backends?

Yes, CloudBase Run supports custom runtime environments through Container mode. You deploy your backend with a Dockerfile, enabling multi-language environments and specific runtime configurations for your service.