> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployment Overview

> Overview of the procedures to deploy, upgrade, and downgrade a cluster in production.

This chapter describes how to deploy, upgrade, and downgrade a cluster in a production environment.

## Deployment Procedure

A summary of the deployment procedure is as follows and later topics provide the details.

The deployment of the database generally follows the steps outlined here:

1. Confirm the [hardware and software requirements](/documents/4.2/deployment/preparation/deployment_prerequisites.md) for your database deployment.

   Check the prerequisites that your servers must meet before deploying the database, including CPU, memory, storage, network, operating system, and dependencies.

2. [Plan your cluster size](/documents/4.2/deployment/preparation/plan_cluster.md).

   Plan the number of FE nodes and BE/CN nodes in your cluster, and the hardware specifications of the servers.

3. [Check environment configurations](/documents/4.2/deployment/preparation/environment_configurations.md).

   When your servers are ready, you need to check and modify some environment configurations before deploying the database on them.

4. [Get Enterprise Edition installation files](/documents/4.2/deployment/preparation/prepare_deployment_files.md). Select the package, image, or chart that matches the target release, CPU architecture, and deployment method.

5. Deploy the database.

   * If you want to deploy a shared-data cluster, which features a disaggregated storage and compute architecture, see [Deploy and use shared-data cluster](/documents/4.2/deployment/deploy_shared_data_manually.md) for instructions.
   * If you want to deploy a shared-nothing cluster, which uses local storage, you have the following options:

     * [Deploy a shared-nothing cluster manually](/documents/4.2/deployment/deploy_manually.md).
     * [Kubernetes Operator example](/documents/4.2/deployment/sr_operator.md).
     * [Helm deployment example](/documents/4.2/deployment/helm.md).

6. Perform necessary [post-deployment setup](/documents/4.2/deployment/manage_deployment/post_deployment_setup.md) measures.

   Further setup measures are needed before your cluster is put into production. These measures include securing the initial account and setting some performance-related system variables.

## Upgrade and Downgrade

If you plan to upgrade an existing cluster to a later version rather than install the database for the first time, see [Upgrade the database](/documents/4.2/deployment/manage_deployment/upgrade.md) for information about upgrade procedures and issues that you should consider before upgrading.

For instructions to downgrade your cluster, see [Downgrade the database](/documents/4.2/deployment/manage_deployment/downgrade.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.