aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.7k stars 3.93k forks source link

AWS-Redshift-Alpha: Support for RA3.large Node Type #31634

Open AsadBinImtiaz opened 1 month ago

AsadBinImtiaz commented 1 month ago

Describe the feature

Amazon Redshift recently introduced the new "RA3.large" instance type, which provides a cost-efficient option for clusters. However, the aws-redshift-alpha construct in the AWS CDK currently does not support this new node type. It would be beneficial to extend the NodeType enum in ClusterProps.nodeType to include RA3.large to enable users to take advantage of this new instance type (see: https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-redshift-alpha.NodeType.html)

Use Case

Our team relies on Amazon Redshift for managing large-scale data analytics workloads using aws CDK. With the recent introduction of the RA3.large node type, we see an opportunity to significantly reduce our cluster costs without sacrificing performance.

Proposed Solution

Extend the NodeType enum within the ClusterProps.nodeType in the aws-redshift-alpha module to include the newly released RA3.large node type:

RA3_LARGE: 'ra3.large'

Other Information

No response

Acknowledgements

CDK version used

2.149

Environment details (OS name and version, etc.)

MacOS

ashishdhingra commented 1 month ago

The ra3.large appears to be a valid NodeType in AWS Redshift console:

Screenshot 2024-10-03 at 2 35 33 PM

However, the value ra3.large for NodeType is not yet available for AWS::Redshift::Cluster resource in CloudFormation per aws-redshift-cluster.json. This schema JSON file was last updated 2 months ago as of now. Please wait until the schema is updated and CloudFormation resource accepts ra3.large as valid NodeType.