-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MixedAutoScalingGroup #3077
Comments
Hi @AlexCheema! Thanks for posting! We are working hard to stabilize the CDK APIs and tuning them to meet our consistency guidelines. While we work on getting the APIs aligned with our guidelines, we are pausing work on most community feature-requests. Please continue to report issues and submit feature requests, of course. We expect to get back to work on community feature-requests within a few weeks. It would also be super helpful if you could describe what your feature accomplishes in plain English! |
Hi @NGL321! I appreciate that and I'm looking forward to the next stable release. Here's a concise description of what problem this solves. The MixedAutoScalingGroup solves the problem of plain AutoScalingGroups with Launch Configurations getting stuck when there is not sufficient capacity to fulfil a Spot Request. It leverages Launch Templates to solve this problem. My implementation does not include all the features that Launch Templates provide and therefore has several limitations. A better implementation with more features would be a great addition to CDK. |
That sounds super helpful as perhaps a higher-level construct! Another alternative, since it seems you have a good implementation already, is that you could submit this as a new construct via a PR, which we will take a look at as soon as we go back to evaluating community PRs |
The functionality is quite limited so I think it would need some more work before it's worth integrating. |
closing in favor of adding launchTemplate support that will enable defining mix autoscaling group. duplicate #6734 |
I am currently using this across my CDK apps. It is quick and dirty but it works. It would be nice if there was a proper implementation of this in CDK because there are many limitations of simple AutoScalingGroup with launch configurations. (requires Typescript 3.5.1+ for builtin Omit type)
Usage:
The text was updated successfully, but these errors were encountered: