Three phase optimisation for qualified and secured VMs for resource allocation. (2018)