> For the complete documentation index, see [llms.txt](https://docs.zerve.ai/zerve-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zerve.ai/zerve-docs/self-hosting/self-hosting.md).

# Deployment options

The ways you can run Zerve, from Zerve's cloud to your own cloud account or your own infrastructure.

You can run Zerve in three ways, depending on where you need your code and data to live.

| Option                   | Where the Zerve app runs       | Where your code, data and deployments run       | Best for                                                                                            |
| ------------------------ | ------------------------------ | ----------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| **Zerve cloud**          | Zerve's cloud                  | Zerve's cloud                                   | Getting started quickly, with nothing to set up                                                     |
| **Bring your own cloud** | Zerve's cloud, at app.zerve.ai | **Your own AWS, Google Cloud or Azure account** | Keeping data and compute in your own cloud, while Zerve runs the app                                |
| **Self-managed**         | **Your own infrastructure**    | **Your own infrastructure**                     | Organizations that need to run everything themselves, including on-premises and air-gapped installs |

## Zerve cloud

Sign up and start working. Zerve runs everything, and your code runs on Zerve's compute. Nothing to install.

## Bring your own cloud

With **bring your own cloud** (BYOC), your organization keeps using the Zerve app as normal, but everything your code touches stays in your own cloud account:

* **Code runs** on compute in your account
* **Results, variables and files** are stored in your account's storage
* **Environments** are built and stored in your account's container registry
* **Deployed apps and APIs** run in your account

Zerve manages these resources on your behalf, using access you grant and can revoke.

| Cloud            | How to set it up                                                                                                  | Compute                                                      |
| ---------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| **AWS**          | A guided CloudFormation stack. See [AWS QuickStart](/zerve-docs/self-hosting/aws-quickstart.md).                  | AWS Lambda, Fargate and SageMaker, and optionally Kubernetes |
| **Google Cloud** | Set up with `gcloud` and Helm on your existing GKE cluster. See [GCP (GKE)](/zerve-docs/self-hosting/gcp-gke.md). | Your GKE cluster                                             |
| **Azure**        | Set up with `az` and Helm on your existing AKS cluster. See [Azure (AKS)](/zerve-docs/self-hosting/azure-aks.md). | Your AKS cluster                                             |

Set up BYOC from **Settings → Self-Hosting**. You need to be an organization admin.

## Self-managed

With a **self-managed** install, you run the whole of Zerve, including the app itself, on your own Kubernetes infrastructure. Self-managed installs can run fully air-gapped, using your own container registries, package mirrors and LLM gateway. See [Self-managed installs](/zerve-docs/self-hosting/self-managed.md).

## Choosing an option

| If you need…                                                                             | Choose                       |
| ---------------------------------------------------------------------------------------- | ---------------------------- |
| To try Zerve, or a team that's happy with Zerve's cloud                                  | Zerve cloud                  |
| Data and code to stay in your own cloud account                                          | Bring your own cloud         |
| To use your existing AWS data infrastructure, with fixed outbound IPs for your databases | Bring your own cloud, on AWS |
| Everything inside your own network, or no internet access at all                         | Self-managed                 |

For how Zerve keeps your data secure in each case, see [Security overview](/zerve-docs/security/security.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.zerve.ai/zerve-docs/self-hosting/self-hosting.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
