IL-0336 Amazon Web Services · 2021-09-02awsnetworking
AWS Direct Connect traffic into the Tokyo Region had packet loss and intermittent connectivity for about six hours
AWS Direct Connect gives customers a private connection from their own data centers to their AWS VPCs. In the Tokyo Region on 2 September 2021, a subset of network devices in one layer on the path from the Direct Connect edge locations to the Tokyo datacenter network stopped forwarding traffic correctly from 7:30 AM JST. The normal automation did not remove them. Engineers removed affected devices from service, but other devices in the layer kept failing in the same way, and resetting devices and bringing them back slowly did not hold. By 12:00 PM JST the engineers suspected a new protocol that had been introduced to shorten the network's reaction time to rare network convergence events and fiber cuts. They suspected that the protocol interacted badly with a new traffic pattern on the devices of this layer. They disabled the protocol in one Availability Zone first to confirm a lasting recovery, while preparing the same change for the whole Region. Customers reported recovery from 12:30 PM JST, and by 1:42 PM JST the devices were stable and Direct Connect worked normally.
In the following days AWS confirmed the root cause as a latent defect in the network device operating system. The operating system version that enables the new protocol, which improves the network's failover time, was first deployed to production in January 2021 and had been released gradually to all AWS Regions over 8 months without any sign of the problem. AWS had followed its usual procedure: stress tests in a dedicated lab with valid and malformed packets, then a slow production rollout on individual devices from which traffic could fail away to devices that had not been upgraded, with close monitoring. The defect needs a very specific set of packet attributes and contents, and in Tokyo customer traffic happened to produce packets matching that signature consistently. AWS states that it has no reason to suspect malicious intent. AWS disabled the protocol in Tokyo.
- Severity
- –
- Scope
- Direct Connect traffic from customer data centers to VPCs in the Tokyo Region; traffic between Availability Zones, internet connectivity to the Region, AWS VPN and Direct Connect traffic to other Regions were not affected
- Users affected
- Direct Connect customers connecting to the Tokyo Region
- Region
- Tokyo (AP-NORTHEAST-1)
- Time to detect
- 0m
- Time to resolve
- 6h 12m
Symptoms
From 7:30 AM JST on 2 September 2021, AWS Direct Connect customers saw intermittent connectivity problems and elevated packet loss on traffic going to their VPCs in the Tokyo (AP-NORTHEAST-1) Region. Internal AWS alarms on Direct Connect packet loss fired at the same time.
Direct Connect carries traffic from the edge locations where AWS meets customer networks to the Region through several network layers, each with many redundant devices. The alarms pointed to several devices in a single one of those layers. The devices were not forwarding traffic correctly, yet the automation that normally takes failed network devices out of service did not remove them. The automation instead saw a higher rate of failed devices than usual and called in engineers. Traffic between Availability Zones, internet traffic to the Region, AWS VPN connections, which some customers use as a backup for Direct Connect, and Direct Connect traffic to other Regions all kept working.
Engineers judged that the layer had enough redundancy and took the failing devices out of service so that healthy devices would carry the traffic. This helped only for a while: more devices then failed in the same way, and Direct Connect customers saw congestion, connectivity problems or packet loss. Resetting the failed devices and returning them to service slowly did not stop the failures, and the engineers could not keep enough healthy capacity in the layer. Engineers also looked for any recent deployment that could have set off the failure.
Root cause
Root cause Software defect
- Trigger
- Customer traffic consistently generated packets with a very specific set of attributes and contents, and these packets set off a latent defect in the network device operating system on one layer of the Direct Connect network in Tokyo.
Detection
Internal alarms alerted AWS engineers to elevated packet loss for Direct Connect customers connecting to the Tokyo Region at 7:30 AM JST. The automation that monitors network devices also saw a higher rate of failed devices than normal and alerted engineers.
Remediation
- Removed the failing network devices from service so healthy devices carried the traffic, which helped only for a time
- Reset failed devices and brought them back into service slowly, without stopping the failures
- Disabled the new protocol in a single Availability Zone, then across the Tokyo Region
Action items
- Apply the change carefully to all other AWS Regions, with a new way to detect and remediate the issue before customers are affected
Lessons
–
Sources
- https://aws.amazon.com/message/17908/ · official-status · archived copy
Related cases
IL-0223A connection surge congested the devices between AWS's internal and main networks in us-east-1, breaking EC2 APIsAmazon Web Services · 2021same root cause · shared Transit gateway or network interconnect
Check your cluster for this
For AI tools and scripts
- This case as JSON: https://incidentlib-api.benchlet.com/cases/IL-0336
- The cases most like it: https://incidentlib-api.benchlet.com/cases/IL-0336/similar
- MCP server (Streamable HTTP, no key):
https://incidentlib-mcp.benchlet.com/mcp
The API needs no key. The MCP server offers search_incidents, get_incident, list_incidents, get_topic and vocab; both are explained on API and MCP.