ecs

Add target tracking auto scale to your aws ecs service

This cloudformation snippet will add auto scale to your existing cloudformation based ecs service. To connect it to your service you may need to edit the folowing vars ServiceScalingTarget: Service This is the name of the cloudformation block that defines your ecs service Ref: ContainerCluster This should pull in the ecs cluster name I define this in a param: ContainerCluster ApplicationAutoScalingRole: Type: AWS::IAM::Role Properties: AssumeRolePolicyDocument: Statement: - Effect: Allow Principal: Service: [application-autoscaling.