denishpatel / pygmy

Pygmy: Saving AWS Bills on Standby DB Servers
5 stars 1 forks source link

Managing Parameter groups on RDS instance during scale up/down #7

Closed denishpatel closed 3 years ago

denishpatel commented 3 years ago

We will have to copy existing Parameter group (postgresql.conf) associated with the RDS instance

Parameter group default.postgres12 (in-sync)

During scale up or down, copy the parameter group to new parameter group with appending name pygmy_date_time and assign the newly created parameter group to instance. When the instance is come back to normal instance size then reassign it's original parameter group.

all other RDS parameters should remain the same i.e Option groups, Storage type etc.

AadiMehta commented 3 years ago

@denishpatel Code committed for this issue

denishpatel commented 3 years ago

done