Database Instance Not in Available State

Database Instance Not in Available State

In this guide, you will:

When working with the TED (Turbot Enterprise Database) stack, you might encounter an issue where the database instance is not in an Available state. This can prevent you from making necessary changes or updates to the database and may cause the TED provisioned product in Service Catalog to change to a Tainted status.

Prerequisites

Step 1: Check Provisioned Product Status

During execution of the TED update, check if the provisioned product in the Service Catalog changes to a Tainted status.

Tainted Status

Step 2: Check Stack Failure Details

In the selected provisioned product, select the Events tab, in UPDATE_PROVISIONED_PRODUCT section select View details.

View Details

Select View more in CloudFormation to navigate to CloudFormation stack. This will display Error Message as Database instance is not in available state. (Service: Rds, Status Code: 400, Request ID: 3f4bddc5-e656-4ebe-8efe-3b9bdcfac026)

CFN Update Failed

[!NOTE] The most common reason for this issue is that the database is in a state where modifications are not allowed, such as Backing-up. Attempting to make changes during this time will result in an error.

Step 3: Review DB Status

AWS RDS Service

TED RDS Instance

RDS Status

Step 4: Wait for Database Availability

If the database is in a state such as Backing-up, you will need to wait until the process is complete and the status changes to Available. This may take some time depending on the operations being performed on the database.

RDS Available State

Step 5: Execute Service Catalog Stack Update

Once the database instance is in the Available state, navigate to the Service Catalog and update the TED provisioned product with any planned updates or modifications to the TED stack.

Initiate Service Catalog TED Update. CloudFormation will check for changes. If there are no discrepancies, the stack will transition to Update Complete.

Status Available in Service Catalog

Step 6: Review CloudFormation Stack

Update Complete

If you continue to encounter issues, please Open Support Ticket and attach the relevant information to assist you more efficiently.