Aurora Restore Service
Make an AWS Aurora point-in-time copy for an ephemeral Environment.
The auroraRestore Service makes an AWS Aurora copy for an ephemeral
Environment. It uses the latest restorable time of a tagged source cluster.
An operator must enable Aurora restore and configure its AWS credentials, region,
network, engine, and instance values. You cannot supply these installation
settings in lifecycle.yaml. If Aurora restore is not available, ask your
operator to configure it.
Required fields
| Field | Type | Description |
|---|---|---|
command | string | Path to the built-in Aurora helper. |
arguments | string | Source-tag and cost-attribution helper arguments. |
How it works
- Lifecycle finds Aurora clusters that match the source tag.
- Lifecycle selects the matching cluster with the latest creation time.
- Lifecycle makes a copy at the latest restorable time.
- Lifecycle makes an Aurora instance for the new cluster.
- Lifecycle makes the cluster endpoint available to other Services.
Put only source selection and appShort arguments in arguments.
Example
Typical tasks
- Test changes against representative data.
- Test database migrations against a representative schema.
- Reproduce a defect that depends on database state.
Source data can contain sensitive information. Before you make a copy, apply your necessary data controls and access limits.
Teardown behavior
Lifecycle deletes the copied instance and cluster during Environment teardown.
Teardown does not create a final snapshot. Do not put unique or durable data in the copied cluster.
Other Services can read the Aurora Service template variables after the cluster is ready.