Allow Access to our IP

Created by Mithra K, Modified on Thu, 4 Apr at 6:56 AM by Rahul Pattamatta

Getting Started with Database IP Whitelisting for DataBrain


Requirements:

  • An active database instance on one of the supported platforms: Amazon Redshift, BigQuery, ClickHouse, ElasticSearch, MySQL, Postgres, MongoDB, Snowflake, Databricks.
  • Admin-level permissions for the database instance to modify security settings.
  • Ensure DataBrain's IP or IP range is known for whitelisting.
DataBrain IP Address : 44.198.8.73

Setup Guide 

For Public Database Instances:

  1. Ensure DataBrain's Connectivity:
    • Ensure your database instance is active and DataBrain can reach it.
    • The connectivity largely depends on your cloud provider's permissions and security configurations. The most straightforward way to verify this is through your database's connectivity test feature or UI.
  2. Whitelist DataBrain's IP:
    • Navigate to the security or firewall settings of your database.
      • Rule Type: Typically "Inbound" to allow incoming connections.
      • IP Address: Input DataBrain's IP or IP range.
      • Protocol & Port: Defined by the database (e.g., TCP 3306 for MySQL).
    • Security Note: Always ensure you only whitelist trusted IPs. DataBrain's IP is required for seamless data integration.

For Non-Public Database Instances:

  1. Setup Your Bastion Host or Jump Server:
    • Log in to your AWS Management Console.
    • Navigate to the EC2 dashboard.

    • Click on "Launch Instance" to start the instance creation wizard.

    • Choose an appropriate Amazon Machine Image (AMI) based on your requirements. For a bastion host, you can typically use a standard Linux AMI such as Amazon Linux or Ubuntu.

    • Select an instance type based on the expected workload and resource requirements.

    • Ensure that the VPC selected for the bastion host is the same as the one where your database cluster resides. This ensures that the bastion host and database are within the same virtual network for seamless connectivity.

    • Configure the instance details including the subnet within the selected VPC and any additional settings required for your environment.

    • Add storage as needed for the instance.

    • Configure security groups for the instance. Ensure that at least SSH (port 22) access is allowed from your IP address or range.

    • Review the instance configuration and launch the EC2 instance.

  2. Configure Database Security Group:
    • Navigate to the security group associated with your database cluster.
    • Add inbound rules to allow traffic from the bastion host's security group on the port used by database.

    • This step allows incoming connections from the bastion host to the database cluster.

  3. Whitelist DataBrain's IP in Bastion's Security Settings:
    • Navigate to the security or firewall settings of your bastion host.
      • Rule Type: Typically "Inbound" to allow incoming connections.
      • IP Address: Input DataBrain's IP or IP range.
      • Protocol & Port: The port used for SSH (typically port 22) .
    • Security Note: Always ensure you only whitelist trusted IPs. DataBrain's IP is required for seamless data integration.

    Provide SSH details in Databrain app(connect datasource):

  • SSH Host: [SSH host endpoint of the SSH instance. Ensure the DataBrain IP is whitelisted.]
  • SSH Port: 22
  • Username: [Username to connect to SSH host]
  • Private Key: [Private key to authenticate with the SSH host]

Note: This is applicable for PostgreSQL & Redshift only.


Finding Configuration Details in Your Database Platform:

  1. Rule Type:
    • Locate this under your database's security or firewall settings. Often labeled as "Inbound Rules" or "Access Control".
  2. IP Address:
    • Use the IP or IP range provided by DataBrain. This ensures DataBrain can connect to your database.
  3. Protocol & Port:
    • Check your database's documentation. Each database type generally has a standard protocol and port.

Remember to save any changes made to the security settings and periodically verify that the whitelisted IPs are accurate and up-to-date.


Note: The exact terms and navigation paths might vary slightly based on the cloud provider and database platform, but the overarching principle remains the same. Always refer to the specific documentation of the database or cloud provider for detailed steps.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article