Skip to content

RDS instance stuck in "Modifying" status after t3.medium to t4g.medium change

0

Hi,

I'm trying to modify my RDS instance from db.t3.medium to db.t4g.medium (Multi-AZ enabled).

Timeline:

  • 07:14 - Backup started
  • 07:28 - Multi-AZ failover completed (according to events)
  • 08:30 - Still showing "Modifying" status (1.5 hours later)

Current situation:

  • Status: "Modifying" (stuck)
  • DB instance class: Still db.t3.medium (not changed)
  • Modify button: Grayed out (can't make changes)
  • Database: Fully functional (SELECT/INSERT work fine)
  • No new events after 07:28
  • No errors in logs

Monitoring shows:

  • CPU spike at 07:55-08:10 (possibly rollback?)
  • Connection drop at 07:50-08:05

Questions:

  1. Is this normal behavior for t3→t4g migration?
  2. Should I wait longer, or is the process stuck?
  3. How can I resolve the stuck "Modifying" status?

Thanks in advance!

asked a year ago442 views

2 Answers
1

When modifying an RDS instance class, especially when changing between different processor architectures (like t3 to t4g), the process can take longer than expected. Here's what you need to know:

  1. Some modifications to RDS instances can take significant time, particularly when changing instance classes with Multi-AZ enabled. The "Modifying" status for 1.5+ hours isn't necessarily abnormal for this type of change.

  2. During the modification process, your instance remains operational (as you've observed with your working SELECT/INSERT operations), but you can't make additional modifications until the current one completes.

  3. The CPU spike and connection drop you observed could be related to the instance class modification process.

  4. There are a few possible reasons for the extended "Modifying" status:

  • The t4g instance class might not be immediately available in your current availability zone
  • The system could be optimizing storage or applying other changes
  • Multi-AZ configurations require additional time as both the primary and standby instances need to be modified

If the status remains "Modifying" for an extended period (more than a few hours):

  • Continue monitoring for any new events or status changes
  • Check if there are capacity constraints for t4g.medium instances in your availability zone
  • If the issue persists beyond 6 hours, you may want to contact AWS Support

Remember that some modifications require a manual reboot of your DB instance for the changes to take effect, though instance class changes typically handle this automatically.
Sources
Modifying an Amazon RDS DB instance - Amazon Relational Database Service
RDS Modify Instance Class: Cannot modify the instance class because there are no instances of the requested class available in the current instance's availability zone | AWS re:Post
Resolve issues that occur when Amazon RDS runs out of storage | AWS re:Post

answered a year ago

EXPERT

reviewed a year ago

  • Thank you for your response!

    However, I'm still concerned because:

    1. The DB instance class still shows db.t3.medium (hasn't changed to t4g.medium)
    2. It's been 1 hour and 18 minutes since the last event (07:28)
    3. No new events have appeared since then

    Looking at CloudWatch metrics:

    • There was a CPU spike at ~07:55-08:10
    • Database connections dropped at ~07:50 then spiked at ~08:05
    • This pattern suggests something happened, but no events were logged

    My main question: Does this mean the modification failed and rolled back to db.t3.medium?

    Should I expect the status to eventually show "Available" with db.t3.medium (rollback)? Or should I continue waiting for it to complete the upgrade to t4g.medium?

    It's now 08:46 and still showing "Modifying" with db.t3.medium.

    Thanks!

0

Hello Noa, my understanding is you are you are changing the instance class of your Multi-AZ RDS Postgres DB from db.t3.medium to db.t4g.medium and for now it seems stuck from 1.5 hours. Correct me if I am wrong.

There are a set of steps happening here, first, since you have Multi-AZ enabled for your RDS DB, first the standby is modified to move it to upscaled instance class followed with a failover and then the old primary (new standby post failover) is modified to required instance class.

This justifies the reason you are able to query your DB as expected.

Coming to duration of the modification, it would be hard to tell (just from the issue description) weather its really "stuck" or just 'slow'.

I would recommend opening a case with the AWS support to confirm if the upscale is stuck. If it is, they will recommend you the next steps.

Regarding your last ask "My main question: Does this mean the modification failed and rolled back to db.t3.medium?

Should I expect the status to eventually show "Available" with db.t3.medium (rollback)? Or should I continue waiting for it to complete the upgrade to t4g.medium?

It's now 08:46 and still showing "Modifying" with db.t3.medium."

Ideally, it would not fail as the primary and standby instance in Multi-AZ RDS postgres DB cannot be on different instance classes. If it still shows modifying and you are able to connect and perform operations, then kindly wait, the instance class must be getting modified in the backend for the standby instance.

AWS
EXPERT

answered a year ago

  • @Ankita_Singh

    Thank you so much for your detailed explanation! I really appreciate your expertise.

    Update: It's now 10:00 (2.75 hours since last event at 07:28). Still showing "Modifying" with db.t3.medium.

    Based on your explanation about the 3-step Multi-AZ process, I understand Step 3 (modifying the old primary/new standby) can take time.

    Questions:

    1. At what point does this timeline become abnormal?
    2. Is there any way to verify Step 3 is progressing without AWS Support?
    3. Should I be concerned after 3 hours? 4 hours?

    Database continues to work perfectly (SELECT/INSERT both functional).

    Thank you again for your help!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.