All eazyBI for Jira eazyBI for Confluence Private eazyBI

Using custom schema with Amazon Redshift database
Private eazyBI

You can use Private eazyBI custom schema with a data warehouse in the Amazon Redshift database. It is recommended to use the Redshift database only if you are running Private eazyBI on an Amazon EC2 instance in the same Amazon region as it is necessary to have high-speed network connection between the Private eazyBI application server and Redshift database servers.

Database connection setup

Download the Redshift JDBC 4.1 driver and copy this RedshiftJDBC41-*.jar  file to eazybi_private/lib directory.

In eazybi.toml configure which eazyBI account should use Redshift connection (in this example the account with a name "Redshift account"). Replace redshift-* placeholders with corresponding host, database, username and password values.

# Settings for accounts with custom schemas
[accounts."Redshift account"]
driver = "jdbc"
jdbc_driver = "com.amazon.redshift.jdbc41.Driver"
jdbc_url = "jdbc:redshift://your-host-name.redshift.amazonaws.com:5439/redshift-database"
username = "redshift-user"
password = "redshift-user-password"
schema_rb = "schemas/redshift_schema.rb"

After that create the custom schema in config/schemas/redshift_schema.rb (or use another file name) and create the corresponding eazyBI account.

Using example FoodMart database data

If you would like to test the Redshift database then you can import example FoodMart database data:

After that configure the connection to Redshift in the eazybi.toml file as described above. You can use an example schema definition file schemas/foodmart_schema.rb as a value for the schema_rb parameter.