A cloud platform team needs to deploy a Cloud SQL for PostgreSQL database instance with Private Services Access (PSA) and Customer-Managed Encryption Keys (CMEK). Arrange the operational steps in the correct order to provision this infrastructure successfully.
- 1Allocate an IP address range and establish a private VPC peering connection to the service networking network.
- 2Grant the Cloud SQL Service Agent account the Cloud KMS CryptoKey Encrypter/Decrypter role on the specified Key Ring.
- 3Provision the Cloud SQL instance configured with private IP networking and the CMEK key reference.
- 4Validate private network connectivity to the database instance from a workload inside the VPC network.
Cevap
The correct sequence begins with establishing Private Services Access, followed by granting IAM permissions for Cloud KMS to the Cloud SQL service agent, provisioning the CMEK-encrypted database instance over private IP, and concluding with database connectivity verification.
Provisioning database infrastructure with Private Services Access (PSA) and Customer-Managed Encryption Keys (CMEK) follows strict prerequisite ordering: network connectivity and IAM key permissions must exist before creating the dependent database instance, with post-provisioning connectivity checks executed last.
Adım Adım Çözüm
Anahtar Kavram
Cloud SQL Provisioning Dependency Ordering with PSA and CMEK