1. A method for deploying virtual machines, comprising: acquiring attribute information of a first VM and a second VM; determining, according to the attribute information, whether the first VM is similar to the second VM; and deploying the first VM and the second VM to a first physical machine and a second physical machine respectively if the first VM is similar to the second VM.