PROVISIONING AND MANAGING REPLICATED DATA INSTANCES
First Claim
1. A computer-implemented method of provisioning a replicated relational database instance in a database environment using one or more self-service Web services of a control environment, comprising:
- under control of one or more computer systems configured with executable instructions,providing a plurality of application programming interfaces (APIs) each enabling a user to submit a Web service request to a control environment, each API corresponding to a desired action to be performed with respect to a relational database for the user in a separate database environment;
in response to receiving a Web service request from the user to the control environment through a first API of the plurality of APIs, instantiating a workflow including tasks for;
provisioning a primary instance replica in a first data zone in the database environment;
installing a database engine in the primary replica instance;
provisioning a secondary instance replica in a second data zone in the database environment using one or more snapshots of the primary instance replica; and
connecting a block level replication mechanism to each of the primary and secondary instance replicas, the block level replication mechanism configured to intercept any read or write for the primary instance replica and cause any data updated for the primary instance replica to be synchronously updated to the secondary instance replica; and
providing the user with an alias name enabling the user to interact with the database engine installed in the primary replica instance, the alias updatable to enable the user to interact with the secondary instance replica upon a failure of the primary instance replica.
1 Assignment
0 Petitions
Accused Products
Abstract
A replicated database instance 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.
-
Citations
25 Claims
-
1. A computer-implemented method of provisioning a replicated relational database instance in a database environment using one or more self-service Web services of a control environment, comprising:
under control of one or more computer systems configured with executable instructions, providing a plurality of application programming interfaces (APIs) each enabling a user to submit a Web service request to a control environment, each API corresponding to a desired action to be performed with respect to a relational database for the user in a separate database environment; in response to receiving a Web service request from the user to the control environment through a first API of the plurality of APIs, instantiating a workflow including tasks for; provisioning a primary instance replica in a first data zone in the database environment; installing a database engine in the primary replica instance; provisioning a secondary instance replica in a second data zone in the database environment using one or more snapshots of the primary instance replica; and connecting a block level replication mechanism to each of the primary and secondary instance replicas, the block level replication mechanism configured to intercept any read or write for the primary instance replica and cause any data updated for the primary instance replica to be synchronously updated to the secondary instance replica; and providing the user with an alias name enabling the user to interact with the database engine installed in the primary replica instance, the alias updatable to enable the user to interact with the secondary instance replica upon a failure of the primary instance replica. - View Dependent Claims (2, 3)
-
4. A computer-implemented method of enabling a user to create a replicated database instance in a database environment using a separate control environment, comprising:
under control of one or more computer systems configured with executable instructions, providing a plurality of application programming interfaces (APIs) each enabling a user to submit a Web service request to the control environment, each API corresponding to a desired action to be performed with respect to a database for the user in the database environment; in response to receiving a Web service request from the user to the control environment through one of the plurality of APIs, causing a first instance replica and a second instance replica for a database to be provisioned in the database environment, a block-level replication mechanism configured to intercept any write operation for the database at the primary instance replica and synchronously replicate changes for the write operation to the secondary instance replica; and enabling the user to access the database via the primary instance replica. - View Dependent Claims (5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
18. A system for enabling a user to create a replicated database instance in a database environment using a separate control environment, comprising:
-
a processor; and a memory device including instructions that, when executed by the processor, cause the processor to; provide a plurality of application programming interfaces (APIs) each enabling a user to submit a Web service request to the control environment, each API corresponding to a desired action to be performed with respect a database for the user in the database environment; in response to receiving a Web service request from the user to the control environment through one of the plurality of APIs, cause a first instance replica and a second instance replica for a database to be provisioned in the database environment, a block-level replication mechanism configured to intercept any write operation for the database at the primary instance replica and synchronously replicate changes for the write operation to the secondary instance replica; and enable the user to access the database via the primary instance replica. - View Dependent Claims (19, 20, 21)
-
-
22. A computer-readable storage medium storing instructions for enabling a user to create a replicated database instance in a database environment using a separate control environment, the instructions when executed by a processor causing the processor to:
-
provide a plurality of application programming interfaces (APIs) each enabling a user to submit a Web service request to the control environment, each API corresponding to a desired action to be performed with respect a database for the user in the database environment; in response to receiving a Web service request from the user to the control environment through one of the plurality of APIs, cause a first instance replica and a second instance replica for a database to be provisioned in the database environment, a block-level replication mechanism configured to intercept any write operation for the database at the primary instance replica and synchronously replicate changes for the write operation to the secondary instance replica; and enable the user to access the database via the primary instance replica. - View Dependent Claims (23, 24, 25)
-
Specification