Hosting Options
Infrastructure requirements and hosting options for Convex peers.
Hardware Requirements
Minimum Specifications
Suitable for: Testnet participation, development
- CPU: 4 cores (2.5+ GHz)
- RAM: 8 GB
- Storage: 100 GB SSD
- Network: 100 Mbps symmetric
- Uptime: 95%+
Recommended Specifications
Suitable for: Production (Protonet), high stake
- CPU: 8+ cores (3.0+ GHz)
- RAM: 16+ GB
- Storage: 500+ GB NVMe SSD
- Network: 1 Gbps symmetric
- Uptime: 99.9%+
Enterprise Specifications
Suitable for: Major validators, high availability
- CPU: 16+ cores (3.5+ GHz)
- RAM: 32+ GB
- Storage: 1+ TB NVMe SSD (RAID 10)
- Network: 10 Gbps symmetric
- Uptime: 99.99%+
- Redundancy: Hot standby peer
Storage Considerations
Storage Requirements
Growth Rate:
- State: ~10 GB/year (estimated)
- Logs: ~1 GB/month
- Backups: 2-3x current state
Performance:
- IOPS: 10,000+ recommended
- Latency: <1ms for state access
- Type: NVMe SSD strongly recommended
Storage Configuration
# Recommended filesystem layout
/opt/convex/
├── data/ # 500 GB+ (state data)
├── logs/ # 50 GB (application logs)
└── backups/ # 1 TB (backups)
Network Requirements
Bandwidth
Minimum:
- Download: 100 Mbps
- Upload: 100 Mbps
- Monthly: ~500 GB
Recommended:
- Download: 1 Gbps
- Upload: 1 Gbps
- Monthly: ~2 TB
Ports
Required:
18888- Peer protocol (TCP, inbound/outbound)8080- REST API (TCP, optional public)
Firewall Rules:
# Ubuntu/Debian with UFW
sudo ufw allow 18888/tcp # Peer protocol
sudo ufw allow 8080/tcp # REST API (optional)
sudo ufw enable
IP Address
Requirements:
- Static IP address (required)
- IPv4 (required)
- IPv6 (recommended)
- Reverse DNS configured (recommended)
Cloud Providers
AWS (Amazon Web Services)
Recommended Instance: c5.2xlarge or higher
Configuration:
Type: c5.2xlarge
CPU: 8 vCPUs
RAM: 16 GB
Storage: 500 GB EBS (gp3, 10,000 IOPS)
Network: Up to 10 Gbps
Cost: ~$300/month
Setup:
- Launch EC2 instance (Ubuntu 22.04 LTS)
- Attach EBS volume for data
- Configure Security Group (ports 18888, 8080)
- Allocate Elastic IP
- Follow Manual Deployment guide
Considerations:
- Mature platform, extensive docs
- Good global availability
- ⚠️ Higher cost than alternatives
- ⚠️ Complex pricing model
Google Cloud Platform (GCP)
Recommended Instance: n2-standard-8 or higher
Configuration:
Type: n2-standard-8
CPU: 8 vCPUs
RAM: 32 GB
Storage: 500 GB SSD persistent disk
Network: 16 Gbps
Cost: ~$350/month
Setup:
- Create Compute Engine instance
- Attach persistent SSD
- Configure VPC firewall rules
- Reserve static IP
- Follow Manual Deployment guide
Considerations:
- Competitive pricing
- Strong network performance
- Good regional coverage
Microsoft Azure
Recommended Instance: Standard_D8s_v5
Configuration:
Type: Standard_D8s_v5
CPU: 8 vCPUs
RAM: 32 GB
Storage: 512 GB Premium SSD
Network: 12.5 Gbps
Cost: ~$400/month
Setup:
- Create Virtual Machine (Ubuntu)
- Attach Premium SSD
- Configure Network Security Group
- Reserve public IP
- Follow deployment guide
Considerations:
- Enterprise integration
- Hybrid cloud options
- ⚠️ Higher cost