A developing trend in the IT environment is mobile cloud computing (MCC) with colossal infrastructural and resource requirements. In the cloud computing environment, load balancing -a way of distributing workloads across numerous computing resources, is a vital aspect. A proficient load balancing guarantees an effective resource usage through the supply of network resources based on the user demands. It can also organize the network clients using the fitting planning criteria. This paper sets forth an advanced load balancing and energy/cost aware technique for a demand-based network resource allocation in cloud computing. The load balancing process in the proposed strategy utilizes a Krill load balancer (Krill LB) which is expected to achieve a well-balanced load over virtual machines. The aim of using the Krill LB as the load balancer is to increase the throughput of the network as much as possible. The speed, task cost, and weight of the tasks were first determined, after which, the Krill herd optimization algorithm was for the load balancing based on the measured parameters. Furthermore, a modified dynamic energy-aware cloudlet-based mobile cloud computing model (MDECM) was introduced for energy cost awareness in load balancing based on the service rate and energy of the mobile users. The proposed work was aimed at optimizing resource allocation in MCC in an energy-efficient manner. The performance of the suggested Krill-LB was benchmarked against that of Honey Bee Behavior Load Balancing (HBB-LB), Kill Herd, and Round Robin algorithms. or applications to servers in cloud domain in order to execute them, and after that, recover the outcome of the execution from these servers [8]. It utilizes communication technology to share information and assets and incorporates locationaware technologies, mobile access to IT, and energy sparing technology specifically designed for mobile devices [15]. As of late, mobile applications have been noticeably copious with different classes, such as entertainment, health, games, business, social networking, travel, andIn the cloud, the load assigned to every node in the network is similarly distributed with an even quantity of resources over time. This enhances the scheme performance by moving the workloads among various nodes [4] [26]. The primary goal is to expedite the implementation of applications on resources whose workload changes at the runtime in an unpredictable way. These are generally discussed in homogeneous conditions such as grids. Fundamentally, there are two ways of load balancing procedures: (i) Static and (ii) dynamic [3]. The load balancing plan and a migration policy are aimed at virtual machine (VM) clustering to brilliantly choose a VM from an over-burdened Studies in Informatics and Control, 26(4) 413-424,