Resource Allocation Technique to Obtain Energy Efficient Cloud