This section allows to define scaling for the ECS Service. For SQS Based scaling using step scaling, refer to SQS Documentation.
services: serviceA: x-scaling: range: "1-10" target_tracking: cpu_target: 80
Range, defines the minimum and maximum number of containers you will have running in the cluster.
#Syntax # range: "<min>-<max>" # Example range: "1-21"
Boolean to allow the scaling to go all the way down to 0 containers running. Perfect for cost savings and get to pure event driven architecture.
If you set the range minimum above 0 and then set allow_zero to True, it will override the minimum value.
Allows you to define target scaling for the service based on CPU/RAM.
x-scaling: range: "1-10" target_scaling: cpu_target: int (will be casted to float) memory_target: int (will be casted to float) scale_in_cooldown: int (ie. 60) scale_out_cooldown: int (ie. 60) disable_scale_in: boolean (True/False)