1

I am working on a project where we are creating a new region for resilience purpose. As we create a new Region for the project, we also plan to create a Read replica of Aurora MySQL DB. My question here has two parts

  1. If the project in existing region goes down, how to make the read replica of Aurora MySQL in the other region as the new Master and writable? I searched through few videos and stackoverflow questions and I do understand how to make the RDS mysql as writable instance. but, I don't see how to make such a "read-only" parameter modification in Aurora MySQL!
  2. How could I do this change with a Jenkins Job?

Any help is highly appreciated! Thanks!

1 Answer 1

1
  1. You can use the AWS CLI for this, specifically the:

aws rds promote-read-replica-db-cluster

command which contrary to the name actually applies to Aurora as stated in the documentation for the command:

Note:
This action only applies to Aurora DB clusters.

You can find more information in the AWS documentation for Aurora, specifically the section on Promoting a Read Replica to Be a DB Cluster.

  1. Seems like you should be able to use the Jenkins AWS plugin but there are many options.
6
  • Thanks a lot Ashaman kingpin! Sorry for the late response though I saw your response couple of days ago itself. Appreciate it!
    – Ram
    Commented Oct 10, 2019 at 4:34
  • Glad to help @Ram. Please don’t forget to accept the answer. Commented Oct 10, 2019 at 8:29
  • How do I accept? There is no accept button to be seen in the page!
    – Ram
    Commented Oct 14, 2019 at 6:53
  • @Ram Thanks! It should be to the left of this post below the vote widget. See here: meta.stackexchange.com/questions/5234/… Commented Oct 14, 2019 at 11:24
  • Trying to understand this a little better.. is this specific to Global Databases? If I have one aurora cluster, with 2 instances inside it, is this API applicable to that ? Also, aurora instances are "writers" or "readers", so what does a replica cluster mean? Thanks!
    – The-Big-K
    Commented Oct 25, 2019 at 7:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.