Managing cost and reliability in fully managed applications