Cloud computing, a metered based technology provides the services using virtualized technology over the internet. In the cloud environment, to improve the performance (such as utilization of the resources, energy minimization) extreme number of virtual machines (VMs) can be installed on the servers as per their resource capacity. In this way, servers can be overloaded. Overloaded servers consume more energythan normal status servers. VM migration (VMM) is an efficient technique to become a server in a normal state. VMM technique is used to consolidate the resources to increase resource utilization (RU) and reduceenergy usage. In the VMM technique, selection of VM such as which VM is migrated from one server to another server and allocation of VM on servers is an important aspect. Appropriate VM selection declines the numeral of VMMs and increasesenergy efficiency. Appropriate VM allocation declines the server to become overloaded. In this paper, the VM selection and allocation strategy is presented. CloudSim toolkit is used to verify the strength of proposed VM selection and allocation algorithm. Proposed VM Selection algorithm (MaMT) performs better than existing MiMT algorithm in terms of total energy consumption, number of hosts shut down, number of VMM, and average Service Level Agreement (SLA) violation rate. MaMT algorithm with resource aware provisioning (RAP) and MiMT+RAP algorithm combines both VM selection and allocation policies. RAP algorithm used both energy and RU parameters while allocating VM to the server.MaMTreduces the energy consumption up to 7.25% and reduces the SLA violation rate up-to 2.6% in comparison to MiMT algorithm. When VM selection and allocation policies combines together than more system performance is improved. MaMT+RAPreduces the energy consumption up to6.76% and reduces the SLA violation rate up-to 0.22% in comparison to MaMT algorithm.MiMT+RAPreduces the energy consumption up to15.23% and reduces the SLA violation rate up-to 0.95% in comparison to MiMT algorithm.