Google Cloud
Last updated
Last updated
This topic describes how to set up P0's integration for Google Cloud Platform (GCP). It contains the following sections:
Existing P0 account at .
Existing Google project(s) where you want to install P0.
Permissions to create GCP roles and add IAM bindings to your Google project(s).
iam.roleAdmin
(Role Admin)
iam.securityAdmin
(Security Admin)
orgpolicy.policyAdmin
(Organization Policy Admin). This is optional but recommended, to ensure your P0 integration for GCP is as secure as possible
Google Cloud Integration requires these key setup steps:
You must set up your organization prior to GCP provisioning. To set up p0 for your GCP organization:
Retrieve your organization ID from GCP using one of the following methods:
Go to IAM & Admin > Manage Resources. You will find your organization ID listed under the ID field.
Copy and paste your organization ID into the input field and click Next. This enables you to install components that fit your needs.
For this example, weβll install an Identity and Access Management (IAM) component.
To install an IAM component:
Choose the component you want to install (e.g. IAM management).
Click Add project to install a new project.
Enter your existing GCP project name into the Project identifier field and click Next.
The resulting page will display GCP and Terraform commands to complete the installation.
To provision access using the GCP shell:
Open Cloud Shell Editor from the left menu, or use the search bar.
Click Open Terminal. This is where youβll enter your shell commands.
If your browser is logged into multiple Google accounts, enter the command gcloud config set account email@email.com
, and replace email@email.com
with your account email.
Use the copy button to copy the entire Shell command set.
Paste the commands into the terminal window and press Return
.
Return to the configuration page and click Next to begin the installation process.
When the installation completes, click Finish.
(Optional) We recommend that you secure your installation. If you havenβt enabled a domain restriction for your project, youβll see the following warning message at the top of the Google Cloud page:
Congratulations! You're now set up with P0 on Google Cloud.
Run the command gcloud organizations list
in the .
Go to in your browser, navigate to Integrations, and select Google Cloud.
You can provision P0 IAM management Access using or Terraform. For this example, weβll use the GCP console shell.
You must have access to your project for it to appear in your GCP account. Refer to the for more info.
Go to your and select the project you want to provision.
If an Authorize window appears, click Authorize to grant permission.