简体   繁体   English

AWS CloudFormation:调整 Redshift 集群的大小

[英]AWS CloudFormation: Resize a Redshift cluster

How to resize the redshift cluster using cloudformation and keep the cluster name?如何使用 cloudformation 调整 redshift 集群的大小并保留集群名称? Is there an example?有例子吗?

If you read the user guide of the AWS::Redshift::Cluster , you will find a property called NumberOfNodes .如果您阅读AWS::Redshift::Cluster的用户指南,您会发现一个名为NumberOfNodes的属性。 The last line of its declaration is important if you intend to modify the property:如果您打算修改属性,则其声明的最后一行很重要:

Update requires: No interruption更新要求: 无中断

If you follow that link you will find that:如果您点击该链接,您会发现:

AWS CloudFormation updates the resource without disrupting operation of that resource and without changing the resource's physical ID AWS CloudFormation 在不中断该资源的操作且不更改资源的物理 ID 的情况下更新资源

Consequently, you can change the size of the cluster in the cloud formation template, submit it (either using the AWS console or the AWS CLI) and the cluster will be resized accordingly.因此,您可以在云形成模板中更改集群的大小,提交它(使用 AWS 控制台或 AWS CLI),集群将相应地调整大小。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM