
Elasticsearch
Distributed search and analytics engine (512MB heap for development)
Deploy Elasticsearch in 3 Steps
Connect Your VPS
Add your server credentials to Server Compass
Select Elasticsearch
Choose from our template library
Deploy & Configure
Fill in settings and click Deploy
Install Elasticsearch Manually
Set up Elasticsearch yourself using Docker Compose and the command line.
Establish SSH Connection
Connect to your remote server using SSH. Make sure you have your server credentials ready.
# Log into your server
ssh root@<your-server-ip>
# If using key-based auth
ssh -i ~/.ssh/my-key root@<your-server-ip>First time? Docker not installed? Run: curl -fsSL https://get.docker.com | sh
Create Project Directory
Set up a directory to store your Docker configuration.
# Create and navigate to project directory
mkdir -p ~/apps/elasticsearch
cd ~/apps/elasticsearchConfigure Docker Compose
Add this configuration to your docker-compose.yml file:
services:
elasticsearch:
image: elasticsearch:8.11.0
ports:
- "9200:9200"
- "9300:9300"
environment:
- discovery.type=single-node
- xpack.security.enabled=true
- ELASTIC_PASSWORD=<your-elastic-password>
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
ulimits:
memlock:
soft: -1
hard: -1
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "curl -s -u elastic:<your-elastic-password> http://localhost:9200/_cluster/health | grep -q 'green\\|yellow'"]
interval: 30s
timeout: 10s
retries: 5
volumes:
elasticsearch_data:
PORTHTTP API port(default: 9200)TRANSPORT_PORTTransport port for cluster communication(default: 9300)ELASTIC_PASSWORDElastic user passwordStart the Services
Execute the deployment and check the container status.
# Deploy the application
docker compose up -d
# Check container health
docker compose ps
# Monitor logs
docker compose logs -f --tail=100Allow Incoming Connections
Enable network access by updating your firewall rules.
# Allow the application port through firewall
sudo ufw allow 9200/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:9200Too complicated? Let Server Compass handle it.
No terminal needed. Deploy Elasticsearch through a visual dashboard with automatic configuration.
- Intuitive dashboard
- Deploy in 3 minutes
- Free SSL included
- Blue-green deploys
- Real-time logs
- Version history
After Deployment
After deploying Elasticsearch with Server Compass, complete these steps to finish setup
Test cluster health via API
Create indices for your data
Set up index templates and mappings
Configure ILM policies for data retention
Set up monitoring with Kibana
For production, upgrade to Elasticsearch Production template
Need help? Check out our documentation for detailed guides.
Elasticsearch FAQ
Common questions about self-hosting Elasticsearch
How do I deploy Elasticsearch with Server Compass?
Simply download Server Compass, connect to your VPS, and select Elasticsearch from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
What are the system requirements for Elasticsearch?
Elasticsearch requires a minimum of 2048MB RAM. We recommend a VPS with at least 4096MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Can I migrate my existing Elasticsearch data?
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Elasticsearch backup and restore procedures.
How do I update Elasticsearch to the latest version?
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Elasticsearch image will be pulled and deployed with zero downtime.
Is Elasticsearch free to self-host?
Elasticsearch is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.
Ready to Self-Host Elasticsearch?
Download Server Compass and deploy Elasticsearch to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass



