US 11,943,093 B1
Network connection recovery after virtual machine transition in an on-demand network code execution system
Marc John Brooker, Seattle, WA (US); Timothy Allen Wagner, Seattle, WA (US); Mikhail Danilov, Sammamish, WA (US); Niall Mullen, Seattle, WA (US); Holly Mesrobian, Bellevue, WA (US); and Philip Daniel Piwonka, Seattle, WA (US)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Nov. 20, 2018, as Appl. No. 16/196,935.
Int. Cl. H04L 41/0654 (2022.01); G06F 9/455 (2018.01); H04L 69/16 (2022.01)
CPC H04L 41/0654 (2013.01) [G06F 9/45558 (2013.01); H04L 69/16 (2013.01); G06F 2009/4557 (2013.01); G06F 2009/45595 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A system to facilitate reconnection of stateful network connections after migration of a virtual machine instance, the system comprising:
a first host computing device and a second host computing device;
wherein the first host computing device is configured with computer-executable instructions to:
host the virtual machine instance prior to the migration;
identify a stateful network connection between the virtual machine instance and an external device external to the virtual machine instance;
independent of communications of the external device and virtual machine instance, transmit to the external device a first termination signal indicating termination of the stateful network connection, wherein the first termination signal is formatted to indicate that the first termination signal originates from the virtual machine instance; and
migrate the virtual machine instance to the second host computing device;
wherein the second host computing device is configured with computer-executable instructions to:
host the virtual machine instance subsequent to the migration;
identify the stateful network connection; and
independent of communications of the external device and virtual machine instance, transmit to the virtual machine instance a second termination signal indicating termination of the stateful network connection, wherein the second termination signal is formatted to indicate that second termination signal originates from the external device; and
wherein the virtual machine instance is configured, on receiving the second termination signal, to attempt to reestablish the stateful network connection.