This put up was co-written with Django Bouchez, Answer Engineer at Toucan.
Enterprise intelligence (BI) with dashboards, studies, and analytics stays one of the vital common use circumstances for knowledge and analytics. It gives enterprise analysts and managers with a visualization of the enterprise’s previous and present state, serving to leaders make strategic choices that dictate the long run. Nonetheless, prospects proceed to ask for higher methods to inform tales with their knowledge, and due to this fact enhance the adoption price of their BI instruments.
Most BI instruments in the marketplace present an exhaustive set of customization choices to construct knowledge visualizations. It would seem as a good suggestion, however finally burdens enterprise analysts that must navigate by way of countless prospects earlier than constructing a report. Analysts usually are not graphic designers, and a poorly designed knowledge visualization can cover the perception it’s meant to convey, and even mislead the viewer. To understand extra worth out of your knowledge, it is best to concentrate on constructing knowledge visualizations that inform tales, and are simply comprehensible by your viewers. That is the place guided analytics helps. As a substitute of presenting limitless choices for personalization, it deliberately limits selection by implementing design finest practices. The simplicity of a guided expertise permits enterprise analysts to spend extra time producing precise perception reasonably than worrying about the best way to current them.
This put up illustrates the idea of guided analytics and reveals you how one can construct an information storytelling software with Amazon Redshift Serverless and Toucan, an AWS Associate. Toucan natively integrates with Redshift Serverless, which lets you deploy a scalable knowledge stack in minutes with out the necessity to handle any infrastructure element.
Amazon Redshift is a totally managed cloud knowledge warehouse service that lets you analyze giant quantities of structured and semi-structured knowledge. Amazon Redshift can scale from just a few gigabytes to a petabyte-scale knowledge warehouse, and AWS just lately introduced the worldwide availability of Redshift Serverless, making it among the best choices for storing knowledge and working advert hoc analytics in a scalable and cost-efficient method.
With Redshift Serverless, you will get insights in your knowledge by working standalone SQL queries or by utilizing knowledge visualizations instruments corresponding to Amazon QuickSight, Toucan, or different third-party choices with out having to handle your knowledge warehouse infrastructure.
Toucan is a cloud-based guided analytics platform constructed with one aim in thoughts: scale back the complexity of bringing knowledge insights to enterprise customers. For this objective, Toucan gives a no-code and complete consumer expertise at each stage of the information storytelling software, which incorporates knowledge connection, constructing the visualization, and distribution on any machine.
In the event you’re in a rush and wish to see what you are able to do with this integration, try Shark assaults visualization with AWS & Toucan, the place Redshift Serverless and Toucan assist in understanding the evolution of shark assaults on the earth.
Overview of answer
There are a lot of BI instruments available in the market, every offering an ever-increasing set of capabilities and customization choices to distinguish from the competitors. Paradoxically, this doesn’t appear to extend the adoption price of BI instruments in enterprises. With extra complicated instruments, knowledge house owners spend time constructing fancy visuals, and have a tendency so as to add as a lot info as doable of their dashboards as a substitute of offering a transparent and easy message to enterprise customers.
On this put up, we illustrate the idea of guided analytics by placing ourselves within the sneakers of an information engineer that should talk tales to enterprise customers with knowledge visualizations. This fictional knowledge engineer has to create dashboards to know how shark assaults advanced within the final 120 years. After loading the shark assaults dataset in Redshift Serverless, we information you in utilizing Toucan to construct tales that present a greater understanding of shark assaults by way of time. With Toucan, you may natively connect with datasets in Redshift Serverless, remodel the information with a no-code interface, construct storytelling visuals, and publish them for enterprise customers. The shark assaults visualization instance illustrates what you may obtain by following directions on this put up.
Moreover, we have now recorded a video tutorial that explains the best way to join Toucan with Redshift Serverless and begin constructing charts.
Answer structure
The next diagram depicts the structure of our answer.

