

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

# 使用创建 Amazon Neptune 集群 AWS CloudFormation
<a name="get-started-cfn-create"></a>

您可以使用 CloudFormation 模板来设置 Neptune 数据库集群。

1. 要在 CloudFormation 主机上启动 CloudFormation 堆栈，请选择下表中的 “**启动堆栈**” 按钮之一。    
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/neptune/latest/userguide/get-started-cfn-create.html)

1.  在 **Select Template** 页面上，选择 **Next**。

1. **在 “指定细节**” 页面上，为选择密钥对**EC2SSHKeyPairName**。

   要访问 EC2 实例，此密钥对是必需的。确保您具有所选密钥对的 PEM 文件。

1. 选择**下一步**。

1. 在**选项**页面上，选择**下一步**。

1. 在**审核**页面上，选中第一个复选框以确认 CloudFormation 将创建 IAM 资源。选中第二个复选框以确认新堆栈的 `CAPABILITY_AUTO_EXPAND`。
**注意**  
`CAPABILITY_AUTO_EXPAND` 明确确认在创建堆栈时将扩展宏，而无需事先审核。用户通常通过处理的模板创建更改集，以便在实际创建堆栈之前对宏所做的更改进行审核。有关更多信息，请参阅 CloudFormation [CreateStack](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html) API。

   然后选择**创建**。

**注意**  
您也可以使用 CloudFormation 模板[升级数据库集群的引擎版本。](cfn-engine-update.md)