1. A method comprising: collecting performance metrics of a first virtual machine; and defining, based on the collected performance metrics and by operation of one or more computer processors, at least one rule to restrict co-location of the first virtual machine with other virtual machines on one or more host machines in a cloud computing environment.