Skip to content

byoc: add resource pool management doc - #23471

Open
wildpcww wants to merge 13 commits into
pingcap:release-8.5from
wildpcww:addcreateresourcepool
Open

byoc: add resource pool management doc#23471
wildpcww wants to merge 13 commits into
pingcap:release-8.5from
wildpcww:addcreateresourcepool

Conversation

@wildpcww

@wildpcww wildpcww commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

First-time contributors' checklist

What is changed, added or deleted? (Required)

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

AI agent involvement

  • The changes in this PR were primarily made by an AI agent on behalf of the PR author.

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

Summary by CodeRabbit

  • New Features
    • Added guidance for creating and managing BYOC Resource Pools, including capacity, networking, high availability, AWS tags, monitoring, scaling, and deletion.
    • Added Resource Pool navigation and architecture references across BYOC documentation.
    • Added private-preview availability information for Resource Pool management.
  • Documentation
    • Updated BYOC onboarding and instance creation instructions to require an active Resource Pool.
    • Clarified CIDR planning, regional overlap, and connectivity requirements.
    • Updated backup restoration guidance to select a compatible active Resource Pool.
    • Added guidance on Resource Pool provisioning status and organization-level management.

@ti-chi-bot ti-chi-bot Bot added the contribution This PR is from a community contributor. label Aug 7, 2026
@wildpcww
wildpcww requested a review from lilin90 August 7, 2026 09:30
@ti-chi-bot ti-chi-bot Bot added missing-translation-status This PR does not have translation status info. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 7, 2026
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Added BYOC Resource Pool documentation, including concepts, creation and management procedures, CIDR planning, instance provisioning requirements, onboarding updates, and restore guidance.

Changes

BYOC Resource Pool documentation

Layer / File(s) Summary
Resource Pool concepts and navigation
tidb-cloud/architecture-concepts.md, tidb-cloud/manage-projects-and-resources.md, TOC-tidb-cloud-byoc.md, tidb-cloud/byoc/_index.md, tidb-cloud/byoc/byoc-features.md
Defines Resource Pools and adds links and feature-catalog entries for their creation and management.
Resource Pool creation and network planning
tidb-cloud/byoc/create-resource-pool-byoc.md, tidb-cloud/byoc/byoc-prepare-environment-aws.md, tidb-cloud/byoc/multi-region-deployment.md
Documents pool configuration and provisioning. Updates O11Y and Resource Pool CIDR requirements and overlap rules.
BYOC provisioning flow
tidb-cloud/byoc/byoc-onboarding-overview.md, tidb-cloud/byoc/byoc-initialize-service.md, tidb-cloud/byoc/create-tidb-instance-byoc.md
Requires an active Resource Pool before instance creation and updates onboarding, initialization, restoration, and completion steps.
Resource Pool management and restore requirements
tidb-cloud/byoc/manage-resource-pools-byoc.md, tidb-cloud/premium/backup-and-restore-premium.md
Documents pool operations, restrictions, and deletion rules. Updates BYOC restore flows to use a matching active Resource Pool.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Suggested reviewers: lilin90, wangle1321

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description follows the template but leaves the required change summary empty and provides no related PR or file links. Add a concise summary of the changes and their purpose, and include relevant related PR or file links if available.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: adding BYOC resource pool management documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@wildpcww
wildpcww requested a review from WangLe1321 August 7, 2026 09:31

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 12748764-dfb3-48d9-bbfa-c14c8600bfb4

📥 Commits

Reviewing files that changed from the base of the PR and between 351d30f and 3ae8af2.

