Stop RDS Instances Actions
Matt Houser avatar
Written by Matt Houser
Updated over a week ago

Description

The Stop RDS Instances action can be used to stop one or more RDS instances at a specific time of day. Once the instances have been stopped, they can optionally be restarted after they have been stopped for a specific amount of time.

For example, 5 instances can be stoppedat 8pm and restarted 12 hours later with a single Stop RDS Instances action.

Settings

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

Instance Identification Method

Indicates the method in which the RDS instances will be selected. Possible options include:

  • All RDS Instances

  • By RDS Instance ID

  • By Resource Tag

RDS Instance ID

Indicate the comparison to use when comparing RDS instance IDs.

Resource Tag Name

Indicates the name of the resource tag that will be used for comparison.

Resource Tag Value

Indicates the comparison to use when comparing the resource tag's value.

Snapshot ID

When stopping the RDS instance, indicate the ID of the snapshot to be created. Snapshot IDs must only contain alpha-numeric characters and hyphens. Macros can be used to include run-time data. Leave this field blank to skip creating a snapshot.

Restart the Instances

Enable this option to have your RDS instances restarted after a pre-determined amount of time.

Restart Time

Specify the amount of time after which the RDS instances will be restarted.

Restart Time Frame

Indicates when the "Restart Time" begins.

Amazon Commands Used

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

  • iam:GetUser

  • rds:DescribeDBInstances

  • rds:ListTagsForResource

  • rds:StartDBInstance

  • rds:StopDBInstance

Did this answer your question?