Automatic virtual machine clustering based on bhattacharyya distance for multi-cloud systems