CloudBase Platform Edition Overview
CloudBase Platform Edition is an account-level package solution designed for platform-type customers, allowing any platform to create and manage a massive number (100k+) of isolated environments under one Tencent Cloud account (UIN). Each environment serves one tenant/user, with resources and data fully isolated between environments.
Platform Edition uses the account as the basic unit of billing and management: purchase one Platform Edition package, and it covers all environments under the account. Environment creation and resource usage are metered and deducted from the account-level package, so revenue is tied to package subscriptions rather than the number of environments created by customers.
The relationship between users, your platform, and CloudBase is as follows:
After your platform purchases a Platform Edition package from CloudBase, it repeats the following flow for each user: the user requests an environment from the platform, the platform calls CloudBase to create an environment and an API Key, and returns the environment ID and API Key to the user; the user connects directly to CloudBase with the API Key to operate their own environment, without going through the platform backend again.
This document is intended for platform providers / enterprise integrators, explaining how to integrate Platform Edition into your product through Tencent Cloud APIs.
Use Cases
- AI Coding / Vibe Coding platforms: providing isolated backend capabilities for each customer/tenant, managed through APIs rather than only the console
- SaaS and multi-tenant systems: providing independent databases, cloud functions, static hosting and other resources for each tenant
- Enterprise internal business platforms: allocating isolated AI development environments to employees
- Large-scale environment management: creating thousands or even 100k+ environments under a single account, requiring fast environment creation and controllable costs
Core Concepts
CloudBase Platform Edition revolves around three layers: Tencent Cloud account → Platform Edition package → CloudBase environment → resources within the environment.
| Concept | Description |
|---|---|
| Tencent Cloud account | The management and billing entity of Platform Edition. With one Tencent Cloud account (main account or sub-user with CloudBase permissions), you can purchase one Platform Edition package and create multiple environments |
| Platform Edition package | An account-level package. After purchase, resource usage of all environments under the account is metered and deducted from the package credits, and environment expiry time stays consistent with the account package |
| CloudBase environment | A complete set of backend resources for one tenant, typically one environment per tenant. Resources and data are isolated between environments |
| Resources within the environment | The databases, cloud functions, static hosting and other resources contained in the environment, which can be enabled and configured on demand |
The hierarchy of accounts, packages, environments, and resources:
Platform Edition Package
Platform Edition Package is an exclusive account-level package for platform-type customers, designed for large-scale environments and unified billing, with the following characteristics:
- Account-level billing: one package covers all environments under the account, revenue is tied to subscriptions, and costs are predictable
- Unified credit-based metering: all CloudBase resources are uniformly converted into "credits" for metering and deduction, making usage more transparent
- Overrun pay-as-you-go guarantee: when the package quota is exhausted, you can enable pay-as-you-go as a fallback, so business is not interrupted
- Complete lifecycle management: supports renewal, plan changes, overrun service suspension, expiry isolation (14-day data retention), destruction and other account-level operations, with multi-channel notifications for key events
Platform Edition is currently in whitelist release. If you need to use it, please contact us or submit a Tencent Cloud ticket to request purchase eligibility. See Purchase and Initialization.
CloudBase provides a variety of package specifications to meet the needs of everyone from individual developers to large enterprises. For the conversion between various CloudBase resources (databases, cloud functions, storage, etc.) and credits, see the credits price documentation.
Data Isolation and Security
Platform Edition is designed for large-scale environment scenarios. All environments run on a unified, secure CloudBase infrastructure, with the following characteristics:
- Isolation between environments: each environment has independent databases, cloud functions, static hosting and other resources; data and resources are mutually invisible and unaffected between environments
- Least-privilege credentials: the environment API Key is only granted access to the environment's own data scope; even if leaked, it cannot access other environments' data
- Unified account-level management: environment creation, suspend, start, deletion and other operations are uniformly managed at the account level, facilitating unified governance by the platform
Integration Steps
The first three chapters are the main flow of platform integration. After completing them in order, users can directly operate CloudBase environments through their Agent:
| Chapter | Content | What problem it solves |
|---|---|---|
| Purchase and Initialization | Purchase the Platform Edition package | Get through the first step "from nothing to something" |
| Create Environments | Create environments on demand or in advance | Prepare independent environments for your users |
| Manage API Keys | Issue an API Key for each user environment | Give every user an isolated access credential |
| Connect environments with API Key | Connect client Agents and cloud Agents | Let Agents directly operate cloud resources |
Recommended Implementation Order
If the platform manages resources on its own, it is recommended to implement in the following order:
- Package purchase and environment creation: complete Platform Edition package purchase and environment creation, and support environment-level usage queries.
- Deploy backend: deploy HTTP cloud functions to provide external API or WebSocket capabilities.
- HTTP Gateway and domains: configure routes and custom domains to achieve external exposure and access control.
- Database and permissions: enable databases and create tables for tenants, and configure permissions and security rules.
- Monitoring and logging: troubleshoot and analyze costs through environment-level usage queries and CLS logs.