We use an AWS CloudFormation stack to deploy all of the assets you want in your AWS account:
- Networking elements – This features a VPC, three public subnets, an web gateway, and a safety group to host the Redshift Serverless endpoint. On this put up, we use public subnets to facilitate knowledge entry from exterior sources corresponding to Toucan situations. On this case, the information in Redshift Serverless continues to be protected by the safety group that restricts incoming site visitors, and by the database credentials. For a manufacturing workload, it is strongly recommended to maintain site visitors within the Amazon community. For that, you may set the Redshift Serverless endpoints in personal subnets, and deploy Toucan in your AWS account by way of the AWS Market.
- Redshift Serverless elements – This features a Redshift Serverless namespace and workgroup. The Redshift Serverless workspace is publicly accessible to facilitate the connection from Toucan situations. The database identify and the administrator consumer identify are outlined as parameters when deploying the CloudFormation stack, and the administrator password is created in AWS Secrets and techniques Supervisor. On this put up, we use database credentials to hook up with Redshift Serverless, however Toucan additionally helps reference to AWS credentials and AWS Id and Entry Administration (IAM) profiles.
- Customized assets – The CloudFormation stack features a customized useful resource, which is an AWS Lambda perform that hundreds shark assaults knowledge mechanically in your Redshift Serverless database when the CloudFormation stack is created.
- IAM roles and permissions – Lastly, the CloudFormation stack contains all IAM roles related to providers beforehand talked about to work together with different AWS assets in your account.
Within the following sections, we offer all of the directions to attach Toucan along with your knowledge in Redshift Serverless, and information you to construct your knowledge storytelling software.
Pattern dataset
On this put up, we use a customized dataset that lists all identified shark assaults on the earth, ranging from 1900. You don’t need to import the information your self; we use the Amazon Redshift COPY command to load the information when deploying the CloudFormation stack. The COPY command is one the quickest and most scalable strategies to load knowledge into Amazon Redshift. For extra info, seek advice from Utilizing a COPY command to load knowledge.
The dataset accommodates 4,900 data with the next columns:
- Date
- 12 months
- Decade
- Century
- Sort
- Zone_Type
- Zone
- Nation
- Exercise
- Intercourse
- Age
- Deadly
- Time
- Species
- href (a PDF hyperlink with the outline of the context)
- Case_Number
Stipulations
For this answer, it is best to have the next conditions:
- An AWS account. In the event you don’t have one already, see the directions in Signal Up for AWS.
- An IAM consumer or function with permissions on AWS assets used on this answer.
- A Toucan free trial to construct the information storytelling software.
Arrange the AWS assets
You possibly can launch the CloudFormation stack in any Area the place Redshift Serverless is obtainable.
- Select Launch Stack to begin creating the required AWS assets for this put up:
- Specify the database identify in Redshift Serverless (default is
dev). - Specify the administrator consumer identify (default is
admin).
You don’t need to specify the database administrator password as a result of it’s created in Secrets and techniques Supervisor by the CloudFormation stack. The key’s identify is AWS-Toucan-Redshift-Password. We use the key worth in subsequent steps.
Check the deployment
The CloudFormation stack takes a couple of minutes to deploy. When it’s full, you may affirm the assets have been created. To entry your knowledge, it is advisable to get the Redshift Serverless database credentials.
- On the Outputs tab for the CloudFormation stack, word the identify of the Secrets and techniques Supervisor secret.

- On the Secrets and techniques Supervisor console, navigate to the Amazon Redshift database secret and select Retrieve secret worth to get the database administrator consumer identify and password.

- To verify your Redshift Serverless database is obtainable and accommodates the shark assaults dataset, open the Redshift Serverless workgroup on the Amazon Redshift console and select Question knowledge to entry the question editor.
- Additionally word the Redshift Serverless endpoint, which it is advisable to join with Toucan.

- Within the Amazon Redshift question editor, run the next SQL question to view the shark assaults knowledge:

Observe that it is advisable to change the identify of the database within the SQL question if you happen to change the default worth when launching the CloudFormation stack.
You could have configured Redshift Serverless in your AWS account and uploaded the shark assaults dataset. Now it’s time to make use of this knowledge by constructing a storytelling software.
Launch your Toucan free trial
Step one is to entry Toucan platform by way of the Toucan free trial.
Fill the shape and full the signup steps. You then arrive within the Storytelling Studio, in Staging mode. Be at liberty to discover what has been already created.

Join Redshift Serverless with Toucan
To attach Redshift Serverless and Toucan, full the next steps:
- Select Datastore on the backside of the Toucan Storytelling Studio.
- Select Connectors.
Toucan is natively built-in with Redshift Serverless with AnyConnect.
- Seek for the Amazon Redshift connector, and full the shape with the next info:
- Title – The identify of the connector in Toucan.
- Host – Your Redshift Serverless endpoint.
- Port – The listening port of your Amazon Redshift database (5439).
- Default Database – The identify of the database to hook up with (dev by default, until edited within the CloudFormation stack parameters).
- Authentication Methodology – The authentication mechanism to hook up with Redshift Serverless. On this case, we use database credentials.
- Consumer – The consumer identify to make use of for authentication with Redshift Serverless (admin by default, until edited within the CloudFormation stack parameters).
- Password – The password to make use of for authentication with Redshift Serverless (it is best to retrieve it from Secrets and techniques Supervisor; the key’s identify is
AWS-Toucan-Redshift-Password).

