Changing RDS Instance Types

0

We need to upgrade from deprecated RDS instance types in a multi az cluster.

My plan was

  • add new reader with the updated instance type to the cluster
  • monitor for a while, then delete the old instance type reader
  • add another new reader with the updated instance type to the cluster
  • monitor for a while, then delete the old instance type reader continue

I'd do this over the space of a few days, is this a good approach to take? Any drawbacks?

1 Answer
0

Steps in the Approach:

Add New Reader with Updated Instance Type:

Ensure the new reader instance type is compatible with your existing setup. Verify that your applications can successfully connect and operate with the new reader instance.

Monitor the New Reader:

Check for performance issues, connectivity, and any other anomalies. Ensure replication lag is minimal and within acceptable limits.

Delete the Old Reader:

After ensuring the new reader is stable, delete the old instance type reader.

Repeat for Additional Readers:

Continue the process by adding another new reader and monitoring it before deleting the old instance. Considerations and Potential Drawbacks: Downtime:

Although minimal, there may be brief periods of increased load or latency during the switchover. Ensure your applications can handle these periods of change smoothly. Replication Lag:

Monitor replication lag closely to ensure the new readers are not falling behind, which could impact read performance. Automated Failover:

Ensure your automated failover settings are correctly configured to avoid unintentional failovers during the upgrade process. Configuration and Parameter Group:

Ensure that the new instance types are correctly configured and use appropriate parameter groups. Cost Implications:

Be aware of the cost implications of running additional instances during the transition period. Testing:

Conduct thorough testing on the new instance types before rolling them out in production. Include load testing, failover testing, and performance testing to ensure compatibility and stability. Best Practices: Stagger the Changes:

Spread out the changes over a few days, as you planned, to minimize risk and allow ample time for monitoring and troubleshooting. Communication:

Keep your team informed about the planned changes and potential impacts. Backup:

Ensure you have recent backups and a rollback plan in place in case anything goes wrong during the transition. Monitoring:

Use AWS CloudWatch and other monitoring tools to keep an eye on performance metrics, replication status, and application health.

EXPERT
answered 3 months ago
profile picture
EXPERT
reviewed 3 months ago
  • Thank you for the information.

    If I have a Region Aurora MySQL cluster with 4 instances

    • writer old instance type
    • reader old instance type
    • reader new instance type
    • reader new instance type

    Is it safe to delete the reader old instance type by selecting it and Actions -> Delete?

    It won't have any impact on the writer or other instances?

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.

Guidelines for Answering Questions