Distributed operations across cloud, edge and disconnected environments