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: docs/source/routing/cloud/migrate-to-self-hosted.mdx
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,20 +22,32 @@ This guide provides step-by-step instructions to migrate Serverless or Dedicate
22
22
23
23
### Export your cloud router configuration
24
24
25
-
To self-host the Apollo Router with the same configuration as your cloud router, first export the current cloud router configuration.
25
+
You'll need this router configuration in a later step when you deploy your self-hosted router.
26
26
27
-
In Studio, navigate to your graph’s Cloud Router page to download the config. Alternatively, use the [Rover CLI's `cloud config fetch` command](https://www.apollographql.com/docs/rover/commands/cloud#cloud-config-fetch).
27
+
You can export your cloud router configuration in two ways:
28
28
29
-
```bash
29
+
#### Using Studio
30
+
31
+
In Studio, navigate to your graph's **Cloud Router** page and click the **Router configuration YAML** tab to download the config.
32
+
33
+
[TODO SCREENSHOT]
34
+
35
+
#### Using the Rover CLI
36
+
37
+
Use the Rover CLI's [`cloud config fetch` command](/rover/commands/cloud#cloud-config-fetch).
38
+
39
+
Replace the `<GRAPH_REF>` placeholder in the following command with your own graph ref to download the router configuration YAML to a local `router.yaml` file.
40
+
41
+
```bash showLineNumbers={false}
30
42
rover cloud config fetch <GRAPH_REF>> router.yaml
31
43
```
32
44
33
45
You'll need to [install](/rover/getting-started) and [configure](/rover/configuring) the Rover CLI to run this command.
34
46
47
+
### Change the graph's hosting mode to self-hosted
35
48
36
-
### Change the graph’s hosting mode to self-hosted
49
+
In Studio, click the **Start the migration process** button at the top of the graph variant's page to change the graph's hosting mode to self-hosted.
37
50
38
-
In Studio, change the graph’s hosting mode from cloud-hosted to self-hosted using the **Start the migration process** action in the retirement banner at the top of your variant’s page.
39
51
During the migration window, the cloud router remains running and continues to receive schema and configuration updates.
0 commit comments