# Pigsty Deployment

> Historical documentation restored from the Pigsty v1.5.1 tag.
---

> It takes three steps to deploy Pigsty： [Prepare](/docs/d-prepare/), [Configure](/docs/v-config/), [Playbook](/docs/p-playbook/).

----------------



## [Preparation](/docs/d-prepare/)

> Before installing Pigsty, you need to prepare the required resources: physical/VM nodes, admin users, and download Pigsty software.

- [Node provisioning](/docs/d-prepare/#node-provisioning)
- [Meta node provisioning](/docs/d-prepare/#meta-node-provisioning)
- [ Admin provisioning](/docs/d-prepare/#admin-provisioning)
- [Software provisioning](/docs/d-prepare/#software-provisioning)


----------------



## [Configuration](/docs/v-config/)

> After preparation, you need to indicate to Pigsty what infra and database services you need via [configure](/docs/v-config/#configure).

* [Configure Infra](/docs/v-infra/)
* [Configure Nodes](/docs/v-nodes/)
* [Configure PGSQL Cluster](/docs/v-pgsql/) / [Customize PGSQL Cluster](/docs/v-pgsql-customize/) /[Deploy PGSQL Cluster](/docs/d-pgsql/)
* [Configure Redis Cluster](/docs/v-redis/)  / [Deploy Redis Cluster](/docs/d-redis/)
* [Deploy MatrixDB Cluster](/docs/d-matrixdb/)

----------------



## [Playbook Execution](/docs/p-playbook/)

> The next step can be to land the requirements by [executing the playbook](/docs/p-playbook/).

* [Install Pigsty on Meta](/docs/p-infra/#infra) / [Pigsty Uninstall](/docs/p-infra/#infra-remove)
* [Add Nodes](/docs/p-nodes/#nodes) / [Remove Nodes](/docs/p-nodes/#nodes-remove)
* [Deploy PGSQL Cluster](/docs/p-pgsql/#pgsql) / [Offline PGSQL Cluster](/docs/p-pgsql/#pgsql-remove)
* [Create PGSQL Business User](/docs/p-pgsql/#pgsql-createuser) / [Create PGSQL Business Database](/docs/p-pgsql/#pgsql-createdb)
* [Deploy Redis Cluster](/docs/p-redis/#redis) / [Offline Redis Cluster](/docs/p-redis/#redis-remove)





----------------

## Deployment

* [Standard Deployment](/docs/d-prepare/): Prepare brand new nodes to complete the standard Pigsty deployment process.
* [Sandbox Deployment](/docs/d-sandbox/): Pull up a local VM sandbox environment with one click using a pre-built `vagrant` template.
* Multi-Cloud Deployment: Use `terraform` template to pull up the required VM resources at the cloud service vendor and perform the deployment.
* [Monly Deployment](/docs/d-monly/): Use singleton Pigsty to monitor existing database clusters.
