...
Logged-in users should have the privilege to launch deployment in GCP Deployment Manager.
Logged-in users must have the Viewer predefined role attached
Logged-in user will need access to VPN, Subnet, Network Interface/Security Group, and Service Account, which will be used by Kyvos to launch compute engines, Dataproc, and Instance Group.
You must create a custom role. To do this, click Roles > Create new role.
Provide a name like Kyvos-deployment-role; assign the following permissions, and then attach to the logged-in user service account.deploymentmanager.deployments.create
deploymentmanager.deployments.delete
deploymentmanager.deployments.get
deploymentmanager.deployments.list
deploymentmanager.deployments.update
deploymentmanager.manifests.get
deploymentmanager.operations.get
storage.objects.get
compute.subnetworks.use
cloudfunctions.functions.setIamPolicy
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Note The above permissions are only required to launch deployment. To view the resources after deployment, the user must have permission on the relevant resources. |
The GCP Deployment manager template is deployed through the logged-in user, and the resources inside the template are created through the default service account of GCP Deployment Manager.
To create other Google Cloud resources, Deployment Manager uses the credentials of the Google APIs Service Agent to authenticate to other APIs. The Google APIs Service Agent is designed specifically to run internal Google processes on your behalf. This service account is identifiable using the email: [ PROJECT_NUMBER]@cloudservices.gserviceaccount.comThe above service account must have the Editor predefined role attached.
Compute Network User: If using a Shared Network, grant the above service account the 'Compute Network User' predefined role to the project where the network originally resides.
You must create a custom role. To do this, click Roles > Create new role .
Provide a name like Kyvos-deployment-role; assign the cloudfunctions.functions.setIamPolicy permissions, and then attach to the service account.
Static External IP will be required.
Private Google Access must be enabled for the subnet that you will use for deploying Kyvos and Dataproc clusters.
Secret Manager API Should be enabled.
If ephemeral IP is selected during Kyvos deployment then the address to static must be promoted . Conversely, if ephemeral IP is not selected, then while restarting the VM, following error messages will appear:
URLs received via email notification will no longer be correct as the IP will change.
URL on Kyvos Manager page to navigate to Kyvos will not be correct as the IP will change.
If the deployment network is in the standard tier, the external static IP should be in the standard tier. Conversely, if the deployment network is in the premium tier, the external static IP should be in the premium tier.
Below are the prerequisites When selected "None" for External IP
Enable Public NAT Gateway, which will let VM connect to Internet Privately without External IP
Use respective VPC which has tunneling configured.
...