Skip to content

(aws-ecs-patterns): ApplicationLoadBalancedEc2ServiceProps is missing placement strategies  #19225

@IhnatKlimchuk

Description

@IhnatKlimchuk

Description

I created an ApplicationLoadBalancedEc2Service service. Unfortunately, I found that service was not balanced properly against availability zones and creating 3 out of 3 tasks in 1 AV, causing worst service availability in outage case.

Use Case

You need to create ApplicationLoadBalancedEc2Service with custom placement strategies.

Proposed Solution

Update ApplicationLoadBalancedEc2ServiceProps with ability to pass placementStrategies?: PlacementStrategy[]; to Ec2ServiceProps.

Other information

No response

Acknowledge

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ecs-patternsRelated to ecs-patterns libraryeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions