How to manage Read Replicas
You may need certain IAM permissions to carry out some actions described on this page. This means:
- you are the Owner of the Scaleway Organization in which the actions will be carried out, or
- you are an IAM user of the Organization, with a policy granting you the necessary permission sets
- You have an account and are logged into the Scaleway console
- You have a Document Database Instance
- You have created a Read Replica
How to resync a Read Replica
When you resync a Read Replica, first it is reset, and then its data is resynchronized from the primary node. Your Read Replica will be unavailable during the resync process. The duration of this process is proportional to your Database Instance size. The configured endpoints will not change.
- Click Document Databases under Managed Databases on the side menu. A list of your Database Instances displays.
- Click the database name or «See more Icon» > More info to access the Database Instance information page.
- Scroll down to the Read Replica section.
- Click «See more Icon» > Resync next to the name of the Read Replica you want to resync. A pop-up displays.
- Make sure you have selected the correct Read Replica and click Resync. The list of your Read Replicas displays.
Your Read Replica will be unavailable during the resync process. The duration of this process is proportional to your Database Instance size. The configured endpoints will not change.
How to manage Private Networks
You can attach your Read Replica to a Private Network even after its creation.
- Click Document Databases under Managed Databases on the side menu. A list of your Database Instances displays.
- Click the database name or «See more Icon» > More info to access the Database Instance information page.
- Scroll down to the Read Replica section.
- Click «See more Icon» > Attach Private Network next to the name of your selected Read Replica. A pop-up displays.
- Select an existing Private Network to attach to your Read Replica.
Important:
Your private IP addresses are automatically allocated. They are managed via an IP Address Manager (IPAM). You can retrieve them on the Private Network tab of your Database Instance. To allocate IPs manually, you can use the Scaleway API and CLI, or Terraform.
How to detach a Private Network from a Read Replica
If you already have an attached Private Network, you can detach it from your Read Replica.
- Click Document Databases under Managed Databases on the side menu. A list of your Database Instances displays.
- Click the database name or «See more Icon» > More info to access the Database Instance information page.
- Scroll down to the Read Replica section.
- Click «See more Icon» > Detach Private Network next to the name of your selected Read Replica. A pop-up displays to ask if you are sure you want to detach the Private Network.
- Click Detach Private Network to proceed. The list of your Read Replicas displays. The private endpoint is removed.
How to delete Read Replicas
- Click Document Databases under Managed Databases on the side menu. A list of your Database Instances displays.
- Click the database name or «See more Icon» > More info to access the Database Instance information page.
- Scroll down to the Read Replica section.
- Click «See more Icon» > Delete. A pop-up appears warning you that this will permanently delete your Read Replica and all associated endpoints. This action is irreversible.
- Click Delete Read Replica to do so. The list of your Read Replicas displays.