The invention provides a method and
system for allocating
virtual machine resources. The method includes the steps of firstly, classifying virtual machines according to types; secondly, determining the minimum
virtual machine configuration needed by each task request; thirdly, determining the
virtual machine types which need to be allocated; fourthly, acquiring the
processing task request number of each virtual
machine instance under the selected virtual
machine type; selecting a specific virtual
machine instance in the selected virtual machine type. The
system comprises a task-request servicelevel agreement definition module, a virtual machine type allocation module, a virtual machine
type selection module, a virtual machine instance real-time taste request number acquiring module and avirtual machine
instance selection module. The method and the
system have the advantages that the adjustable virtual machine
resource allocation method is used according to specific business, the service level agreements of the business are satisfied, the
utilization rate of the single virtual machine is increased, and accordingly the overall
processing ability of a bottom-layer physical machine is increased.