Dynamic Creation and Placement of Virtual Machine Using CloudSim

Cloud Computing becomes a new trend in computing. The IaaS(Infrastructure as a Service) is served by the cloud computing service providers by placing the virtual machines over the physical machines in a datacenter. The datacenter's hardware get virtualized using virtualization component of cloud computing, before the placing of VMs on PMs, so that the resources of datacenter can be allocated to more than one VMs. A Virtual Machine placement problem is typically a search problem of available space and resources. Given that N is a set of virtual machines and M is a set of physical machines and the physical machines already hosting N1 virtual machines. Then the VM placement algorithms give a mapping of N+N1 machines on the M physical machines under a set of constraints. Resources in a datacenter can be provisioned to VMs by VM-scheduler in either a timeshared or spaceshared manner. After the successful placement of VMs on the PMs the tasks of the users are assigned to execute on different VMs. In this paper we are going to place the VMs and cloudlets dynamically and examine the resource allocation to VMs in a spaceshared and timeshared manner. Our simulation work is done using the cloud computing simulation toolkit known as CloudSim.