Create a dwell question
You at the moment are related to Redshift Serverless. Full the next steps to create a question:
- On the house web page, select Add tile to create a brand new visualization.

- Select the Stay Connections tab, then select the Amazon Redshift connector you created within the earlier step.

The Toucan trial guides you in constructing your first dwell question, in which you’ll remodel your knowledge with out writing code utilizing the Toucan YouPrep module.
As an illustration, as proven within the following screenshot, you should use this no-code interface to compute the sum of deadly shark assaults by actions, get the highest 5, and calculate the proportion of the whole.

Construct your first chart
When your knowledge is prepared, select the Tile tab and full the shape that helps you construct charts.
For instance, you may configure a leaderboard of the 5 most harmful actions, and add a spotlight for actions with greater than 100 assaults.
Select Save Adjustments to save lots of your work and return to the house web page.

Publish and share your work
Till this stage, you have got been working in working in Staging mode. To make your work accessible to everybody, it is advisable to publish it into Manufacturing.
On the underside proper of the house web page, select the attention icon to preview your work by placing your self within the sneakers of your future end-users. You possibly can then select Publish to make your work accessible to all.

Toucan additionally affords a number of embedding choices to make your charts simpler for end-users to entry, corresponding to cell and pill.

Following these steps, you related to Redshift Serverless, reworked the information with the Toucan no-code interface, and constructed knowledge visualizations for enterprise end-users. The Toucan trial guides you in each stage of this course of that can assist you get began.
Redshift Serverless and Toucan guided analytics present an environment friendly strategy to extend the adoption price of BI instruments by lowering infrastructure work for knowledge engineers, and by simplifying dashboard understanding for enterprise end-users. This put up solely lined a small a part of what Redshift Serverless and Toucan supply, so be happy to discover different functionalities within the Amazon Redshift Serverless documentation and Toucan documentation.
Clear up
A number of the assets deployed on this put up by way of the CloudFormation template incur prices so long as they’re in use. You should definitely take away the assets and clear up your work if you’re completed so as to keep away from pointless price.
On the CloudFormation console, select Delete stack to take away all assets.
Conclusion
This put up confirmed you the best way to arrange an end-to-end structure for guided analytics with Redshift Serverless and Toucan.
This answer advantages from the scalability of Redshift Serverless, which lets you retailer, remodel, and expose knowledge in a cost-efficient method, and with none infrastructure to handle. Redshift Serverless natively integrates with Toucan, a guided analytics software designed for use by everybody, on any machine.
Guided analytics focuses on speaking tales by way of knowledge studies. By setting intentional constraints on customization choices, Toucan makes it simple for knowledge house owners to construct significant dashboards with a transparent and concise message for end-users. It really works for each your inside and exterior prospects, on a limiteless variety of use circumstances.
Strive it now with our CloudFormation template and a free Toucan trial!
In regards to the Authors
Louis Hourcade is a Knowledge Scientist within the AWS Skilled Companies workforce. He works with AWS buyer throughout numerous industries to speed up their enterprise outcomes with progressive applied sciences. In his spare time he enjoys working, climbing massive rocks, and browsing (not so massive) waves.
Benjamin Menuet is a Knowledge Architect with AWS Skilled Companies. He helps prospects develop massive knowledge and analytics options to speed up their enterprise outcomes. Exterior of labor, Benjamin is a path runner and has completed some mythic races just like the UTMB.
Xavier Naunay is a Knowledge Architect with AWS Skilled Companies. He’s a part of the AWS ProServe workforce, serving to enterprise prospects remedy complicated issues utilizing AWS providers. In his free time, he’s both touring or studying about know-how and different cultures.
Django Bouchez is a Answer Engineer at Toucan. He works alongside the Gross sales workforce to supply assist on technical and practical validation and proof, and can also be serving to R&D demo new options with Cloud Companions like AWS. Exterior of labor, Django is a homebrewer and practices scuba diving and sport climbing.