This is how a single CDN user took down the internet
A single configuration change by a CDN client has caused many of the most important sites on the World Wide Web to go down. It just shows how a single bug can turn into something big enough to destroy most of the internet. Kind of like the butterfly effect we see in movies and TV shows on time travel. Fortunately, things were sorted out quickly as some people couldn’t even access Amazon and other big sites.
The incident took place on June 8, in the morning. This was apparently caused by a single CDN user who simply changed their network settings. According to CDN provider Fastly, where the bug was generated, a simple request from a customer triggered a bug that brought down many websites. Quickly published an article explaining what happened.
Nick Rockwell, senior vice president of engineering and infrastructure at Fastly, explained that a software update last month introduced a new bug to their platform.
So when a customer reconfigured their internet connection, the bug surfaced and everything turned to what we saw on June 8th. Nick said that “a customer pushed a valid configuration change that included the specific circumstances that triggered the bug, which caused 85% of our network to return.”
It only took a minute for the company to realize what had happened and they immediately started working on a fix. After resolving the issue, 95% of affected websites were back online within 49 minutes of downtime. You might have seen something called Cloudfare set up on some websites. Well, these are the same as Fastly, a CDN provider. Content Delivery Networks or CDNs help improve website performance and deliver content to users faster and more efficiently.
It’s not even the first time that a CDN has failed as even Discord went down last year when Cloudfare ran into trouble. Fastly is working on deploying a fix for the bug as soon as possible. They will also make sure that something like this does not happen again. But let’s be honest, bugs are as common as it looks when it comes to code.