Apono Connector for GCP
How to install a Connector on a GCP Project to integrate a GCP Organization or Project with Apono with Helm
To integrate with GCP and start managing JIT access to GCP cloud resources, you must first install a connector in your GCP environment.
The GCP connector must be installed on a GKE cluster. You can do this with CLI or with GCP Deployment Manager in the GCP Portal. The Apono connector will require permissions to the organization or to a specific project, depending on the level of access management you want to achieve with Apono.
To manage access to a single GCP Project, install a connector in a GKE cluster on that project and give the connector the appropriate role to the project. Follow this guide.
To manage access to a GCP Organization, install a connector in a GKE cluster on any project and give the connector the appropriate role to the organization. Follow this guide.
What's a connector? What makes it so secure?
The Apono Connector is an on-prem connection that can be used to connect resources to Apono and separate the Apono web app from the environment for maximal security.
Read more about the recommended GCP Installation Architecture.
How to install
GCP Organization Connector
Using Helm
Prerequisites
A GKE cluster on any GCP Project of your choosing
Kubernetes command-line tool (kubectl)
The Apono GCP token generated in the Apono UI:
Step-by-step guide
Prepare parameters for Apono installation
Fill and set the values for the following variables:
Set the connector service account variable:
Make sure Cloud Resource Manager API is enabled
Create IAM Service Account and grant it the roles: Browser, Security Admin and Tag Viewer for the entire organization.
Verifying default GKE cluster for installation
Open the Kubernetes command-line tool
Run
kubectl config get-contexts
to see the GKE clusters listSet the desired cluster to be the default -
kubectl config use-context
#the name of the clusterRun
kubectl get-contexts
- verify the "*" indicates the correct cluster.
Bind the IAM Service Account to the K8S Service Account
Install Helm Chart
The helm chart installs the following:
Kubernetes Deployment containing the Apono-Connector image container
Kubernetes Service Account annotated with GCP IAM Service Account
Kubernetes Secret containing Docker Registry credentials
Interested in HA for the connector?
Add this variable to the Helm chart to create one or more replicas of the Apono connector instance:
--set-string replicaCount=<number_of_replicas>
Read more here.
GCP Project Connector
Using Helm
Prerequisites
A GKE cluster on the GCP Project you'd like to integrate with Apono
Kubernetes command-line tool (kubectl)
The Apono GCP token generated in the Apono UI:
Step-by-step guide
Prepare parameters for Apono installation
Fill and set the values for the following variables:
Set the following variable:
Enable Cloud Resource Manager API
Create IAM Service Account and grant it with the roles: Browser, Security Admin and Tag Viewer for the project.
Verifying default GKE cluster for installation
Open the Kubernetes command-line tool
Run
kubectl config get-contexts
to see the GKE clusters listSet the desired cluster to be the default -
kubectl config use-context
#the name of the clusterRun
kubectl get-contexts
- verify the "*" indicates the correct cluster.
Bind the IAM Service Account to the K8S Service Account
Install Helm Chart
The helm chart installs the following:
Kubernetes Deployment containing the Apono-Connector image container
Kubernetes Service Account annotated with GCP IAM Service Account
Kubernetes Secret containing Docker Registry credentials
Interested in HA for the connector?
Add this variable to the Helm chart to create one or more replicas of the Apono connector instance:
--set-string replicaCount=<number_of_replicas>
Read more here.
Results
You can validate the Connector is installed in the Connector status page.
Then, In the Apono app, you will see the connector was found and a green checkmark indication.
Hurray!
You now have a GCP connector installed in your GCP environment with permissions to the Project.
You can now integrate Apono with a GCP Project or GCP Organization.
Last updated