📒 Files selected for processing (13)
  • TOC-tidb-cloud-byoc.md
  • tidb-cloud/architecture-concepts.md
  • tidb-cloud/byoc/_index.md
  • tidb-cloud/byoc/byoc-features.md
  • tidb-cloud/byoc/byoc-initialize-service.md
  • tidb-cloud/byoc/byoc-onboarding-overview.md
  • tidb-cloud/byoc/byoc-prepare-environment-aws.md
  • tidb-cloud/byoc/create-resource-pool-byoc.md
  • tidb-cloud/byoc/create-tidb-instance-byoc.md
  • tidb-cloud/byoc/manage-resource-pools-byoc.md
  • tidb-cloud/byoc/multi-region-deployment.md
  • tidb-cloud/manage-projects-and-resources.md
  • tidb-cloud/premium/backup-and-restore-premium.md

* Initial setup time: the creation of the **first Resource Pool** in a region might take approximately **1 hour** as the system initializes the Kubernetes environment.
* Subsequent instances: creating additional instances in an active Resource Pool usually takes only a few minutes.

3. Consult with your TiDB Cloud representative to determine the appropriate Request Unit (RU) settings for your initial connectivity and functional tests. They will recommend a configuration based on your specific testing requirements.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Use the established Request Capacity Unit (RCU) term.

Line 21 uses “Request Unit (RU)”. The BYOC instance guide uses “Request Capacity Units (RCUs)” for the same setting. Use the established term to avoid ambiguity during initial capacity planning.

Committable replacement
-3. Consult with your TiDB Cloud representative to determine the appropriate Request Unit (RU) settings for your initial connectivity and functional tests. They will recommend a configuration based on your specific testing requirements.
+3. Consult your TiDB Cloud representative to determine the appropriate Request Capacity Unit (RCU) settings for your initial connectivity and functional tests. They will recommend a configuration based on your specific testing requirements.

As per path instructions, this Markdown fix uses an exact contiguous replacement and preserves the existing list structure.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
3. Consult with your TiDB Cloud representative to determine the appropriate Request Unit (RU) settings for your initial connectivity and functional tests. They will recommend a configuration based on your specific testing requirements.
3. Consult your TiDB Cloud representative to determine the appropriate Request Capacity Unit (RCU) settings for your initial connectivity and functional tests. They will recommend a configuration based on your specific testing requirements.
🧰 Tools
🪛 LanguageTool

[style] ~21-~21: This phrase is redundant. Consider writing “Consult”.
Context: ...l usually takes only a few minutes. 3. Consult with your TiDB Cloud representative to deter...

(CONSULT_WITH)

Source: Path instructions

Comment thread tidb-cloud/byoc/byoc-initialize-service.md Outdated
Comment thread tidb-cloud/byoc/byoc-prepare-environment-aws.md Outdated
Comment thread tidb-cloud/byoc/create-tidb-instance-byoc.md Outdated
Comment thread tidb-cloud/byoc/multi-region-deployment.md Outdated
@lilin90 lilin90 self-assigned this Aug 7, 2026
@lilin90 lilin90 added the translation/no-need No need to translate this PR. label Aug 7, 2026
@ti-chi-bot ti-chi-bot Bot removed the missing-translation-status This PR does not have translation status info. label Aug 7, 2026
@lilin90 lilin90 added area/tidb-cloud This PR relates to the area of TiDB Cloud. BYOC Related to TiDB Cloud BYOC docs. labels Aug 7, 2026
@ti-chi-bot

ti-chi-bot Bot commented Aug 7, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from lilin90. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
tidb-cloud/byoc/byoc-prepare-environment-aws.md (1)

93-95: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Configure and verify the 20-year subordinate CA validity.

The steps list Subordinate CA as the CA type, but omit the validity duration and the parent-root validity requirement, while AWS Private CA defaults subordinate CA validity to three years and requires child CA certificates not to exceed their parent CA’s validity. Specify setting subordinate CA validity to at least 20 years, set the signing root CA to at least 20 years, and include an explicit check, such as openssl x509 -in subordinate-ca.crt -noout -dates or the AWS console validity dates.

Source: Path instructions


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 04b60e8f-5f64-40ab-8c93-7a75fbab9b3d

📥 Commits

Reviewing files that changed from the base of the PR and between 3ae8af2 and e4cac05.

