This document discusses using OpenStack and OpenShift for IoT and edge computing. It proposes a three-tier IoT architecture with devices, intelligent gateways for real-time processing at the edge, and data centers. OpenShift allows for scalable microservices deployment across this architecture. OpenStack provides the virtualization infrastructure for NFV edge computing with the intelligent gateways. The combination provides a platform for applications like NB-IoT from the edge to the cloud.