A hub device of a network receives data from edge devices and generates a local result. The hub device also sends the data to a remote provider network and receives a result from the remote provider network, wherein the result is based on the data received from the edge devices.