---
title: Run Kibana in production
description: How you deploy Kibana largely depends on your use case. If you are the only user, you can run Kibana on your local machine and configure it to point to...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/deploy-manage/production-guidance/kibana-in-production-environments
---

# Run Kibana in production
How you deploy Kibana largely depends on your use case. If you are the only user, you can run Kibana on your local machine and configure it to point to whatever Elasticsearch instance you want to interact with. Conversely, if you have a large number of heavy Kibana users, you might need to load balance across multiple Kibana instances that are all connected to the same Elasticsearch cluster or deployment.

## Scalability

With the introduction of new capabilities such as [Kibana Alerting](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/explore-analyze/alerts-cases) and the [Detection Rules](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/solutions/security/detect-and-alert) engine, critical components for [Observability](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/solutions/observability) and [Security](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/solutions/security) solutions, the scalability factors have evolved significantly.
Now, Kibana’s resource requirements extend beyond user activity. The system must also handle workloads generated by automated processes, such as scheduled alerts, background detection rules, and other periodic tasks. These operations are managed by [Kibana Task Manager](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/deploy-manage/production-guidance/kibana-task-manager-scaling-considerations), which is responsible for scheduling, executing, and coordinating all background tasks.
Additionally, the task manager enables distributed coordination across multiple Kibana instances, allowing Kibana to function as a logical cluster in certain aspects.
<important>
  - Kibana does not support rolling [upgrades](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/deploy-manage/upgrade/deployment-or-cluster/kibana), and deploying mixed versions of Kibana can result in data loss or upgrade failures. Shut down all instances of Kibana before performing an upgrade, and ensure all running Kibana instances have matching versions.
  - While Kibana isn’t resource intensive, we still recommend running Kibana separate from  your Elasticsearch data or master nodes.
</important>


## Section overview

This section provides guidance on key configurations and optimizations for running Kibana in production environments. You’ll learn how to scale, secure, and optimize Kibana for high availability and performance, as well as how to manage background tasks and other features effectively.
Topics covered include:
- [High availability and traffic distribution](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/deploy-manage/production-guidance/kibana-load-balance-traffic): For self-managed deployments, learn how to load balance traffic across multiple Kibana instances, how to balance traffic to different deployments, and how to distribute Kibana traffic across multiple Elasticsearch instances.
- [Scaling Kibana based on traffic](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/deploy-manage/production-guidance/kibana-traffic-scaling-considerations): Learn the quantity of CPU and memory resources needed by Kibana to handle expected traffic.
- [Configure Kibana memory usage](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/deploy-manage/production-guidance/kibana-configure-memory): Configure Kibana memory limit in self-managed deployments.
- [Manage Kibana background tasks](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/deploy-manage/production-guidance/kibana-task-manager-scaling-considerations): Learn how Kibana runs background tasks like alerting and reporting, and get guidance on scaling and throughput tuning for reliable task execution. Applicable to all deployment types.
- [Optimize Kibana alerting performance](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/deploy-manage/production-guidance/kibana-alerting-production-considerations): Learn how Kibana runs alerting rules and actions using background tasks, and how to scale alerting by tuning task throughput and circuit breakers. Applicable to all deployment types.
- [Kibana reporting production setup](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/deploy-manage/production-guidance/kibana-reporting-production-considerations): Learn how Kibana generates reports using a headless version of Chromium, and how to configure your environment securely for production, including sandboxing and OS compatibility.

<note>
  Not all recommendations in this section apply to every [deployment type](/elastic/docs-content/pull/4173/deploy-manage/deploy#choosing-your-deployment-type). Be sure to check the section headers or applicability notes to confirm whether a given configuration is relevant to your environment.
</note>

In addition to the guidance provided in this section, other areas of the documentation cover important aspects for running Kibana in production, such as:
- [Secure your cluster or deployment](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/deploy-manage/security/secure-your-cluster-deployment)
- [Authentication and authorization](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4173/deploy-manage/users-roles/cluster-or-deployment-auth)