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.