---
title: "Deploy Opensearch"
description: "OpenSearch is a scalable, open-source search and analytics suite."
category: "Observability"
url: https://railway.com/deploy/1xgwst
---

# Deploy Opensearch

OpenSearch is a scalable, open-source search and analytics suite.

**[Deploy Opensearch on Railway](https://railway.com/template/1xgwst)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/1xgwst/manifest.json

- **Creator:** Mex Delgado
- **Category:** Observability
- **Total deploys:** 92

## Template content

### Opensearch

- **Image:** opensearchproject/opensearch:latest
- **Public domain:** Yes

### Opensearch-dashboards

- **Image:** opensearchproject/opensearch-dashboards:latest
- **Public domain:** Yes

## Documentation

<div align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://opensearch.org/wp-content/uploads/2024/08/opensearch_logo_default.svg">
    <source media="(prefers-color-scheme: light)" srcset="https://opensearch.org/wp-content/uploads/2024/08/opensearch_logo_default.svg">
    <img alt="OpenSearch: Open-source search and analytics suite." src="https://opensearch.org/wp-content/uploads/2024/08/opensearch_logo_default.svg" height="80">
  </picture>
  <h3>Open Source Search, Analytics, and Visualization Platform</h3>
  <a href="https://opensearch.org">Website</a> |
  <a href="https://opensearch.org/docs/latest/">Documentation</a> |
  <a href="https://github.com/opensearch-project">GitHub</a>
</div>

**OpenSearch** is an open-source, community-driven search and analytics suite, originally derived from Elasticsearch 7.10.  
It includes OpenSearch as the search engine and **OpenSearch Dashboards** as the visualization layer for building dashboards, running queries, and analyzing data.

---

# Deploy and Host

## About Hosting OpenSearch &amp; Dashboards

OpenSearch and OpenSearch Dashboards are designed to be deployed together as a unified solution for indexing, querying, and visualizing data.  
- **OpenSearch** provides a distributed search and analytics engine that supports full-text search, filtering, aggregations, and more.  
- **OpenSearch Dashboards** offers a modern UI to interact with OpenSearch, explore indices, build visualizations, and manage alerts.

Hosting OpenSearch on Railway removes the burden of infrastructure configuration. You can deploy both services using Docker, attach persistent volumes for storage, and configure resources as needed. This stack is ideal for observability, logging, metrics, and full-text search in modern applications.

---

## Common Use Cases

- **Log aggregation and centralized monitoring**  
  Collect logs from multiple services and query them in one place.

- **Search functionality for web or internal apps**  
  Power advanced search features with relevance, suggestions, and filters.

- **Custom metrics dashboards**  
  Visualize time series data and business KPIs with charts, tables, and filters.

---

## 🌟 Key Features

### 🔎 Full-Text Search Engine  
OpenSearch supports Lucene-based text search, structured queries, filters, and aggregations.

### 📊 Interactive Dashboards  
OpenSearch Dashboards allows you to build real-time visualizations and dashboards to analyze your data.

### 🔁 Open Source &amp; AWS-Backed  
Fully community-driven, permissively licensed, and backed by AWS.

### 🧰 Plugin Architecture  
Extend functionality with built-in or custom plugins for security, alerting, anomaly detection, etc.

### 🚨 Built-in Alerting and Notifications  
Trigger alerts on query conditions and send notifications to Slack, email, or webhooks.

---

## Dependencies for OpenSearch Hosting

- Persistent volume for OpenSearch data (`/usr/share/opensearch/data`)
- At least 2GB RAM for OpenSearch, 1GB RAM for Dashboards
- Railway environment with Docker support

---

### Deployment Dependencies

- [OpenSearch Docker Image](https://hub.docker.com/r/opensearchproject/opensearch)  
- [OpenSearch Dashboards Docker Image](https://hub.docker.com/r/opensearchproject/opensearch-dashboards)  
- [OpenSearch Docs](https://opensearch.org/docs/latest/)  
- [OpenSearch GitHub](https://github.com/opensearch-project)

---

## Why Deploy OpenSearch on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying OpenSearch on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [Rootprint](https://railway.com/deploy/rootprint-1) — Open-source logs and traces with full-text search on object-storage.
- [VPS Fleet Watch Hub with Beszel](https://railway.com/deploy/vps-fleet-watch-hub-with-beszel) — A persistent Beszel hub for external VPS agents and fleet alerts.
- [Pyroscope profiling](https://railway.com/deploy/pyroscope-profiling) — Protected continuous profiling with durable Pyroscope storage.

Open this page in a browser: https://railway.com/deploy/1xgwst
