
# 快速部署
本章节主要帮助用户快速部署"快速搭建FTP站点"解决方案。
 表1参数填写说明 
| 参数名称               | 类型     | 是否必填 | 参数解释                                                                                                                                                                                                                       | 默认值                      |
|:---|:---|:---|:---|:---|
| vpc_name           | String | 必填   | 虚拟私有云名称，该模板新建VPC，不支持重名。取值范围：1-60个字符，支持字母、数字、中文、下划线（_）、中划线（-）、英文句号（.）。                                                                                                                                                      | build-an-ftp-server_demo |
| secgroup_name      | String | 必填   | 安全组名称，该模板新建安全组，安全组规则请参考[安全组规则修改](https://support.huaweicloud.com/bftps-ctf/bftps_05.html#bftps_05__section4657123281914)。取值范围：1-55个字符，支持字母、数字、中文、下划线（_）、中划线（-）、英文句号（.）。                                                    | build-an-ftp-server_demo |
| ecs_name           | String | 必填   | 弹性云服务器名称，不允许重名。取值范围：1-60个字符，支持字母、数字、中文、下划线（_）、中划线（-）、英文句号（.）。                                                                                                                                                              | build-an-ftp-server_demo |
| ecs_flavor         | String | 必填   | 弹性云服务器规格名称，具体请参考官网[弹性云服务器规格清单](https://support.huaweicloud.com/productdesc-ecs/zh-cn_topic_0159822360.html)。                                                                                                               | s6.medium.2              |
| ecs_password       | String | 必填   | 弹性云服务器初始密码，创建完成后，请参考[修改初始密码。](https://support.huaweicloud.com/bftps-ctf/bftps_05.html#bftps_05__li453520511552)登录ECS控制台修改密码。取值范围：长度为8-26位，密码至少必须包含大写字母、小写字母、数字和特殊字符（!@$%\^-_=+\[{}\]:,./?）中的三种，密码不能包含用户名或用户名的逆序。管理员账户为root | 空                        |
| sys_disk_size      | String | 必填   | 系统盘大小，以GB为单位，取值范围为40～1024，不支持缩盘。                                                                                                                                                                                           | 100                      |
| charging_mode      | String | 必填   | 计费模式，默认自动扣费，取值为prePaid（包年包月）或postPaid（按需计费），默认postPaid。                                                                                                                                                                    | postPaid                 |
| charging_unit      | String | 选填   | 有效值为"year"或"month"。当charging_mode（计费模式）为prePaid时，此选项为必填项。                                                                                                                                                                  | month                    |
| charging_period    | number | 选填   | 包年包月时长，当charging_unit取值为"year",取值范围为1～3；当charging_unit取值为"month",取值范围为1～9。当charging_mode（计费模式）为prePaid时，此选项为必填项。                                                                                                           | 1                        |
| eip_bandwidth_size | number | 必填   | 弹性公网IP带宽大小，取值范围为1-2000Mbit/s。                                                                                                                                                                                              | 5                        |
| ftp_username       | String | 必填   | FTP用户账号，长度为3-26位，至少包含大写字母、小写字母、数字的任意一种。                                                                                                                                                                                    | ftpadmin                 |
| ftp_password       | String | 必填   | FTP用户密码，长度为8-26位，密码至少必须包含大写字母、小写字母、数字和特殊字符（!@$%\^-_=+\[{}\]:,./?）中的三种。                                                                                                                                                     | 空                        |
   
1. 登录[华为云解决方案实践](https://www.huaweicloud.com/solution/implementations/index.html)，选择"快速构建FTP站点"模板，数据中心下拉菜单可以选择需要部署的区域，单击"一键部署"，跳转至解决方案创建堆栈界面。
   
   图1解决方案实施库   
   ![](https://support.huaweicloud.com/bftps-ctf/zh-cn_image_0000001501391405.png)
   
   
2. 在选择模板界面中，单击"下一步"。 
   图2选择模板   
   ![](https://support.huaweicloud.com/bftps-ctf/zh-cn_image_0000001537637849.png)
   
   
3. 在配置参数界面中，参考[表1 参数填写说明]完成自定义参数填写，单击"下一步"。
   
   图3配置参数   
   ![](https://support.huaweicloud.com/bftps-ctf/zh-cn_image_0000001487760464.png)
   
   
4. 在资源设置界面中，在权限委托下拉框中选择"rf_admin_trust"委托，单击"下一步"。 
   图4资源栈设置   
   ![](https://support.huaweicloud.com/bftps-ctf/zh-cn_image_0000001486717920.png)
   
   
5. 在配置确认界面中，单击"创建执行计划"。 
   图5配置确认   
   ![](https://support.huaweicloud.com/bftps-ctf/zh-cn_image_0000001488080404.png)
   
   
6. 在弹出的创建执行计划框中，自定义填写执行计划名称，单击"确定"。 
   图6创建执行计划   
   ![](https://support.huaweicloud.com/bftps-ctf/zh-cn_image_0000001486721768.png)
   
   
7. 单击"部署"，并且在弹出的执行计划确认框中单击"执行"。 
   图7执行计划   
   ![](https://support.huaweicloud.com/bftps-ctf/zh-cn_image_0000001537642081.png)
   图8执行计划确认   
   ![](https://support.huaweicloud.com/bftps-ctf/zh-cn_image_0000001537402597.png)
   
   
8. （可选）如果计费模式选择"包年包月"，在余额不充足的情况下（所需总费用请参考[表1](https://support.huaweicloud.com/bftps-ctf/bftps_02.html#bftps_02__table104mcpsimp)）请及时登录[费用中心](https://account.huaweicloud.com/usercenter/?agencyId=&region=cn-north-4&locale=zh-cn#/userindex/allview)，手动完成待支付订单的费用支付。
9. 待"事件"中出现"Apply required resource success"，表示该解决方案已经部署完成。 
   图9部署完成   
   ![](https://support.huaweicloud.com/bftps-ctf/zh-cn_image_0000001537417065.png)
   
   
 
