Skip to content

Commit ed0b5c0

Browse files
authored
docs(redshift): add details on cluster resizing (#26928)
I felt it best to keep most of the details in the linked documentation, but I believe this provides a good overview. Closes #21103. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 4ce64fe commit ed0b5c0

File tree

1 file changed

+25
-0
lines changed
  • packages/@aws-cdk/aws-redshift-alpha

1 file changed

+25
-0
lines changed

packages/@aws-cdk/aws-redshift-alpha/README.md

+25
Original file line numberDiff line numberDiff line change
@@ -543,3 +543,28 @@ const cluster = new Cluster(this, 'Redshift', {
543543
});
544544
cluster.addIamRole(role);
545545
```
546+
547+
## Resizing
548+
549+
As your data warehousing needs change, it's possible to resize your Redshift cluster. If the cluster was deployed via CDK,
550+
it's important to resize it via CDK so the change is registered in the AWS CloudFormation template.
551+
There are two types of resize operations:
552+
553+
* Elastic resize - Number of nodes and node type can be changed, but not at the same time. Elastic resize is the default behavior,
554+
as it's a fast operation and typically completes in minutes. Elastic resize is only supported on clusters of the following types:
555+
* dc1.large (if your cluster is in a VPC)
556+
* dc1.8xlarge (if your cluster is in a VPC)
557+
* dc2.large
558+
* dc2.8xlarge
559+
* ds2.xlarge
560+
* ds2.8xlarge
561+
* ra3.xlplus
562+
* ra3.4xlarge
563+
* ra3.16xlarge
564+
565+
* Classic resize - Number of nodes, node type, or both, can be changed. This operation takes longer to complete,
566+
but is useful when the resize operation doesn't meet the criteria of an elastic resize. If you prefer classic resizing,
567+
you can set the `classicResizing` flag when creating the cluster.
568+
569+
There are other constraints to be aware of, for example, elastic resizing does not support single-node clusters and there are
570+
limits on the number of nodes you can add to a cluster. See the [AWS Redshift Documentation](https://docs.aws.amazon.com/redshift/latest/mgmt/managing-cluster-operations.html#rs-resize-tutorial) and [AWS API Documentation](https://docs.aws.amazon.com/redshift/latest/APIReference/API_ResizeCluster.html) for more details.

0 commit comments

Comments
 (0)