Scaling Rules Define conditions that trigger automatic scaling. Metric Types CPU Utilization - Scale when average CPU exceeds threshold Memory Utilization - Scale when memory usage exceeds threshold Request Count - Scale based on requests per second Custom Metrics - Scale based on application-specific metrics Create Rule POST /api/v1/apps/{id}/auto-scaling/rules { "metric": "cpu", "target_value": 70, "scale_up_step": 2, "scale_down_step": 1, "cooldown_seconds": 300 } Example Rules # Scale up when CPU > 70% # Scale down when CPU < 30% # Cooldown: 5 minutes between scaling actions