Teaching networks in the cloud