Using Console
Using CLI
gcloud sql instances list
gcloud sql instances patch [INSTANCE_NAME] --no-assign-ip
Replace [INSTANCE_NAME] with the name of the instance you identified in step 4.
gcloud sql instances describe [INSTANCE_NAME]
Replace [INSTANCE_NAME] with the name of the instance you identified in step 4.
Look for the “ipAddresses” field in the output. If it says “None”, then the instance is not public.
Using Python