Intelligent and resilient infrastructure is necessary for smart cities for contributing flexible and smart amenities to the citizens. Concerning the United Nations (UN) estimation, the global population residing in urban cities will reach 68% by 2050. Additionally, the Sustainable Energy Action Plans (SEAP) report suggests implementing energy efficiency technologies in smart cities to meet the rising urban population requirement. Internet of Things (IoT) technology empowers to achieve the goal of energy efficiency by integrating sensors, wireless technology, and renewable energy sources in the lighting system. At present, the IoT-based lighting system in urban cities is implemented with streetlamps and lampposts. In this study, we are focusing on lampposts, as it has the flexibility of establishing and implementing a multitude of applications on a single system. Due to technological advancement, the lamppost is embedded with multiple sensors, communication protocols, and energy distribution infrastructure for delivering smart and affordable amenities to the citizens residing in the smart cities. This motivates us to implement a smart lamppost that provides a multitude of applications such as smart light, digital signs, environmental monitoring conditions, electric vehicle (EV) charging port, wireless fidelity (Wi-Fi) hotspot, etc., on a single lamppost. This study proposed the IoT-assisted fog and edge-based smart lamppost for the smart cities to realize the smart infrastructure. Further, this smart lamppost is integrated with low power and long-range communication, i.e., Long Range (LoRa), enabling the smart lamppost to communicate the sensory data to a long-range. Additionally, LoRa is integrated with a Wi-Fi module for establishing the interconnection between the smart lamppost and IoT server. Generally, the proposed architecture is broad perspective; however, we have developed and implemented the hardware models of three components including lighting system, environmental parameters and image sensing in real time. Lighting system and environmental parameter monitoring are integrated on same hardware model for sensing and logging the real-time values of temperature, humidity, CO and light intensity on the IoT server. The developed image sensing prototype based on ESP 32 controller is also evaluated in real-time scenarios, and the performance of the prototype is efficient. The proposed system delivers reliable performance in terms of sensing and communicating environmental parameters and images to the IoT server. Moreover, in future, we will complete the development of other components of the smart lamppost for enhancing the smarter infrastructure in smart cities.