Skip to main content
This guide outlines the process of deploying Permify, on Google Compute Engine. The steps include setting up Google Cloud SDK and kubectl, managing containers using Google Kubernetes Engine (GKE), deploying Permify, and implementing Permify in a distributed configuration with Serf. By following these steps, you can efficiently deploy Permify on Google’s scalable and secure infrastructure.

Google Cloud SDK Install

  1. At the command line, run the following command:
  2. When prompted, choose a location on your file system (usually your Home directory) to create the google-cloud-sdk subdirectory under.
  3. If you want to send anonymous usage statistics to help improve gcloud CLI, answer Y when prompted.
  4. To add gcloud CLI command-line tools to your PATH and enable command completion, answer Y when prompted
  5. Restart your shell:
  6. To initialize the Google Cloud CLI environment, run gcloud init

Install kubectl

  1. Install the kubectl component:
  2. Verify that kubectl is installed:
  3. Install Authn Plug-in
    Check the gke-gcloud-auth-plugin binary version:

Create Containers with GKE

  1. Login & Initialize Google Cloud CLI
  2. Follow configuration instructions
  3. Create Container Cluster
  4. Authenticate the cluster

Deploy Permify

  1. Apply deployment config
    • Deployment.yaml
  2. Apply service manfiest
    • Service Manifest

Deploying Permify in a Distributed Configuration

If you aim to deploy Permify in a distributed configuration, you will need to create a Serf deployment. The Serf deployment can be dockerized to our Container Registry under the name permify/serf:v1.0, which is provided by Hashicorp. Please note: It is crucial to ensure that both Serf and Permify deployments reside within the same namespace for proper operation.
  1. Serf Service Create:
    • Serf Deployment&Service yaml
  2. Apply Deployment Manifest
    • Deployment.yaml
  3. Apply Service Manifest
    • Service.yaml

Need any help ?

Our team is happy to help you to deploy Permify, schedule a call with a Permify engineer.