CDK EMR Cluster Phased Deployments

0

Hi, we are trying to configure phased deployments in CDK for our EMR Cluster stack.

Currently, we have set termination protection to false so that during a deployment, all the new clusters will be launched and then, at the end of the successful deployment, all the old clusters will be terminated.

This is not very efficient because our accounts will need to have a larger service quota to support 2x our projected fleet size during deployments, as the fleet will effectively be duplicated during the first half of the deployment before the existing clusters are terminated in favor of the new clusters.

Are there any phased deployment options available in CDK where we can tear down and create one cluster at a time? This would allow us to avoid a spot increase in service quota usage during deployments.

Termination protection reference: https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-emr.CfnCluster.JobFlowInstancesConfigProperty.html#terminationprotected

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions