Summary
This page explains the best practices to connect to your Amazon data using Jaspersoft for AWS.
The short video is a great introduction. Follow the steps listed below to connect to Amazon RDS or Redshift.
For Amazon Elastic MapReduce (EMR) see the
Amazon EMR connection page.
For non-Amazon data sources see the JDBC/JNDI connections section below.
Prerequisites
- JasperReports Server is running.
- You can login as superuser.
- Get help with these requirements here: Launching Jaspersoft BI for AWS.
Connect to Amazon RDS or Redshift
JasperReports Server can automatically discover and connect to Amazon Relational Database Server (RDS) and Amazon Redshift using the auto-connect feature.
1 Menu: Create -> Data Source |
![]() |
2 Use EC2 instance credentials |
![]() |
3 Enter Database connection info You must enter the database username and password. For security reasons Amazon does not store these credentials, so Jaspersoft cannot retrieve them. The default database is automatically populated, but you may manually enter another if your RDS or Redshift instance has multiple databases. |
![]() |
4 Test
|
![]() |
5 Create a Domain Follow the domain creation wizard to build a domain. |
![]() |
6 Analyze your data |
![]() |
7 Next steps |
Additional Connection Possibilities
1 AWS Credentials Under normal circumstances it's best to launch Jaspersoft BI on an EC2 instance with an associated IAM Role. This role provides the instance with EC2 credentials. If this option is not available for some reason, then it's possible to use AWS credentials instead. If you already have AWS Credentials, you may enter the Access Key and Secret Key. If you do not have AWS Credentials, you may run the CloudFormation Template "jrs-create-user" to generate credentials. |
http://www.jaspersoft.com/jrs-create-user?region=us-east-1 http://www.jaspersoft.com/jrs-create-user?region=us-west-2 http://www.jaspersoft.com/jrs-create-user?region=us-west-1 http://www.jaspersoft.com/jrs-create-user?region=eu-west-1 http://www.jaspersoft.com/jrs-create-user?region=ap-northeast-1 |
2 JDBC / JNDI Connections NOTE: When using JDBC for data source connections, the user will be responsible for managing the security groups to allow access from the Jaspersoft server to the data source. Please refer to the comparison of benefits of JDBC connections vs. AWS Data Sources, detailed below. Amazon RDS or RedshiftWhen connecting to Amazon RDS or Redshift, it is best to use the data source type "AWS Data Source" to make configuration easier. If you prefer, JDBC connections may used to connect to Amazon RDS or Redshift, per below. To connect using JDBC, choose the data source type "JDBC Data Source". Enter all connection information and test. Alternatively, you can choose "JNDI Data Source" and refer to a data source defined in Apache Tomcat. Benefits of defining your own JDBC connections:
Benefits of using AWS Data Sources:
|
![]() |
Connect to Amazon Elastic MapReduce
The JasperReports Server auto-connect feature is not supported for Amazon Elastic MapReduce (EMR). Connections to EMR need to be configured manually.
Please see the Amazon EMR connection page for details.