Step 7. Configure Network Settings

In this article

    [This step applies only if you have selected the Restore to new location, or with different settings option at the Restore Mode step of the wizard]

    At the Network Settings step of the wizard, do the following:

    1. Select the Cloud SQL instance.
    2. Click Edit.
    3. In the Edit network settings window, choose whether you want to configure public IP and private IP connectivity for the restored Cloud SQL instance.

    To connect the restored Cloud SQL instance to a VPC network with a private IP address, select the Private IP check box and specify a VPC network to which the instance will be connected. For a VPC network to be displayed in the lists of available networks, it must be created for the region specified at step 6 in the Google Cloud Console as described in Google Cloud documentation.

    To assign a public IPv4 address to the restored Cloud SQL instance and to accept connections to it from specific IP address ranges, set the Public IP toggle to On, and then use the Allowed network connections section to specify the allowed IP address ranges.

     

    Tip

    The IP address ranges must be specified in the CIDR notation (for example, 12.23.34.0/24). To let all IP addresses access the restored Cloud SQL instance, you can enter 0.0.0.0/0. However, note that allowing access from all IP addresses is unsafe and thus not recommended in production environments.

     

    Restoring Cloud SQL Instance