A distributed environment is provided by cloud computing to share resources and reduce complexity of infrastructure requirements from user end. Each cloud server is defined with a multiple virtual machines. The major challenge is to allocate the resources and other cloud services to user. The complexity of this process gets increases when the servers are configured under some restriction i.e. energy restriction etc. In such situations, it is important to provide an energy effective allocation.