Adopting a cost optimisation approach for cloud