Cloud deployment
You deploy Vault on a cloud platform such as AWS, Google Cloud Platform, or Azure, or use the Piiano managed SaaS option which is hosted on AWS. On these platforms, Vault can be deployed as a server or serverless. For example, on Google Cloud Platform Vault can be deployed as a serverless service using Cloud Run.
Vault is implemented using two services: a Control service for making control changes such as IAM configuration and schema changes, and a Data service for CRUD operations on data.
The main elements in a Vault deployment are:
- The Vault server. There can be one server running both services, or the services may be deployed separately.
- The backend database. For example, Postgres RDS.
- A Key Management Service (KMS).
- A load balancer or API gateway to manage access to the Vault services.
This diagram shows an example of the high-level architecture in an AWS deployment.
An Amazon Elastic Container Service (Amazon ECS) based deployment:
![Architecture of an AWS ECS deployment of Vault.](/assets/images/aws-ecs-deployment-c609f5bdcb95babb1d3c593653bdd107.png)
![Architecture of an AWS ECS deployment of Vault.](/assets/images/aws-ecs-deployment-dark-d688a59cadc29b5786907dc9491e0f3c.png)
A Google Cloud Platform Cloud Run based deployment:
![Architecture of a Google Cloud Platform Cloud Run deployment of Vault.](/assets/images/gcp-cloudrun-deployment-9810c618a671e8a8637422ce19a3af53.png)
![Architecture of a Google Cloud Platform Cloud Run deployment of Vault.](/assets/images/gcp-cloudrun-deployment-dark-4d80e7516f2a2b1940e8f84754d8e601.png)
An Azure Cloud Platform based deployment:
![Architecture of an Azure Cloud Platform deployment of Vault.](/assets/images/vault-azure-deployment-dcdd7afcf736c2a4dbc588ba7132521d.png)
![Architecture of an Azure Cloud Platform deployment of Vault.](/assets/images/vault-azure-deployment-dark-99076c28bb371a8c9805fc0b49f2b0f3.png)