Skip to content

Commit 62b8516

Browse files
committed
updates
1 parent 1da8066 commit 62b8516

File tree

1 file changed

+28
-25
lines changed

1 file changed

+28
-25
lines changed

dgraph/self-hosted.mdx

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,23 @@ services to a self-hosted environment. It covers step-by-step instructions for
1313
deployment using various cloud providers and methods, supporting goals like cost
1414
savings, increased control, and compliance.
1515

16-
### Deployment Options
16+
<Info>
17+
This guide supplements the [Dgraph self-managed documentation](/dgraph/self-managed/overview).
18+
Be sure to refer to the [self-managed documentation](/dgraph/self-managed/overview)
19+
for more information.
20+
</Info>
21+
22+
## Deployment options
1723

1824
When migrating to self-hosted Dgraph, your deployment choice depends on several
1925
key factors: data size, team expertise, budget constraints, and control
2026
requirements. Here's how these factors influence your deployment decision:
2127

2228
**Data Size Considerations:**
2329

24-
- **Under 100GB**: Docker Compose or Linux VPS are suitable options
25-
- **100GB to 1TB**: Kubernetes or Linux VPS can handle the load
26-
- **Over 1TB**: Kubernetes is required for proper scaling and management
30+
- **Under 100GB** Docker Compose or Linux VPS are suitable options
31+
- **100GB to 1TB** Kubernetes or Linux VPS can handle the load
32+
- **Over 1TB** Kubernetes is required for proper scaling and management
2733

2834
**Team Expertise Factors:**
2935

@@ -33,13 +39,13 @@ requirements. Here's how these factors influence your deployment decision:
3339

3440
**Budget Constraints:**
3541

36-
- **Cost Optimized**: Linux VPS provides the most economical option
42+
- **Cost Optimized**: Linux provides the most economical option
3743
- **Balanced**: Docker Compose offers a good middle ground
3844
- **Enterprise**: Kubernetes provides enterprise-grade features
3945

4046
**Control Requirements:**
4147

42-
- **Maximum Control**: Linux VPS gives you full control over the environment
48+
- **Maximum Control**: Linux gives you full control over the environment
4349
- **Managed Infrastructure**: Kubernetes provides managed infrastructure
4450
capabilities
4551

@@ -49,7 +55,7 @@ requirements. Here's how these factors influence your deployment decision:
4955
teams with K8s expertise
5056
- **Docker Compose**: Ideal for development, testing, and smaller production
5157
workloads
52-
- **Linux VPS**: Perfect for cost-conscious deployments and teams wanting
58+
- **Linux**: Perfect for cost-conscious deployments and teams wanting
5359
maximum control
5460

5561
---
@@ -59,7 +65,7 @@ requirements. Here's how these factors influence your deployment decision:
5965
Before starting your migration, ensure you have the necessary tools, access, and
6066
resources.
6167

62-
### Required Tools
68+
### Required tools
6369

6470
<CardGroup cols={2}>
6571
<Card title="Command Line Tools" icon="terminal">
@@ -78,7 +84,7 @@ resources.
7884
</Card>
7985
</CardGroup>
8086

81-
### Access Requirements
87+
### Access requirements
8288

8389
<Tabs>
8490
<Tab title="Source Systems">
@@ -136,8 +142,7 @@ API endpoints and the web interface.
136142
<Steps>
137143
<Step title="Access Export Function">
138144
Log into your Dgraph Cloud dashboard and navigate to your cluster.
139-
![Dgraph Cloud Dashboard](/images/dgraph/self-managed/dg-cloud-export-1.png)
140-
145+
![Dgraph Cloud Dashboard](/images/dgraph/self-managed/dg-cloud-export-1.png)
141146
</Step>
142147

143148
<Step title="Navigate to Export">
@@ -146,9 +151,9 @@ API endpoints and the web interface.
146151
</Step>
147152

148153
<Step title="Configure Export Settings">
149-
Select your export format and destination. Dgraph Cloud supports: -
150-
**Format**: JSON or RDF ![Export
151-
Configuration](/images/dgraph/self-managed/dg-cloud-export-3.png)
154+
Select your export format and destination.
155+
Dgraph Cloud supports JSON or RDF
156+
![Export Configuration](/images/dgraph/self-managed/dg-cloud-export-3.png)
152157

153158
Click "Start Export" and monitor the progress. Large datasets may take several
154159
hours.
@@ -160,9 +165,7 @@ hours.
160165
<Step title="Download Exported Data">
161166
Once complete, download your exported data files.
162167
![Export Download](/images/dgraph/self-managed/dg-cloud-export-4.png)
163-
<Note>
164-
Screenshot placeholder: Show download links for completed export
165-
</Note>
168+
166169
</Step>
167170
</Steps>
168171

@@ -195,9 +198,9 @@ dgraph export --alpha=your-cluster.grpc.cloud.dgraph.io:443 \
195198

196199
</CodeGroup>
197200

198-
#### Method 3: Bulk Export for Large Datasets
201+
#### Method 3: Bulk export for large datasets
199202

200-
For datasets larger than 10GB, use the bulk export feature:
203+
For datasets larger than 10 GB, use the bulk export feature:
201204

202205
<CodeGroup>
203206
```bash Request Bulk Export
@@ -250,13 +253,13 @@ curl --location 'https://<YOUR_CLUSTER_NAME>.hypermode.host/dgraph/admin' \
250253
--data '{"query":"mutation {\n export(input: { format: \"rdf\" }) {\n response {\n message\n code\n }\n }\n}","variables":{}}'
251254
```
252255

253-
### Export Validation and Preparation
256+
### Export validation and preparation
254257

255258
<Warning>
256259
Always validate your exported data before proceeding with the migration.
257260
</Warning>
258261

259-
#### Data Integrity Checks
262+
#### Data integrity checks
260263

261264
<CodeGroup>
262265

@@ -308,7 +311,7 @@ fi
308311

309312
</CodeGroup>
310313

311-
#### Prepare for Transfer
314+
#### Prepare for transfer
312315

313316
<Steps>
314317
<Step title="Organize Export Files">
@@ -343,12 +346,12 @@ fi
343346

344347
---
345348

346-
## Pre-Migration Planning
349+
## Pre-migration planning
347350

348351
Proper planning is crucial for a successful migration. This section helps you
349352
assess your current environment and plan the migration strategy.
350353

351-
### 1. Assess Current Environment
354+
### 1. Assess current environment
352355

353356
<CodeGroup>
354357
```bash Analyze Current Usage
@@ -373,7 +376,7 @@ curl -X POST https://your-cluster.grpc.cloud.dgraph.io/admin \
373376
374377
</CodeGroup>
375378
376-
### 2. Infrastructure Sizing
379+
### 2. Infrastructure sizing
377380
378381
<CardGroup cols={2}>
379382
<Card title="CPU Requirements" icon="microchip">

0 commit comments

Comments
 (0)