On the Elastic Optimisation of Cloud IaaS Environments