# US 11,907,254 B2 · Provisioning and managing replicated data instances

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,907,254 B2
- Document ID: US11907254B2
- Status: Granted
- Kind: B2
- Application number: 17/661,515
- Filed: 2022-04-29
- Published: 2022-08-18
- Granted: 2024-02-20
- Earliest claimed: 2009-10-26
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Grant Alexander MacDonald McAlister; Swaminathan Sivasubramanian
- Web page: https://patentgrep.com/patent/US11907254B2

## CPC

- G06F 16/275: {Synchronous replication}
- G06F 11/2076: {Synchronous techniques}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- G06F 11/0727: {in a storage system, e.g. in a DASD or network based storage system (drivers for digital recording or reproducing units G06F3/06; circuits for error detection or correction within digital recording or reproducing units G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/0766: {Error or fault reporting or storing}
- G06F 11/1446: Point-in-time backing up or restoration of persistent data
- G06F 11/2069: {Management of state, configuration or failover}
- G06F 2201/80: Database-specific techniques
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A replicated database can be provisioned that provides primary and secondary replicas that can be provisioned in different data zones or geographical locations. The database can be installed on the primary replica, and both the primary and secondary replica can have installed a block level replication mechanism that allows any I/O operation to be replicated by between the primary and secondary replicas. Any failure or outage of the primary replica can be addressed by performing a failover operation to the secondary replica. A DNS name or other such approach can be used such that the name can be aliased to the secondary replica during a failover, such that there is no action needed on the part of the customer to utilize the “new” primary replica. The creation of the database and provisioning of the replicated instance can be initiated using a Web service call to a control environment. A replicated database can also be scaled according to storage or computing capacity with no disruption of service using a Web service call to the control environment.

## Claims

### Claim 1

A method, comprising:
performing, with one or more computing devices:
receiving, from a user external to the one or more computing devices, a service request to scale storage for a replicated database having a first instance replica and a second instance replica, wherein the replicated database is configured to apply a write operation of the first instance replica to the second instance replica;
responsive to the received service request, scaling the storage for the first instance replica and the second instance replica;
generating a failover network address that points to the first instance replica; and
in response to a failure of the first instance replica, redirecting the failover network address to point to the second instance replica, wherein after redirecting, a received access request addressed to the failover network address is transmitted to the second instance replica.

### Claim 2 (depends on 1)

The method of claim 1, wherein the service request comprises configuration information for the replicated database, and wherein the storage for the first instance replica and the second instance replica are scaled according to the configuration information.

### Claim 3 (depends on 2)

The method of claim 2, wherein scaling the storage for the first instance replica and the second instance replica comprises:
modifying a quantity of first storage volumes for the first instance replica according to the configuration information; and
modifying a quantity of second storage volumes for the second instance replica according to the configuration information.

### Claim 4 (depends on 1)

The method of claim 1, wherein, prior to the failure of the first instance replica, another received access request addressed to the failover network address is transmitted to the first instance replica.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
providing the failover network address to the user for accessing the replicated database.

### Claim 6 (depends on 1)

The method of claim 1, wherein the failover network address comprises a Domain Name Service (DNS) address.

### Claim 7 (depends on 4)

The method of claim 4, wherein redirecting the failover network address comprises:
remapping the DNS address to point to the second instance replica.

### Claim 8

A system, comprising:
one or more processors; and
a memory storing instructions that, when executed on or across the one or more processors, cause the one or more processors to:
in response to a service request to scale storage for a replicated database having a first instance replica and a second instance, scale the storage for the first instance replica and the second instance replica, wherein the replicated database is configured to apply a write operation of the first instance replica to the second instance replica;
generate a failover network address that points to the first instance replica; and
in response to a failure of the first instance replica, redirect the failover network address to point to the second instance replica, wherein after redirecting, a received access request addressed to the failover network address is transmitted to the second instance replica.

### Claim 9 (depends on 8)

The system of claim 8, wherein the service request comprises configuration information for the replicated database, and wherein the storage for the first instance replica and the second instance replica are scaled according to the configuration information.

### Claim 10 (depends on 9)

The system of claim 9, wherein to scale the storage for the first instance replica and the second instance replica, the memory further comprises instructions that, when executed on or across the one or more processors, cause the one or more processors to:
modify a quantity of first storage volumes for the first instance replica according to the configuration information; and
modify a quantity of second storage volumes for the second instance replica according to the configuration information.

### Claim 11 (depends on 8)

The system of claim 8, wherein, prior to the failure of the first instance replica, another received access request addressed to the failover network address is transmitted to the first instance replica.

### Claim 12 (depends on 8)

The system of claim 8, the memory further comprises instructions that, when executed on or across the one or more processors, cause the one or more processors to:
provide the failover network address to the user for accessing the replicated database.

### Claim 13 (depends on 8)

The system of claim 8, wherein the failover network address comprises a Domain Name Service (DNS) address.

### Claim 14 (depends on 13)

The system of claim 13, wherein, to redirect the failover network address, the memory further comprises instructions that, when executed on or across the one or more processors, cause the one or more processors to:
remap the DNS address to point to the second instance replica.

### Claim 15

One or more computer-readable storage media storing instructions that, when executed on or across one or more processors, cause the one or more processors to:
in response to a service request to scale storage for a replicated database having a first instance replica and a second instance, scale the storage for the first instance replica and the second instance replica, wherein the replicated database is configured to apply a write operation of the first instance replica to the second instance replica;
generate a failover network address that points to the first instance replica; and
in response to a failure of the first instance replica, redirect the failover network address to point to the second instance replica, wherein after redirecting, a received access request addressed to the failover network address is transmitted to the second instance replica.

### Claim 16 (depends on 15)

The one or more computer-readable storage media of claim 15, wherein the service request comprises configuration information for the replicated database, and wherein the storage for the first instance replica and the second instance replica are scaled according to the configuration information.

### Claim 17 (depends on 16)

The one or more computer-readable storage media of claim 16, wherein to scale the storage for the first instance replica and the second instance replica, the memory further comprises instructions that, when executed on or across the one or more processors, cause the one or more processors to:
modify a quantity of first storage volumes for the first instance replica according to the configuration information; and
modify a quantity of second storage volumes for the second instance replica according to the configuration information.

### Claim 18 (depends on 15)

The one or more computer-readable storage media of claim 15, wherein, prior to the failure of the first instance replica, another received access request addressed to the failover network address is transmitted to the first instance replica.

### Claim 19 (depends on 15)

The one or more computer-readable storage media of claim 15, the memory further comprises instructions that, when executed on or across the one or more processors, cause the one or more processors to:
provide the failover network address to the user for accessing the replicated database.

### Claim 20 (depends on 15)

The one or more computer-readable storage media of claim 15, wherein the failover network address comprises a Domain Name Service (DNS) address, and wherein, to redirect the failover network address, the memory further comprises instructions that, when executed on or across the one or more processors, cause the one or more processors to:
remap the DNS address to point to the second instance replica.
