The Art of Capacity Planning: Scaling Web Resources in the Cloud