Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can you enable Compute Engine virtual machine instances to connect to a Cloud SQL instance without whitelisting their IP addresses during a MySQL database migration to Google Cloud SQL?
A
Enable private IP for the Cloud SQL instance.
B
Whitelist a project to access Cloud SQL, and add Compute Engine instances in the whitelisted project.
C
Create a role in Cloud SQL that allows access to the database from external instances, and assign the Compute Engine instances to that role.
D
Create a CloudSQL instance on one project. Create Compute engine instances in a different project. Create a VPN between these two projects to allow internal access to CloudSQL.