An error in a software update from Amazon had a cascading effect, causing widespread disruptions across the internet.