Using custom Postgres driver

Last modified: 24 March 2025

In certain circumstances, a custom PostgreSQL driver might be required to connect to the Postgres database designated for Datalore internal usage (for example, when RDS is used and requires IAM authentication).

The corresponding JAR file(s) should be placed in the /opt/datalore/tomcat/lib/ext directory. You may either:

  • embed these files into the Datalore image (building the custom images based on jetbrains/datalore-server:2025.2

  • override Datalore startup script located at /opt/datalore/on_start.sh, so these will be downloaded on each server pod startup.

Once drivers are uploaded, the database connection string should be altered to reference a new driver:

As a final step, the server pod should be restarted as described in this article, so the changes are applied.