Skip to content

Commit 7ef9621

Browse files
committed
updates
1 parent 37cd3ea commit 7ef9621

File tree

1 file changed

+3
-88
lines changed

1 file changed

+3
-88
lines changed

dgraph/self-hosted.mdx

Lines changed: 3 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ requirements. Here's how these factors influence your deployment decision:
2727

2828
**Data Size Considerations:**
2929

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

3434
**Team Expertise Factors:**
3535

3636
- **High Kubernetes Experience**: Kubernetes deployment is recommended
37-
- **Limited Kubernetes Experience**: Docker Compose or Linux VPS are more
37+
- **Limited Kubernetes Experience**: Docker Compose or Linux are more
3838
approachable
3939

4040
**Budget Constraints:**
@@ -101,28 +101,6 @@ resources.
101101
</Tab>
102102
</Tabs>
103103

104-
### Minimum resource requirements
105-
106-
<Tabs>
107-
<Tab title="Small Cluster (< 100 GB)">
108-
- **Nodes**: 3 x 4 vCPU, 8 GB RAM
109-
- **Storage**: 200 GB solid-state drive per node
110-
- **Network**: 1 Gbps bandwidth
111-
- **Estimated Cost**: $150-300/month
112-
</Tab>
113-
114-
<Tab title="Medium Cluster (100 GB - 1 TB)">
115-
- **Nodes**: 6 x 8 vCPU, 16 GB RAM - **Storage**: 500 GB solid-state drive per
116-
node - **Network**: 1 Gbps bandwidth - **Estimated Cost**: $500-800/month
117-
</Tab>
118-
119-
<Tab title="Large Cluster (> 1 TB)">
120-
- **Nodes**: 9+ x 16 vCPU, 32 GB RAM
121-
- **Storage**: 1 TB+ solid-state drive per node
122-
- **Network**: 10 Gbps bandwidth
123-
- **Estimated Cost**: $1500-3000/month
124-
</Tab>
125-
</Tabs>
126104

127105
---
128106

@@ -621,69 +599,6 @@ time curl -X POST localhost:8080/query \
621599
-d '{"query": "{ users(func: allofterms(name, \"john\")) { name email } }"}'
622600
```
623601
624-
### 3. Application Connection Testing
625-
626-
```bash
627-
kubectl run test-connection \
628-
--image=appropriate/curl \
629-
--restart=Never \
630-
--namespace=dgraph \
631-
--command -- curl -X POST dgraph-dgraph-alpha:8080/health
632-
```
633-
634-
---
635-
636-
## Deployment Comparison and Best Practices
637-
638-
### Deployment Method Comparison
639-
640-
<CardGroup cols={3}>
641-
<Card title="Kubernetes" icon="dharmachakra">
642-
**Best For**: Production environments, auto-scaling, enterprise deployments
643-
**Pros**: - Automatic scaling and healing - Rolling updates - Resource
644-
management - Service discovery - Built-in monitoring **Cons**: - Complex
645-
setup - Higher resource overhead - Learning curve - Vendor lock-in potential
646-
</Card>
647-
648-
<Card title="Docker Compose" icon="docker">
649-
**Best For**: Development, testing, small to medium production **Pros**: -
650-
Simple deployment - Easy local development - Version control friendly - Quick
651-
setup and teardown - Cost-effective **Cons**: - Limited scaling options - No
652-
automatic failover - Single host limitation - Manual monitoring setup
653-
</Card>
654-
655-
<Card title="Linux VPS" icon="server">
656-
**Best For**: Full control, cost optimization, legacy environments **Pros**:
657-
- Maximum control - Cost-effective - No abstraction layers - Predictable
658-
performance - Easy debugging **Cons**: - Manual scaling - More maintenance
659-
overhead - No built-in redundancy - Manual backup management
660-
</Card>
661-
</CardGroup>
662-
663-
### Cost Analysis
664-
665-
<CardGroup cols={3}>
666-
<Card title="AWS EKS" icon="aws">
667-
**Small**: $300-500/month - EKS cluster: $72 - 3 x t3.large: $150 - EBS
668-
storage: $50 - Load balancer: $25 **Medium**: $800-1200/month - EKS cluster:
669-
$72 - 6 x t3.xlarge: $600 - EBS storage: $150 - Load balancer: $25
670-
**Large**: $2000-3000/month - EKS cluster: $72 - 9+ x m5.2xlarge: $1800 -
671-
EBS storage: $300 - Load balancer: $50
672-
</Card>
673-
674-
<Card title="Docker Compose VPS" icon="docker">
675-
**Small**: $50-100/month - 1 x 8vCPU/32GB: $80 **Medium**: $150-250/month - 1
676-
x 16vCPU/64GB: $160 - Or 2 x smaller: $120 **Large**: $300-500/month - 3 x
677-
12vCPU/48GB: $360
678-
</Card>
679-
680-
<Card title="Linux VPS" icon="server">
681-
**Small**: $100-150/month - 3 x 4vCPU/16GB: $120 - 1 x load balancer: $20
682-
**Medium**: $250-400/month - 3 x 8vCPU/32GB: $300 - 1 x load balancer: $40
683-
**Large**: $500-800/month - 6 x 8vCPU/32GB: $600 - 2 x load balancers: $80 -
684-
1 x monitoring: $40
685-
</Card>
686-
</CardGroup>
687602
688603
---
689604

0 commit comments

Comments
 (0)