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.
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.
Finding Configuration Details in Your Database Platform:
Rule Type:
Locate this under your database’s security or firewall settings. Often labeled as “Inbound Rules” or “Access Control”.
IP Address:
Use the IP or IP range provided by Databrain. This ensures Databrain can connect to your database.
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.