📒 Files selected for processing (5)
  • TOC-tidb-cloud-byoc.md
  • tidb-cloud/byoc/_index.md
  • tidb-cloud/byoc/byoc-onboarding-overview.md
  • tidb-cloud/byoc/byoc-prepare-environment-aws.md
  • tidb-cloud/premium/backup-and-restore-premium.md

@lilin90 lilin90 changed the title resource pool management byoc: add resource pool management doc Aug 10, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: da3ca881-9804-4cc1-83b6-b4e9ac40344e

📥 Commits

Reviewing files that changed from the base of the PR and between e4cac05 and 2d00267.

📒 Files selected for processing (2)
  • tidb-cloud/architecture-concepts.md
  • tidb-cloud/byoc/byoc-features.md

Comment thread tidb-cloud/architecture-concepts.md
Comment thread tidb-cloud/byoc/byoc-initialize-service.md Outdated
Comment thread tidb-cloud/byoc/byoc-initialize-service.md Outdated
Comment thread tidb-cloud/byoc/byoc-initialize-service.md Outdated
- **TiKV**: TiKV is required. Select the initial vCPU and RAM configuration, storage size, and node count. The node count must meet the high availability requirement and must be a multiple of three. After the Resource Pool is created, TiKV can automatically scale out based on workload needs. You can also manually scale out TiKV in advance. Currently, TiDB Cloud does not support manual or automatic TiKV scale-in from the console, because scale-in can be risky. To scale in TiKV, contact [TiDB Cloud Support](/tidb-cloud/tidb-cloud-support.md).
- **TiFlash**: TiFlash is optional. If you do not enable TiFlash when creating the Resource Pool, TiDB Cloud does not deploy TiFlash nodes. You can enable TiFlash later based on your workload needs. If you enable TiFlash, select the vCPU and RAM configuration, storage size, and node count.

After the Resource Pool is created, you cannot manually change the TiKV machine type from the console. During automatic scale-out, TiDB Cloud might change the TiKV machine type based on workload needs. After TiFlash is provisioned, you cannot disable it from the console. To disable TiFlash, contact [TiDB Cloud Support](/tidb-cloud/tidb-cloud-support.md).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We support disable TiFlash in console.


7. In the **High Availability** area, review the high availability mode.

The high availability mode is inherited from the BYOC deployment configuration of the selected region. You cannot change it when creating a Resource Pool.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now the high availability mode is not restricted by the region deployment configuration. The user can select a HA mode in console.

- TiKV machine type cannot be changed after the Resource Pool is created.
- TiFlash is optional. If TiFlash is not enabled, no TiFlash nodes are provisioned.
- You can enable TiFlash later based on workload requirements.
- After TiFlash is provisioned, you cannot disable it from the TiDB Cloud console. To disable TiFlash, contact [TiDB Cloud Support](/tidb-cloud/tidb-cloud-support.md).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The user can disable TiFlash in console.

When a Resource Pool has an ongoing modification operation, TiDB Cloud refreshes Resource Pool data in real time or near real time. During this period:

- You can view the Resource Pool overview, metrics, instances, tags, and other details.
- You can create an instance if the backend validation succeeds.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The create-tidb-instance-byoc doc already mentions that the user can only create an instance in the resource pool with Active state.

Comment thread tidb-cloud/byoc/byoc-prepare-environment-aws.md Outdated
* any existing resource pool CIDR in the same region;
* existing application VPCs, on-premises networks, or VPN networks that will be connected through VPC Peering or VPN; or
* other TiDB clusters that will participate in cross-region replication.
* other resource pools that will participate in cross-region replication.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* other resource pools that will participate in cross-region replication.
* resource pool CIDRs in other regions if the resource pools will participate in cross-region replication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tidb-cloud This PR relates to the area of TiDB Cloud. BYOC Related to TiDB Cloud BYOC docs. contribution This PR is from a community contributor. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. translation/no-need No need to translate this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants