# Deploying Kubernetes on GCP

If you will be installing Aizen on Google Cloud Platform (GCP), follow these setup instructions:

* Set up a Google Kubernetes Engine (GKE) cluster. See <https://cloud.google.com/kubernetes-engine/docs/how-to>.
* Choose a type of file storage for your GKE cluster:
  * Add Persistent Disk storage to your Compute Engine virtual machine (VM) instances. Persistent Disk provides block storage for VM instances. It provides standard and SSD persistent disk options and can be dynamically resized. See <https://cloud.google.com/compute/docs/disks/add-persistent-disk>.
  * Set up Filestore instances to use as durable storage for your GKE cluster. Filestore offers managed NFS (Network File System) file storage for Google Cloud VM instances. It provides high-performance storage with the ability to scale based on demand. See <https://cloud.google.com/filestore/docs/filestore-for-gke>.
* To enable interoperability with Amazon S3 applications, see [gcp-and-s3-api-interoperability](https://aizen-corp.gitbook.io/docs/installation/setting-up-your-environment/deploying-kubernetes-on-gcp/gcp-and-s3-api-interoperability "mention").
* Provision the Cloud Service Mesh. See <https://cloud.google.com/service-mesh/docs/onboarding/provision-control-plane#gcloud>.
* Install and upgrade ingress gateways with Istio APIs. See <https://cloud.google.com/service-mesh/docs/operate-and-maintain/gateways#ingress>.

{% hint style="info" %}
Consider using these Aizen-provided steps:
{% endhint %}

* For a quick launch of a GKE cluster instance, update `variables.tf` (<https://aizen-public.s3.us-west-2.amazonaws.com/gcp_cluster_tfiles.tgz>) according to your environment, and run these terraform scripts:

  <pre data-overflow="wrap"><code>terraform init

  terraform apply  
  </code></pre>
* See [provisioning-the-cloud-service-mesh](https://aizen-corp.gitbook.io/docs/installation/setting-up-your-environment/deploying-kubernetes-on-gcp/provisioning-the-cloud-service-mesh "mention").
* See [installing-ingress-gateways-with-istio](https://aizen-corp.gitbook.io/docs/installation/setting-up-your-environment/deploying-kubernetes-on-gcp/installing-ingress-gateways-with-istio "mention").

To install Aizen , see [installing-aizen](https://aizen-corp.gitbook.io/docs/installation/installing-aizen "mention").

## Troubleshooting

See [installation-issues](https://aizen-corp.gitbook.io/docs/troubleshooting/installation-issues "mention") for solutions to commonly seen problems during deployment.
