Lesson 12 of 13 Amazon Redshift

Replicating Operational Data with Zero-ETL Integrations

This lesson explains how zero-ETL integrations replicate data from operational databases into Redshift continuously, with no pipeline to build or maintain.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe how a zero-ETL integration replicates data.
  • Identify the supported sources and targets.
  • Choose between zero-ETL and AWS DMS.

How zero-ETL works

A zero-ETL integration connects a source, such as an Aurora database, to Amazon Redshift and replicates its tables continuously. After an initial full load, changes in the source are applied in Redshift within seconds, including schema changes such as new columns. There are no AWS Glue jobs, AWS DMS tasks or Kafka connectors to build, schedule, monitor or repair.

This has two benefits. Analytics run on fresh data without anyone building a pipeline, and analytical queries no longer run against the operational database, so they cannot slow down the application that depends on it. In Redshift, the replicated tables can be queried directly, joined with other warehouse data and used as the source for materialised views.

Sources and targets

A zero-ETL integration replicates data from a source into an analytics service automatically and continuously, with no pipeline to build or operate. The main sources are Aurora MySQL and Aurora PostgreSQL, RDS for MySQL and other RDS engines where supported, all replicating into Amazon Redshift. Amazon DynamoDB can replicate into Redshift or into OpenSearch Service, for analytics or search on table data. Some SaaS applications, such as Salesforce, replicate through Glue into Redshift or SageMaker Lakehouse. The following table summarises the principal integrations.

SourceTarget
Aurora MySQL, Aurora PostgreSQLAmazon Redshift
RDS for MySQL and other RDS engines where supportedAmazon Redshift
Amazon DynamoDBAmazon Redshift, Amazon OpenSearch Service
Some SaaS applications, such as SalesforceAmazon Redshift or SageMaker Lakehouse through Glue

Zero-ETL or DMS?

Both zero-ETL and AWS DMS replicate operational data, and the choice depends on support and flexibility. Zero-ETL is the answer when the source and target are a supported pair and the requirement stresses the least operational overhead, because there are no replication instances or tasks to manage. AWS DMS is needed when the source or target is not supported by zero-ETL, when data must be transformed or filtered during replication, or when changes must be delivered to S3, Kinesis or MSK rather than to Redshift. The following table summarises the choice.

ChooseWhen
Zero-ETLThe source and target are supported and the least operational overhead is required
AWS DMSOther sources or targets, transformations during replication, or changes needed in S3, Kinesis or MSK
Sort into groups

Zero-ETL or DMS?

Exam skills 2.1.5 · 1.1.2

Choose zero-ETL or AWS DMS for each requirement.

Log in to try this activity Interactive activities are free with an account.
Worked example

A retailer's orders are in Aurora PostgreSQL. Analysts need dashboards in Redshift that are no more than a minute behind, and the team does not want to maintain ETL jobs.

Hourly COPY from exports would not meet the freshness requirement, and DMS with CDC would add infrastructure to run. An Aurora zero-ETL integration with Redshift replicates changes continuously with no pipeline to maintain.

Check yourself

Which sources can replicate to Redshift through zero-ETL integrations?

Show answer

Aurora, RDS and DynamoDB, with no pipeline to build or run.

Exam Tips

Remember for the exam

  • Zero-ETL replicates Aurora, RDS and DynamoDB to Redshift with no pipeline.
  • Near-real-time analytics on Aurora with the least overhead points to zero-ETL.
  • Zero-ETL removes analytical load from the operational database.
  • Use DMS where zero-ETL does not support the source or target.
  • DynamoDB zero-ETL also targets OpenSearch Service.