All Collections
Actions
Amazon Web Services
Create RDS Read Replica Actions
Create RDS Read Replica Actions
Matt Houser avatar
Written by Matt Houser
Updated over a week ago

Description

The Create RDS Read Replica action can be used to create a read replica of an RDS instance. Later, it can (optionally) be deleted.

For example, at 8am, a read replica of an RDS instance can be created for development purposes, then 8 hours later, it can be deleted.

Settings

Please see Common Action Settings for a description of settings common to all action types.

Source RDS Instance ID

Indicates the RDS instance ID of which the read replica will be created. This instance must exist in the region specified.

New RDS Replica ID

Indicates the instance identifier of the new RDS read replica. Macros can be used in the instance ID to include run-time data. See below.

Availability Zone

Indicates the desired availability zone in which the new RDS instance will be created.

Delete the Instance

Indicate whether the new RDS instance should be automatically deleted later. The running time of the instance must also be specified if this is enabled.

Running Duration

Indicate the length of time the RDS instance should remain running before it is deleted. This value is only required if "Delete the Instance" is enabled.

Create a Final Snapshot

Indicates whether a final snapshot should be created of the new RDS instance when it is deleted. This value is only available if "Delete the Instance" is enabled.

Final Snapshot ID

Indicates the snapshot ID of the final snapshot when the instance is deleted. This value is only required if "Create a Final Snapshot" is enabled. Macros can be used in the snapshot ID to include run-time data. See below.

Macros

The following macros can be used to include some run-time information.

$(DATE)

Date of snapshot in year-month-day format

$(TIME)

Time of snapshot in 24-hour format

Macros are case-sensitive. For example, $(Time) is not valid. $(TIME) must be used.

Amazon Commands Used

The following Amazon AWS commands are used. The access key should have permission to execute all of them.

  • rds:DeleteDBInstance

  • rds:DescribeDBInstances

  • rds:CreateDBInstanceReadReplica

Did this answer your question?