General Issue
I would like to use an ApplicationLoadBalancedEc2Service together with autoscaling of EC2 instances.
The Question
I would like to use an ApplicationLoadBalancedEc2Service together with an EC2 ASG. To enable autoscaling of the ECS instances, I would need to apply the capacity_provider_strategies parameter.
The L2 @aws-cdk/aws-ecs.Ec2Service already supports this option, but the L3 construct does not.
Unfortunately the EC2Service does not allow to add this strategy later to the finished service either.
CDK CLI Version
2.10.0
Framework Version
No response
Node.js Version
16.3.0
OS
OSX
Language
Typescript
Language Version
No response
Other information
No response
General Issue
I would like to use an
ApplicationLoadBalancedEc2Servicetogether with autoscaling of EC2 instances.The Question
I would like to use an
ApplicationLoadBalancedEc2Servicetogether with an EC2 ASG. To enable autoscaling of the ECS instances, I would need to apply thecapacity_provider_strategiesparameter.The L2
@aws-cdk/aws-ecs.Ec2Servicealready supports this option, but the L3 construct does not.Unfortunately the
EC2Servicedoes not allow to add this strategy later to the finished service either.CDK CLI Version
2.10.0
Framework Version
No response
Node.js Version
16.3.0
OS
OSX
Language
Typescript
Language Version
No response
Other information
No response