In response to the diverse resource utilization patterns observed across enterprises, this study proposes the utilization of adaptable cloud services. A novel system framework is presented, capturing and logging resource consumption at discrete intervals. Subsequently, this recorded data serves as input for a linear regression model, functioning as a machine learning tool to predict resource utilization in forthcoming intervals, leveraging historical data stored within the regression module. To bolster the resilience of the linear regression model, various effective meta-heuristic techniques are integrated alongside the conventional linear regression methodology, facilitating more accurate anticipation of overloaded or under-loaded resource conditions before their occurrence in real-world scenarios. Simulations demonstrate that the hybrid algorithm, named Whale Optimization Algorithmbased Linear Regression (WOA-LR), outperforms Genetic Algorithm-Linear Regression (GA-LR), Particle Swarm Optimization-Linear Regression (PSO-LR), JAYA-LR, and traditional Linear Regression (LR) in achieving desired objective functions and significantly reducing Mean Squared Error (MSE). This approach holds promise for more accurate resource utilization prediction and optimization in dynamic cloud environments.