Dozens of US and European websites went offline overnight due to an internal glitch at a major cloud-service provider.