Google Cloud SQL Server

Google Cloud SQL Server is a fully-managed database service that helps you set up, maintain, manage, and administer your SQL Server relational databases on Google Cloud Platform.

You can ingest data from your Google Cloud SQL Server database using Hevo Pipelines and replicate it to a Destination of your choice.


Perform the following steps to configure your Google Cloud SQL Server Source:

Whitelist Hevo’s IP Addresses

You need to whitelist the Hevo IP address for your region to enable Hevo to connect to your Google Cloud SQL Server database. To do this:

  1. Access the Google Cloud SQL Instances page and click the Instance ID that you want to use.

    Click instance

  2. In the left navigation pane, click Connections.

  3. In the Connections page, select the Public IP check box, and then, click + Add Network.

    Add network

  4. Specify the following in the Edit Network section:

    • Name: A name for this connection. For example, all or Hevo IP address.

    • Network: The IP address of the site to grant access to. Specify to authorize all sites or your region’s IP address to specifically whitelist Hevo’s IP address.

    This adds the IP address to the list of Authorized networks.

  5. (Optional) Click + Add network to add another IP address.

  6. Click Save.

Create a User and Grant Privileges

Option 1. Configuring the user account using Google Cloud console

  1. Click the master Google Cloud SQL Server instance.

    Click instance

  2. In the left navigation pane, click the Users tab, and then, click + ADD USER ACCOUNT.

    Click add user account

  3. Specify the user account information and click ADD.

    Click ADD

    You will specify this username and password while creating your Hevo Pipeline.

Option 2. Configuring the user account using SQL Server client

Log in to your SQL Server instance as masteruser using your preferred SQL Server client tool, and enter the following commands:

  1. Log in to the database schema where you want to add the user:

    USE <schema_name>;
  2. (Optional) Create a login user.

    Note: You can skip this step if you want to use the existing login user to create a new database user.

    CREATE LOGIN '<login_user>' WITH PASSWORD = '<password>';
  3. Create a new database user and grant read privileges:

    CREATE USER hevo for login <master_username>;
    EXEC sp_addrolemember 'db_datareader', 'hevo';

Retrieve the Configuration Details (Optional)

Refer to the steps below to gather the configuration details required to create your Hevo Pipeline:

1. Retrieve the hostname and port number

Note: Following is an example of Google Cloud SQL Server hostname and port number:
Host :
Port : 1433

  1. Access the Google Cloud SQL Instances page.

  2. Locate the hostname of the master instance under the Public IP address column.

    The default port value is 1433.

    Locate hostname

    You will specify these while creating your Hevo Pipeline.

2. Retrieve the username and password

To retrieve your username and password, follow the steps in section, Create a User and Grant Privileges.

3. Retrieve the database names

  1. Access the Google Cloud SQL Instances page.

  2. Click your database instance, and then, click the Databases tab.

    Locate database

In this page, you can locate the name of your database under the Name column.

Specify Google Cloud SQL Server Connection Settings

Specify the following settings in the Configure your Google Cloud SQL Server Source page:

  • Pipeline Name: A unique name for the Pipeline.

  • SQL Server Host: SQL Server host’s IP address or DNS.

    The following table lists a few examples of SQL Server host:

    Variant Host
    Amazon RDS MS SQL
    Azure MS SQL
    Generic MS SQL or
    Google Cloud SQL Server

    Note: For URL-based hostnames, exclude the http:// or https:// part. For example, if the hostname URL is, enter

  • SQL Server Port: The port on which your SQL Server is listening for connections. Default value: 1433.

  • SQL Server User: The read-only user that can read the tables in your database.

  • SQL Server Password: Password for the read-only user.

  • Database Name: The database that you wish to replicate.

  • Schema Name: The schema that holds the tables to be replicated. Default value: dbo.

  • Connect through SSH: Enable this option to connect to Hevo using an SSH tunnel, instead of directly connecting your SQL Server database host to Hevo. This provides an additional level of security to your database by not exposing your SQL Server setup to the public. Read Connecting Through SSH.

    If this option is disabled, you must whitelist Hevo’s IP addresses. Refer to the content for your SQL Server variant for steps to do this.

  • Advanced Settings:

    • Include New Tables in the Pipeline: Applicable for all Pipeline modes except Custom SQL. If enabled, Hevo automatically ingests data from tables created after the Pipeline has been built. If disabled, the new tables are listed in the Pipeline Detailed View in Skipped state, and you can manually include the ones you want and load their historical data.

      You can change this setting later.

Source Consideration

  • Google Cloud SQL Server does not support Binary Log (BinLog) replication.

Revision History

Refer to the following table for the list of key updates made to this page:

Date Release Description of Change
Jul-26-2021 1.68 Added a note for the SQL Server Host field.
Jul-12-2021 NA Added section, Specify Google Cloud SQL Server Connection Settings.
Feb-22-2021 1.57 New Document
Last updated on 12 Oct 2021