A system administrator is deploying a production Cloud SQL for MySQL database named `corp-db` in the `us-central1` region. The instance must be configured with High Availability for multi-zone redundancy and must be restricted to internal network traffic within an existing VPC network named `prod-vpc`. Which TWO configuration steps must be performed to meet these requirements?
- Establish a private services access connection (VPC Network Peering) between `prod-vpc` and Google Service Networking before creating the instance.Cevap
- Include the `--availability-type=REGIONAL` flag when running the `gcloud sql instances create` command.Cevap
- CAssign a public IP address to the database instance with an authorized network entry configured for `0.0.0.0/0`.
- DCreate a new subnet in `prod-vpc` using the `gcloud compute networks subnets create` command with the `--enable-private-ip-only` flag.
Cevap
To configure a high-availability Cloud SQL instance accessible strictly via Private IP, you must establish a private services access connection between your VPC network and Google Service Networking, and specify `--availability-type=REGIONAL` when running `gcloud sql instances create`.
Establishing a private services access connection enables private IP routing between your VPC network and the Google service producer network, while the `--availability-type=REGIONAL` flag provisions a standby failover instance in a secondary zone to satisfy high availability requirements.
Adım Adım Çözüm
Anahtar Kavram
Configuring Cloud SQL High Availability and Private IP Connectivity