The modern age networks are supposed to be connected, agile, programmable, and load efficient to counter the side‐effects of an imbalanced network such as network congestion, higher transmission cost, low reliability, and so forth. The wide number of electronic devices around us have a great potential to realize the concept of a connected world. Internet of Things (IoT) is an effort of the research community to realize this concept, and cloud computing plays an important role in this realization. However, fog and edge computing are more prominent solutions for small power devices and latency sensitive applications. As IoT sensors generate huge volume of data, and the IoT environment comprises of multiple applications and traffic conditions, a network traffic based dynamic load balancing approach is needed to optimize the overall network performance. This work proposes a layer based Edge‐Fog‐Cloud network architecture to distribute the network traffic load in an IoT environment. In addition to this, a load balancing assisted optimized access control mechanism is discussed to improve the network load conditions further. The proposed mechanism is tested using Amazon web services platform and the achieved results validate the effectiveness of the proposed approach. The simulation results show an average improved CPU utilization rate of 10.13%, 10.01%, 10.82%, 8.78%, and 11.91% in five different experiments conducted.