prepare for autoscaling