Is it possible to migrate a tenant on Aurora Serverless v2 without downtime?

0

Hello,

I'm trying to figure out if there is a way with Aurora Serverless v2 to migrate tenants from one db instance to another.

Say for example that I'm using "Aurora Serverless v2 - Postgres compatible" and that I have two clusters with one writer instance in each cluster. Then inside each writer I might have one schema per tenant.

After some time one of the tenants becomes noisy and might require to be moved to the other DB cluster. Would something like fast database clone help here? Is there some feature in AWS that would allow tenants to be moved without downtime or do I have to code it?

When I say "without downtime" it means that I should still be able to write into the schema while it's being moved.

已提問 1 年前檢視次數 302 次
1 個回答
1

The easiest way is to achieve this is using DMS (Database Migration Service) and choose your source and destination connections and define a Full Load + CDC(change data capture) job. In this case the migration becomes transparent and you can write to the source without any interruption and being assured that all the commits are being replicated to the destination. The only downtime will be the time you switch the endpoints in your application.

AWS
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南