Many organizations have embraced cloud computing in recent years to provide new services, easily expand their IT resources, and reduce the cost of their IT infrastructure. This has been made possible through the implementation of resource allocation strategies by cloud service providers. One of the major challenges during resource allocation is to minimize power consumption while ensuring the required Service Level Agreement (SLA). To solve this problem, a new approach to efficiently allocate resources in cloud computing while optimizing energy consumption and guaranteeing the required service level agreement has been proposed. The main idea of this proposal is to leverage the CNN-LSTM architecture to accurately predict resource utilization in order to make the appropriate resource allocation decision. The proposed solution was validated in two steps: step 1) a comprehensive set of statistical performance analysis and step 2) an intensive simulation of the solution for resource allocation using cloudSim Plus tool. The results of the experimentation demonstrated that the proposed solution can help cloud service providers achieve energy savings while guaranteeing the required SLA.