The prolonged outage offered a reminder of the fragility of global internet connectivity and Amazon’s role underpinning much of online infrastructure.