Scaling down to 0 in aurora postgresql

0

Hi,

We are using the command put-scheduled-action, to change the minimum capacity to 0 every day on specify hour. He accept to change, but the scheduled don´t remove the read replica, the cluster stay with 1 read replica. We try to change the state of the alarm that start the action, but on the history of the alarme it show that started the action, but the read replica was not removed.

The goal is to remove all read replica after the commercial hour when not using, but if is using, he scale up when necessarie and on morning we will use de put-scheduled-action to came back the minimum to 1.

There any way to make this work?

Best Regards, tcanoas

1개 답변
0

Hi,

You can set the min and max to 0 as parameters to the put-scheduled-action command. But there is a catch since it also means that for that duration if you have any requirement for the replicas, it wont be auto available until next morning. Also note that Aurora Auto Scaling only removes Aurora Replicas that it created. When you want to start it again you set min to 1 and max to the desired upper limit.

Scaling lets you set a value of min 0 but it does not seem to drop to 0 if the max is anything other than 0. Logically it seems correct coz the scaling metrics are for replicas and whatever threshold values you set you would end up with min 1 unless min and max are both 0.

--Syd

profile picture
Syd
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