

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# AWS CloudFormation 模板
<a name="aws-cloudformation-templates"></a>

该解决方案使用 [AWS CloudFormation 模板和堆栈](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-whatis-concepts.html)来自动部署。这些 CloudFormation 模板指定了此解决方案中包含的 AWS 资源及其属性。 CloudFormation 堆栈提供模板中描述的资源。

您可以先下载此解决方案的 CloudFormation 模板，然后再进行部署。

 [![\[View template\]](http://docs.aws.amazon.com/zh_cn/solutions/latest/instance-scheduler-on-aws/images/view-template-button.png)instance-scheduler-on-aws](https://s3.amazonaws.com/solutions-reference/instance-scheduler-on-aws/latest/instance-scheduler-on-aws.template)**.template**-使用此模板启动解决方案和所有关联组件。默认配置会部署 AWS Lambda 函数、Amazon DynamoDB 表 CloudWatch 、 CloudWatch 亚马逊事件和自定义指标，但您也可以根据自己的特定需求自定义模板。

 [https://s3.amazonaws.com/solutions-reference/instance-scheduler-on-aws/latest/instance-scheduler-on-aws-remote.template](https://s3.amazonaws.com/solutions-reference/instance-scheduler-on-aws/latest/instance-scheduler-on-aws-remote.template) 

 **instance-scheduler-on-aws-remote.tem** plate-使用此模板启动解决方案使用的跨账户角色，用于在分支账户中安排实例。对于使用 AWS Organizations 的部署，部署模板的同时还会将分支账户注册到中心，而无需手动配置。

**注意**  
如果您之前已部署此解决方案，请参阅[更新解决方案](update-the-solution.md)以获取更新说明。