
# Enterprise Self-Hosted

<TierCallout>
	Supported on [Enterprise](/pricing/plans/enterprise) plans.
</TierCallout>

This section of the documentation is meant for Sourcegraph enterprise self-hosted users.

Sourcegraph administration is primarily managed by site administrators, who are responsible for the deployment, management, and configuration of Sourcegraph instances for end users. For a comprehensive introduction to site administration, refer to our [quickstart guide](/admin/how-to/site-admin-quickstart).

## [Deploy Sourcegraph](/self-hosted/deploy/)

Get started running Sourcegraph on-prem.

-   [Deployment overview](/self-hosted/deploy/)
-   [Single-node deployment](/self-hosted/deploy/single-node/)
-   [Docker Compose](/self-hosted/deploy/docker-compose/)
    -   [AWS installation](/self-hosted/deploy/docker-compose/aws)
    -   [Digital Ocean installation](/self-hosted/deploy/docker-compose/digitalocean)
    -   [Google Cloud installation](/self-hosted/deploy/docker-compose/google-cloud)
-   [Kubernetes](/self-hosted/deploy/kubernetes/)
-   [Machine images](/self-hosted/deploy/machine-images/)
-   [Instance sizing](/self-hosted/deploy/instance-size)
-   [Resource estimator](/self-hosted/deploy/resource-estimator)
-   [Scaling](/self-hosted/deploy/scale)
-   [Best practices](/self-hosted/deployment-best-practices)
-   [Validate a Sourcegraph deployment](/self-hosted/validation) (experimental)

## [Upgrade Sourcegraph](/self-hosted/updates)

-   [Upgrade Overview](/self-hosted/updates/)
-   [Docker Compose upgrades](https://sourcegraph.com/changelog/self-hosted/docker-compose)
-   [Kubernetes upgrades](https://sourcegraph.com/changelog/self-hosted/kubernetes)
-   [Pure Docker upgrades](/self-hosted/updates/pure-docker)
-   [Migrator](/self-hosted/updates/migrator/)
-   [Upgrading PostgreSQL](/self-hosted/postgres#upgrading-postgresql)

## Configure Sourcegraph

-   For general admin tasks, see [Sourcegraph Admin](/admin)
-   [HTTP and HTTPS/SSL configuration](/self-hosted/http-https-configuration)
    -   [Adding SSL (HTTPS) to Sourcegraph with a self-signed certificate](/self-hosted/ssl-https-self-signed-cert-nginx)
-   [Setting the URL for your instance](/self-hosted/url)
-   [Configure email sending / SMTP server](/self-hosted/email)
-   [Scaling workers](/self-hosted/workers)
-   [PostgreSQL configuration](/self-hosted/postgres-conf)

## [Using external services](/self-hosted/external-services/)

-   [External services overview](/self-hosted/external-services/)
-   [PostgreSQL](/self-hosted/external-services/postgres)
-   [Redis](/self-hosted/external-services/redis)
-   [Object storage (S3/GCS)](/self-hosted/external-services/object-storage)

## [Executors](/self-hosted/executors/)

-   [Executors overview](/self-hosted/executors/)
-   [Deploy executors](/self-hosted/executors/deploy-executors)
-   [Kubernetes deployment](/self-hosted/executors/deploy-executors-kubernetes)
-   [Terraform deployment](/self-hosted/executors/deploy-executors-terraform)
-   [Docker deployment](/self-hosted/executors/deploy-executors-docker)
-   [Binary deployment](/self-hosted/executors/deploy-executors-binary)
-   [Binary deployment (offline)](/self-hosted/executors/deploy-executors-binary-offline)
-   [Docker-in-Docker](/self-hosted/executors/deploy-executors-dind)
-   [Firecracker](/self-hosted/executors/firecracker)
-   [Configuration](/self-hosted/executors/executors-config)
-   [Troubleshooting](/self-hosted/executors/executors-troubleshooting)

## Advanced tasks

-   [Loading configuration via the file system](/self-hosted/advanced-config-file)
-   [Restore postgres database from snapshot](/self-hosted/restore/)
-   [Enabling database encryption for sensitive data](/self-hosted/encryption)
-   [Configuring Sourcegraph in private networks](/self-hosted/private-network)
-   [Restricting outgoing connections](/self-hosted/network-filtering)
-   [PostgreSQL](/self-hosted/postgres)
-   [PostgreSQL 12 end of life notice](/self-hosted/postgres12-end-of-life-notice)
-   [PostgreSQL collation version mismatch resolution](/self-hosted/postgresql-collation-version-mismatch-resolution)
-   [Profiling (pprof)](/self-hosted/pprof)

## [Observability](/self-hosted/observability)

-   [Monitoring guide](/self-hosted/how-to/monitoring-guide)
-   [Metrics and dashboards](/self-hosted/observability/metrics)
-   [Dashboards reference](/self-hosted/observability/dashboards)
-   [Alerting](/self-hosted/observability/alerting)
-   [Custom alerting consumption](/self-hosted/observability/alerting-custom-consumption)
-   [Alerts reference](/self-hosted/observability/alerts)
-   [Tracing](/self-hosted/observability/tracing)
-   [Logs](/self-hosted/observability/logs)
-   [OpenTelemetry](/self-hosted/observability/opentelemetry)
-   [Health checks](/self-hosted/observability/health-checks)
-   [Troubleshooting guide](/self-hosted/observability/troubleshooting)

## [How-to Guides](/self-hosted/how-to/)

-   [Blobstore debugging](/self-hosted/how-to/blobstore-debugging)
-   [Blobstore update notes](/self-hosted/how-to/blobstore-update-notes)
-   [Clear code intelligence data](/self-hosted/how-to/clear-codeintel-data)
-   [Dirty database (pre 3.37)](/self-hosted/how-to/dirty-database-pre-3-37)
-   [Dirty database](/self-hosted/how-to/dirty-database)
-   [PostgreSQL 12 to 16 drift](/self-hosted/how-to/postgres-12-to-16-drift)
-   [PostgreSQL 14 index corruption](/self-hosted/how-to/postgres14-index-corruption)
-   [Precise code intel worker crashloopbackoff](/self-hosted/how-to/precise-code-intel-worker-crashloopbackoff)
-   [Privileged migrations](/self-hosted/how-to/privileged-migrations)
-   [Rebuild corrupt PostgreSQL indexes](/self-hosted/how-to/rebuild-corrupt-postgres-indexes)
-   [Redis ConfigMap](/self-hosted/how-to/redis-configmap)
-   [Rollback database](/self-hosted/how-to/rollback-database)
-   [Run psql](/self-hosted/how-to/run-psql)
-   [Setup HTTPS](/self-hosted/how-to/setup-https)
-   [Troubleshoot pod eviction](/self-hosted/how-to/troubleshoot-pod-eviction)
-   [Unfinished migration](/self-hosted/how-to/unfinished-migration)
-   [Upgrade PostgreSQL 12 to 16 (builtin DBs)](/self-hosted/how-to/upgrade-postgres-12-16-builtin-dbs)

## [FAQs](/self-hosted/faq)
