You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/public_cloud/public_cloud_databases/databases_19_migrate_from_1AZ_to_3AZ/guide.en-gb.md
+46-34Lines changed: 46 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,52 +17,65 @@ OVHcloud Public Cloud Databases can be deployed with different architectures to
17
17
18
18
## Why move to 3-AZ?
19
19
20
-
Migrating your database service to a 3-AZ deployment significantly enhances its resilience, high availability, and disaster recovery capabilities. In a 3-AZ setup, your data is synchronously replicated across three distinct availability zones within the same region. This architecture ensures that in the event of an outage in one zone, your database service can automatically failover to another operational zone with minimal downtime and no data loss.
20
+
Migrating your database service to a 3-AZ deployment significantly enhances its resilience, high availability, and disaster recovery capabilities. In a 3-AZ setup, provided your service runs on multiple nodes, your data is synchronously replicated across three distinct availability zones within the same region. This architecture ensures that in the event of an outage in one zone, your database service can automatically failover to another operational zone with minimal downtime and no data loss.
21
21
22
22
For more detailed information on the deployment modes and their technical specifications, please refer to our dedicated guide: [Comparison of Public Cloud Databases Deployment Modes - Understanding 3-AZ / 1-AZ](/pages/public_cloud/public_cloud_databases/databases_18_regions_comparison).
23
23
24
+
Here is a list of currently support 1-AZ and 3-AZ regions for database services:
The migration from a Single-AZ region to a Multi-AZ region is reversible — services can be migrated back to a Single-AZ region.
31
+
24
32
## Instructions
25
33
26
34
### Move an engine instance to 3-AZ
27
35
28
36
> [!tabs]
29
37
> Via the OVHcloud Control Panel
30
-
>> To move a database service from a 1-AZ to a 3-AZ region, log in to the OVHcloud Control Panel and open your Public Cloud project. Click `Databases`{.action} in the left navigation bar, select your engine instance then click the `Backups`{.action} tab.
38
+
>> To move a database service from a 1-AZ to a 3-AZ region, log in to the OVHcloud Control Panel and open your Public Cloud project. Click `Databases`{.action} in the left navigation bar, select your database service then click the `Backups`{.action} tab.
31
39
>>
32
40
>> 
33
41
>>
34
42
>> Choose the backup from which you wish to fork, click on the `...`{.action} button and click on the `Duplicate (fork)`{.action} button.
35
43
>>
36
44
>> 
37
45
>>
46
+
>> The page that appears allows you to configure your service and choose the destination region.<br>
38
47
>> Select the Restore point named `Backup`{.action}.
39
48
>>
40
49
>> 
41
50
>>
42
-
>> Select your `plan`{.action} for the engine instance.
51
+
>> Select a `3-AZ region`{.action}.
52
+
>>
53
+
>> 
54
+
>>
55
+
>> Select your `plan`{.action} of the service.
43
56
>>
44
57
>> 
45
58
>>
46
-
>> Select a `3-AZ region`{.action}.
59
+
>> Select the `instance`{.action} that will host the service.
47
60
>>
48
-
>> 
61
+
>> 
49
62
>>
50
-
>> Select the `node type`{.action} for the engine instance.
63
+
>> Select the `storage`{.action} of the service.
51
64
>>
52
-
>> 
65
+
>> 
53
66
>>
54
-
>> If needed, you can configure additional storage and connectivity settings, then verify the IP addresses to whitelist (the list is pre-filled by default with the origin service's configuration).
67
+
>> If needed, you can edit the connectivity settings, then verify the IP addresses to whitelist (the list is pre-filled by default with the origin service's configuration).
>> > To interact with your Public Cloud Databases services via the OVHcloud API, make sure you've mastered the basics first by consulting our guide: [Public CLoud Databases - Getting started with APIs](/pages/public_cloud/public_cloud_databases/databases_02_order_api).
78
+
>> > To interact with your Public Cloud Databases services via the OVHcloud API, make sure you've mastered the basics first by consulting our guide: [Public Cloud Databases - Getting started with APIs](/pages/public_cloud/public_cloud_databases/databases_02_order_api).
66
79
>> >
67
80
>>
68
81
>> To find the backup ID of an engine instance, use this following API call:
@@ -97,27 +110,27 @@ For more detailed information on the deployment modes and their technical specif
97
110
>>
98
111
>> ```console
99
112
>> body : {
100
-
>> "backups": {
101
-
>> "regions": [
102
-
>> "EU-WEST-PAR" # Regions on which the backups are stored
103
-
>> ],
104
-
>> "time": "15:04:05" # Time on which backups start every day
113
+
>> "description": "laughable-peebles", # Name of the new service
114
+
>> "nodesPattern": { # Service configuration
115
+
>> "flavor": "b3-8",
116
+
>> "number": 2,
117
+
>> "region": "EU-WEST-PAR"
105
118
>> },
119
+
>> "plan": "production", # Plan of the service
106
120
>> "disk": {
107
-
>> "size": 240 # Service disk size
121
+
>> "size": 160 # Service disk size
108
122
>> },
123
+
>> "version": "17",
124
+
>> "ipRestrictions": [ # Connectivity settings
125
+
>> {
126
+
>> "ip": "1.2.3.4/32",
127
+
>> "description": ""
128
+
>> }
129
+
>> ],
109
130
>> "forkFrom": {
110
-
>> "backupId": "********-****-****-****-3684de51065d", # the previously recovered ID of the backup
111
-
>> "serviceId": "********-****-****-****-ce179babccf3" # the id of the engine instance to which this backup belongs
131
+
>> "serviceId": "********-****-****-****-ce179babccf3", # The identifier of the origin service to which this backup belongs
132
+
>> "backupId": "********-****-****-****-3684de51065d" # The identifier of the previously retrieved backup
112
133
>> },
113
-
>> "maintenanceTime": "15:04:05", # Time on which maintenances can start every day
114
-
>> "nodesPattern": { # Pattern definition of the nodes in the cluster, not compatible with nodesList
115
-
>> "flavor": "b3-8",
116
-
>> "number": 2,
117
-
>> "region": "EU-WEST-PAR"
118
-
>> },
119
-
>> "plan": "production",
120
-
>> "version": "16"
121
134
>> }
122
135
>> ```
123
136
>>
@@ -128,14 +141,14 @@ After your new 3-AZ database service has been successfully provisioned, it's cru
128
141
129
142
1. Test the connection to your new service:
130
143
131
-
- Use a database client (e.g., psql for PostgreSQL, mysql for MySQL) or a simple script to verify that you can connect to the new 3-AZ service's endpoint using its credentials.
132
-
- Confirm that your data has been successfully migrated and is accessible.
144
+
- Use a database client (e.g., psql for PostgreSQL, mysql for MySQL) or a simple script to verify that you can connect to the new 3-AZ service's endpoint using its credentials.
145
+
- Confirm that your data has been successfully migrated and is accessible.
133
146
134
147
2. Configure your application to use the new service:
135
148
136
-
- Update your application's configuration files or environment variables to point to the new 3-AZ database service's connection string (host, port, username, password).
137
-
- Restart your application to apply the changes.
138
-
- Thoroughly test your application's functionality to ensure it operates correctly with the new database endpoint.
149
+
- Update your application's configuration files or environment variables to point to the new 3-AZ database service's connection string (host, port, username, password).
150
+
- Restart your application to apply the changes.
151
+
- Thoroughly test your application's functionality to ensure it operates correctly with the new database endpoint.
139
152
140
153
### Clean up
141
154
@@ -160,7 +173,6 @@ Follow these instructions to delete the old 1-AZ service:
160
173
>> >
161
174
>>
162
175
163
-
164
176
## We want your feedback!
165
177
166
178
We would love to help answer questions and appreciate any feedback you may have.
0 commit comments