The cloud-native architecture decouples the video processor from the sensor, and further decouples the video analytics software from the hardware. Thus, all the layers of the city infrastructure can be upgraded independently, stage by stage. The cloud app can adapt to different types of sensors and video codecs without the costly need to replace cameras. Cameras are inexpensive and, if vandalized, can be replaced at the minimal expense.