Amazon Redshift Federated Query with Aurora MySQL

Amazon Redshift Federated Query with Aurora MySQL
Amazon Redshift Federated Query with Aurora MySQL

CLOUD LABS

Amazon Redshift Federated Query with Aurora MySQL

In this Cloud Lab, you’ll create an Aurora MySQL database and an Amazon Redshift cluster and insert some records in both databases. After that, you’ll execute a federated query that will bring the data from both databases.

9 Tasks

intermediate

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Understanding of Amazon Aurora DB and its core concepts
Working knowledge of creating an external schema of MySQL using the query editor
Hands-on experience setting up a Redshift cluster
The ability to execute a federated query using Amazon Redshift

Technologies
AWS logoAWS
Redshift
Aurora logoAurora
Aurora MySQL logoAurora MySQL
Federated Query
EC2 logoEC2
Cloud Lab Overview

Amazon Redshift is a fully managed data warehouse service that facilitates quick querying and analysis of extensive datasets using SQL. Amazon Redshift supports federated queries, allowing it to work with distributed data sources.

In this Cloud Lab, you’ll provision an EC2 instance and an Aurora DB cluster with a MySQL-compatible database. You’ll create a secret for the Aurora database that will establish a connection to the MySQL database. After that, you’ll create an IAM role to allow Redshift to access the Secrets Manager and launch a Redshift cluster. Finally, you’ll create an external schema of the Aurora database and execute a federated query on both databases.

After completing this Cloud Lab, you’ll have sufficient knowledge of working with the Aurora and Redshift databases and executing federated queries using the query editor.

The following is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab:

Architecture diagram
Architecture diagram
Cloud Lab Tasks
1.Introduction
Getting Started
2.EC2 and Aurora MySQL
Provision an EC2 Instance
Create the Aurora MySQL Cluster
3.Secrets Manager and Redshift
Create a Secret for Aurora DB
Create an IAM Role for Redshift
Launch a Redshift Cluster
Run a Federated Query
4.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image