Installing Sourcegraph

You can opt to use Sourcegraph as a self-hosted deployment or managed instance.

Managed instances

The Sourcegraph team can host and manage a Sourcegraph instance for you. This makes them a simple choice for customers that want to utilize Sourcegraph but do not wish to manage its deployment and maintenance. You can find more details in its installation page.


Deployment Type Suggested for Setup time Multi-machine? Auto healing? Monitoring?
Single-container server Local testing 60 seconds No No No
Docker Compose Small & medium production deployments 5 minutes Not Supported No Yes
Kubernetes Medium & large highly-available cluster deployments 30 minutes Yes Yes Yes

Resource estimator

Use the resource estimator to find a good starting point for your deployment.