A cloud security administrator at a healthcare software firm needs to enable a lead developer to provision a new isolated Google Cloud project named `hc-analytics-prod` and associate it with the company's central Cloud Billing account under the principle of least privilege. What is the correct sequence of administrative and operational steps required to grant permissions and complete the project billing configuration?
- 1Grant the developer the Project Creator (`roles/resourcemanager.projectCreator`) role on the organization or target folder.
- 2Grant the developer the Billing Account User (`roles/billing.user`) role on the specific Cloud Billing Account.
- 3Execute `gcloud projects create hc-analytics-prod` to provision the new GCP project.
- 4Execute `gcloud billing projects link hc-analytics-prod --billing-account=01A2B3-456789-DEF123` to attach billing.
Answer
The correct order begins with granting the Project Creator role at the folder/organization level, followed by granting the Billing Account User role on the billing account, then creating the GCP project via CLI, and finally linking the project to the billing account.
Establishing a new project and linking it to billing under least privilege requires granting `roles/resourcemanager.projectCreator` on the parent folder/org and `roles/billing.user` on the Cloud Billing account prior to creating the project (`gcloud projects create`) and linking it (`gcloud billing projects link`).
Step-by-Step Solution
Key Concept
Least-Privilege Billing Account and Project Creation Workflow