aws-rfdk icon indicating copy to clipboard operation
aws-rfdk copied to clipboard

Expose UpdatePolicy on WorkerInstanceFleet

Open horsmand opened this issue 4 years ago • 0 comments

There's no way to perform updates to the AMI used by a worker fleet and have the fleet immediately deploy them, the current configuration will only use the new AMI for new instances that get added to the auto scaling group and leave the old ones as-is. I would like a way to be able to kill any currently running worker instances and start new ones with the updated AMI in their place, with a single CDK deployment.

Use Case

I want to be able to upgrade the version of Deadline on the AMI my workers are using and only have to run cdk deploy once to get all my running workers replaced with instances running the new Deadline version.

Proposed Solution

I propose we expose the AutoScalingGroup's updatePolicy construct property on the WorkerInstanceFleet, which would allow customers to choose if they'd like to do a blue-green deployment or a rolling update.

  • [ ] :wave: I may be able to implement this feature request
  • [ ] :warning: This feature might incur a breaking change

This is a :rocket: Feature Request

horsmand avatar Feb 04 '21 16:02 horsmand