A Unified Approach to Virtual Machine Placement and Migration in the Cloud using Deep Reinforcement Learning

Authors:

Abstract
Efficient virtual machine (VM) placement in cloud data centres is crucial for delivering real-time services, optimizing resource utilization, and ensuring energy conservation. While there has been extensive research on VM placement and migration to achieve goals like energy efficiency and load balancing, existing solutions often overlook the integration of both processes into a single model, leading to potential strategy conflicts and suboptimal performance. In this paper, we formulate the online VM placement problem as a unified optimization model that facilitates both initial VM placement and VM migration. We propose a Reinforcement Learning (RL) model for the VM placement problem and provide an RL environment implementation. We also devise an approach to maximize physical machine (PM) utilization while maintaining balance based on Deep Reinforcement Learning. The evaluation results show that our approach with the Proximal Policy Optimization algorithm outperforms baselines, achieving a 0.8-3.4% higher PM utilization rate in a moderate-scale cluster under a high system load.