aws / aws/aws-cdk

Add capacityProviderStrategies to {Network,Application}LoadBalancedEc2Service

Open
#20,208 2 comments 1 reaction 0 assignees View on GitHub
@aws-cdk/aws-ecs-patterns effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

I am trying to deploy a NetworkLoadBalancedEc2Service that will deploy task containers to multiple EC2 Capacity Providers, but the NetworkLoadBalancedEc2Service L3 construct does not include a parameter option for capacityProviderStrategies like Ec2Service L2 construct.

### Use Case

Deploying the service into different instance size

### Proposed Solution

_No response_

### Other Information

_No response_

### Acknowledgements

- [x] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

2.22.0

### Environment details (OS name and version, etc.)

macOS Catalina

Contributor guide

Open the contributing guide

Research direction

Start with the NetworkLoadBalancedEc2Service and ApplicationLoadBalancedEc2Service constructs, then compare their options with the Ec2Service L2 construct's capacityProviderStrategies support. Trace how service options are passed through each construct and add coverage showing that strategies can target multiple EC2 Capacity Providers; the feature is done when both L3 constructs accept and apply the option.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.