Skip to content
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

(aws-elasticloadbalancingv2): Add the weighted_random load balancing algorithm #29969

Open
1 of 2 tasks
gillesbergerp opened this issue Apr 26, 2024 · 2 comments · May be fixed by #29972
Open
1 of 2 tasks

(aws-elasticloadbalancingv2): Add the weighted_random load balancing algorithm #29969

gillesbergerp opened this issue Apr 26, 2024 · 2 comments · May be fixed by #29972
Labels
@aws-cdk/aws-elasticloadbalancingv2 Related to Amazon Elastic Load Balancing V2 effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2

Comments

@gillesbergerp
Copy link

Describe the feature

In 2023, Automatic Target Weights (ATW), which includes anomaly detection and a load balancing algorithm called Weighted Random (per this announcement). This feature request is about adding support for specifying the weighted_random algorithm as well as enable anomaly mitigation.

The CFN documentation can be found here.

Use Case

Enable CDK users to make use of the new routing strategy.

Proposed Solution

No response

Other Information

References:

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.139.0

Environment details (OS name and version, etc.)

Linux

@gillesbergerp gillesbergerp added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Apr 26, 2024
@github-actions github-actions bot added the @aws-cdk/aws-elasticloadbalancingv2 Related to Amazon Elastic Load Balancing V2 label Apr 26, 2024
@khushail khushail added investigating This issue is being investigated and/or work is in progress to resolve the issue. p2 and removed needs-triage This issue or PR still needs to be triaged. labels Apr 26, 2024
@khushail
Copy link
Contributor

Hi @gillesbergerp ,thanks for requesting this and submitting a PR.
I see the CDK doc mentioning the support for the same algorithm -

load_balancing.algorithm.type - The load balancing algorithm determines how the load balancer selects targets when routing requests. The value is round_robin , least_outstanding_requests , or weighted_random . The default is round_robin .

@khushail khushail added effort/small Small work item – less than a day of effort and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Apr 26, 2024
@gillesbergerp
Copy link
Author

gillesbergerp commented Apr 27, 2024

Yes, that is correct. Given that the two other supported algorithms are supported properly (i.e., can be specified in the props when creating a target group), I believe that adding the remaining one is beneficial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-elasticloadbalancingv2 Related to Amazon Elastic Load Balancing V2 effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2
Projects
None yet
2 participants