Elasticsearch: 2. Create a stack for your CI, once

This documentation is part of the GitHub Actions & GitLab CI guide. View the full guide here: Spin up a real Elasticsearch service from your GitHub Actions or GitLab CI pipeline, run your tests against it, and tear it down automatically.

👋 Welcome to the Stackhero documentation

Stackhero delivers a fully managed Elasticsearch cloud service designed for professionals who need reliable search, analytics, and logging at scale.

  • Consistent performance and strong security with a private, dedicated infrastructure.
  • Easily set up a custom domain name secured by HTTPS.

Get started quickly and focus on your work: you can have a production-ready Elasticsearch cloud hosting environment in about 5 minutes, with routine maintenance and security handled for you.

Every run adds its own Elasticsearch service to one stack that you keep for your CI. You only create it once, from your computer:

stackhero login
stackhero stack-create --name="CI"

You can also create it from your Stackhero dashboard. Runs can overlap safely: each one adds and deletes its own service, and the stack stays ready for the next run.