US 11,714,726 B2
Failover and recovery for replicated data instances
Grant Alexander Macdonald McAlister, Seattle, WA (US); and Swaminathan Sivasubramanian, Sammamish, WA (US)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Dec. 4, 2020, as Appl. No. 17/112,731.
Application 17/112,731 is a continuation of application No. 15/811,565, filed on Nov. 13, 2017, granted, now 10,860,439.
Application 15/811,565 is a continuation of application No. 15/083,210, filed on Mar. 28, 2016, granted, now 9,817,727, issued on Nov. 14, 2017.
Application 15/083,210 is a continuation of application No. 14/089,616, filed on Nov. 25, 2013, granted, now 9,298,728, issued on Mar. 29, 2016.
Application 14/089,616 is a continuation of application No. 13/299,601, filed on Nov. 18, 2011, granted, now 8,595,547, issued on Nov. 26, 2013.
Application 13/299,601 is a continuation of application No. 12/606,097, filed on Oct. 26, 2009, granted, now 8,074,107, issued on Dec. 6, 2011.
Prior Publication US 2021/0208980 A1, Jul. 8, 2021
Int. Cl. G06F 11/00 (2006.01); G06F 11/14 (2006.01); G06F 11/20 (2006.01); G06F 16/178 (2019.01); G06F 16/27 (2019.01); G06F 11/30 (2006.01)
CPC G06F 11/1469 (2013.01) [G06F 11/1443 (2013.01); G06F 11/1451 (2013.01); G06F 11/1464 (2013.01); G06F 11/2025 (2013.01); G06F 11/2056 (2013.01); G06F 11/2064 (2013.01); G06F 11/2069 (2013.01); G06F 11/2082 (2013.01); G06F 11/3006 (2013.01); G06F 16/178 (2019.01); G06F 16/275 (2019.01); G06F 11/2028 (2013.01); G06F 11/2041 (2013.01); G06F 11/2048 (2013.01); G06F 11/2076 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A system, comprising:
at least one processor; and
a memory, storing program instructions that when executed by the at least one processor, cause the at least one processor to implement:
detect a failure of a first replica of a database in a first data zone comprising a first one or more data centers, wherein the database is synchronously replicated to a second replica of the database in a second data zone comprising a second one or more data centers, wherein the second data zone is selected out of a plurality of data zones offered by a database service that hosts the database via an interface of the database service, and wherein the selection of the second data zone is to create the second replica of the database in the second data zone;
responsive to the detection of the failure:
perform a failover to the second replica of the database in the second data zone from the first replica of the database in the first data zone; and
update a record for an endpoint DNS name of the database to direct client requests using the endpoint DNS name to the second replica of the database in the second data zone instead of the first replica of the database in the first data zone.