Cloudflare 因部署 WAF 规则导致宕机30分钟

Cloudflare是一家免费的CDN提供商,也可以仅使用他们提供的域名解析服务,很多站在都在使用Cloudflare的服务。

美国时间7月2日,Cloudflare 由于在部署 WAF (Web Application Firewall) 规则时,其中一条规则包含的正则表达式导致了Cloudflare全球范围内的服务器CPU使用率飙升至100%,从而导致用户在访问使用了 Cloudflare CDN 的网站出现了502错误。最高导致82%的流量被丢弃,整个宕机事件持续了大概30分钟。

cloudflare cpu spike

Cloudflare官博对这次事件也做了回顾,表示他们测试工作不够充分,将重新调整他们的测试和部署流程,避免以后发生类似的事件。

扩展阅读:

什么是HTTP 502错误?

The HyperText Transfer Protocol (HTTP) 502 Bad Gateway server error response code indicates that the server, while acting as a gateway or proxy, received an invalid response from the upstream server.

HTTP 502错误表示服务器,在作为代理服务器或者网关时,从上游服务器收到了无效的响应。

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>