Networking
To ensure secure connectivity when connecting to your environments, DinMo supports several access methods: IP whitelisting, SSH tunneling, and, for Amazon Redshift, AWS Systems Manager Session Manager (SSM) tunneling.
SSH tunneling allows DinMo to establish a secure, encrypted connection through a bastion host.
SSM tunneling allows DinMo to reach a private Redshift endpoint through AWS Session Manager port forwarding, without requiring a public SSH bastion.
In addition, you can whitelist DinMo static IP addresses to restrict access to DinMo services.
You can combine methods when needed. For example, a direct connection can use IP allowlisting, while a private Redshift endpoint can use SSH or SSM tunneling. Choosing the right approach depends on your internal policies and infrastructure.
IP Addresses
To enhance network security and ensure seamless connectivity with DinMo, you can allowlist DinMo egress IP addresses. By doing so, you allow access from DinMo services while protecting your network from unauthorized access.
IP Addresses for Whitelisting
For the default GCP deployment, allowlist the following IP address: 34.38.245.85 (europe-west1).
If your workspace runs on another DinMo deployment, confirm the egress IP address to allowlist with your DinMo team before opening access.
SSH Tunneling
How it works
SSH tunnel requires an sshd service running on a bastion host that is accessible from the public internet. Our systems initiate an SSH connection to this bastion and then forward traffic from there to the private service you define.
Setup
When creating a new source, select “SSH Tunnel” as the connection type.
Fill out the SSH Host or IP and the SSH Port
These are the connection details for your public-facing bastion server host.
The port is most likely 22, standard for
sshd. The field is filled with this information by default
Enter a username for this SSH connection
Click on "Generate SSH Tunnel" and copy the public key which is generated. Add this to the
~/.ssh/authorized_keysfile for the user you've just filled in.
SSM Tunneling
How it works
SSM tunneling uses AWS Systems Manager Session Manager port forwarding. DinMo assumes an IAM role in your AWS account, starts an SSM session to a managed target, and forwards traffic from that target to the Redshift endpoint.
This method does not require the Redshift endpoint to be public and does not require a public SSH bastion.
Setup
Ensure an EC2 instance or managed instance is registered with AWS Systems Manager.
Ensure this SSM-managed target can reach the Redshift host and port from inside your AWS network.
When creating a Redshift source, select "SSM tunnel" as the connection type.
Fill in the SSM managed target ID, the AWS region of the target, and the AWS role ARN DinMo should assume.
Apply the AWS role and policy commands generated by DinMo in the source setup flow.
Last updated

