Energy consumption in cloud computing plays a vital role in operating costs for both the service provider and the cloud user. The cloud is scalable and can provide access as per demand. Due to this, resource access requests are increasing and submitted to the server. To manage all requests, scheduling is the solution to assign requests with the quality of service. To avoid high operating costs, resource scheduling needs to be energy-aware. In this paper, energy-aware resource scheduling in the cloud is proposed. The total resource utilization of each resource has been calculated, and energy is optimized through the antlion optimization algorithm to avoid high power consumption. The resource is identified with its best utilization value and assigned to submitted workloads on a priority basis. The experimental results of the proposed work are analyzed with existing autonomic frameworks, and it is found that the proposed work performs exceptionally well. In addition to addressing the increasing resource access requests, the proposed energy-aware resource scheduling in cloud computing also focuses on optimizing overall system performance. The antlion optimization algorithm is employed to efficiently manage energy consumption, ensuring that power usage is minimized without compromising the quality of service. The algorithm calculates the total resource utilization for each component in the cloud infrastructure, allowing for a thorough understanding of system dynamics. The paper optimizes cloud computing by prioritizing efficient and capacity-based resource assignment, improving responsiveness, user experience, and reducing costs. The approach also promotes environmental sustainability. Experimental results validate its effectiveness in energy efficiency and system responsiveness, contributing to advanced resource management in cloud computing for sustainable and cost-effective services.