> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/automate-protect-and-extend/zh/zi-dong-hua/recipes-overview.md).

# 配方

方案可帮助您简化并加速租户和虚拟机部署。方案由预先构建的黄金镜像和已定义的可自定义选项组成，可简化新部署，同时强化对合规标准或其他策略和协议的遵循。

## 入门

刚接触 VergeOS 方案？从这里开始：

1. [**浏览方案市场**](/automate-protect-and-extend/zh/zi-dong-hua/vm-recipes.md#included-vm-recipes) - 浏览可直接使用的虚拟机方案
2. [**创建您的第一个虚拟机方案**](/automate-protect-and-extend/zh/zi-dong-hua/vm-recipes.md) - 基于现有虚拟机构建自定义模板
3. [**使用目录进行组织**](/automate-protect-and-extend/zh/zi-dong-hua/recipes-organization.md) - 为方案管理设置存储库

## 主要功能

* **开箱即用示例：** 该 [**方案市场**](/automate-protect-and-extend/zh/zi-dong-hua/vm-recipes.md#included-vm-recipes) 会自动提供可直接使用的方案，这些方案也可以克隆并进一步调整，以满足您的特定需求。
* **方案交换：** [**共享方案**](/automate-protect-and-extend/zh/zi-dong-hua/recipes-organization.md#sharing-recipes) 与租户之间以及 VergeOS 系统之间共享。
* **组织/访问控制：** 轻松将方案组织到无限数量的目录中，每个目录都可配置访问设置。
* **丰富的选项：** 添加到方案中的问题可让您收集各种输入（布尔值、文本、下拉列表、IP 地址、网络选择等），并用于定制每个租户/虚拟机实例。
* **来宾操作系统自定义：** [**Cloud-Init 和 Cloudbase-init 集成**](/automate-protect-and-extend/zh/zi-dong-hua/vm-recipes.md#advanced-usage) 可让您使用开源和/或自定义脚本，根据变量输入自动化来宾操作系统中的配置（设置用户名/密码、安装应用程序、配置静态 IP 或 DHCP 设置、指定主机名等）。

## 方案类型

### VM 配方

创建带有可自定义参数的标准化虚拟机模板，以便快速部署一致的工作负载。

**常见用例：**

* **开发环境** - 标准化的开发/测试平台
* **应用服务器** - 预先配置好的 Web、数据库或应用程序堆栈
* **桌面模板** - 一致的 VDI 部署
* **安全设备** - 具备合规基线的加固系统

### 租户配方

使用预定义的网络、虚拟机和配置部署完整的虚拟数据中心。

**常见用例：**

* **客户入驻** - 为新客户快速提供资源
* **部门资源交付** - 面向业务单元的标准化环境
* **项目环境** - 临时、隔离的工作区
* **合规模板** - 满足监管要求的预配置环境

## 优势与用例

### 面向服务提供商

* **快速客户入驻** 采用标准化、经过验证的配置
* **一致的服务交付** 覆盖所有客户部署
* **缩短部署时间** 从数小时降至数分钟
* **内置合规性** 通过标准化模板实现

### 面向企业

* **标准化部署** 覆盖各部门和各地点
* **减少配置错误** 通过自动化交付
* **更快投入生产** 用于新项目和新计划
* **策略执行** 通过基于模板的部署

### 面向开发团队

* **一致的开发环境** 覆盖团队成员
* **快速环境交付** 用于测试和预发布
* **版本受控的基础架构** 通过方案管理
* **自助式部署** 减少 IT 瓶颈

## 高级功能

### 自动化集成

* **Cloud-Init/Cloudbase-Init** 支持来宾操作系统自定义
* **变量替换** 用于动态配置
* **条件逻辑** 用于复杂部署场景
* **部署前和部署后** 脚本功能

### 管理功能

* **方案版本管理** 用于变更跟踪和回滚
* **访问控制** 用于安全和合规
* **跨系统共享** 用于分布式环境
* **模板继承** 用于高效管理方案

## 相关文档

### 入门

* [方案组织（存储库/目录）](/automate-protect-and-extend/zh/zi-dong-hua/recipes-organization.md)
* [VM 配方](/automate-protect-and-extend/zh/zi-dong-hua/vm-recipes.md)
* [租户配方](/automate-protect-and-extend/zh/zi-dong-hua/tenant-recipes.md)

### 高级主题

* [Cloud-Init 集成](/automate-protect-and-extend/zh/zi-dong-hua/vm-recipes.md#advanced-usage)
* [系统之间的方案共享](/automate-protect-and-extend/zh/zi-dong-hua/recipes-organization.md#sharing-recipes)
* [方案市场](/automate-protect-and-extend/zh/zi-dong-hua/vm-recipes.md#included-vm-recipes)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.verge.io/automate-protect-and-extend/zh/zi-dong-hua/recipes-overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
