Adaptive Container Scaling
Problems with AWS's recommended scaling method
- Based on a fixed percentage of memory and CPU reservation.
- Scaling on both cpu and memory metrics can cause the metrics to fight with each other where it'll scale out then back in and repeat.
- If you're scaling threshold is at 80% memory, current reservation utilization is at 79% and you deploy a container that requires 25% memory, It will fail to launch.
- ASGs are not container aware.