Skip to content

Regions (deploy on your own cloud account)

Patr allows you to host your deployments on premise, or on a cloud provider of your choice. In order to incorporate the different compliance regulations faced by large organizations in specific domains (like FinTech), Patr allows you to host on your own cloud account, thereby reducing the hassles faced during security audits.

To integrate another cloud provider with Patr, a Kubernetes cluster on your cloud account (such as AWS EKS or your own custom cluster) is required. Patr will connect to this cluster and host your deployments in this cluster. Please make sure that there are no other applications running on this cluster as this cluster will be fully managed by Patr.

To connect a Kubernetes cluster, head onto the Regions section in the Billing tab.

Now Add a Custom Region.

Regions tab inside the billing section

In the following screen, make sure that Custom Cluster is selected. In the future, Patr will allow you to enter your cloud provider credentials (like your AWS keys) and will automatically create a new Kubernetes cluster for you.

Regions Add a Custom Region Button

Fill in the following fields accordingly:

Add new Region form

  • Name: The name of the region. This is something you would use to identify the region for your internal purposes.
  • Cluster URL: This is the URL associated with the API endpoint of the Kubernetes cluster.
  • Auth Username: This is the username that will be used to authenticate with the Kubernetes Cluster.
  • Auth Token: This is the API token for the service account that will be used to authenticate with the Kubernetes Cluster.
  • Certificate Authority Data: This is the SSL certificate data used by Kubernetes to authenticate with your cluster.

Once these values are filled, you can click on the Add Region button, and your Kubernetes cluster will automatically be setup by Patr. You can view the logs of the setup in the regions section.

Once the region is completely setup, you can create a deployment just as you usually would, and choose your custom region in the region dropdown of the new deployment, and your deployment will now be hosted on your custom Kubernetes cluster.

Region dropdown showing custom region