AWS Data Services: Kinesis, S3, Glue, Athena, Redshift
Follow an order event from Kinesis Data Streams through S3 to Athena or Redshift, adding Glue when transformation or shared catalog metadata helps.
Follow one order event from ingestion through S3 to SQL analysis. Add Glue when transformation or shared table metadata helps, then choose Athena or Redshift based on the query workload.
AWS Data Services: Kinesis, S3, Glue, Athena, Redshift
This guide follows one order event from ingestion to analysis for engineers choosing AWS services for a data pipeline. The example starts with an event such as {"orderId":"o-417","event":"OrderAccepted","occurredAt":"2026-11-05T14:12:00Z","schemaVersion":1}.
One possible path is: order service → Kinesis Data Streams → S3 delivery via a consumer or Firehose → raw S3 data → optional Glue transform → curated S3 data → Athena or Redshift. Stop where the data is ready for the questions your team needs to answer.
Follow one event through the pipeline
1. Use Kinesis Data Streams when events need to be read as a stream
The order service writes records to Kinesis Data Streams when consumers need to react soon after an order arrives, or when more than one application needs to read the same stream independently. For example, one consumer can build a near-real-time operations view while another archives records for later analysis. AWS describes Kinesis Data Streams as a service for continuous record ingestion and processing.
Data Streams and Amazon Data Firehose are separate services. Firehose is a managed delivery option: producers can send it records directly, or it can read an existing Kinesis Data Stream, buffer records, and deliver them to a destination such as S3. Use Data Streams when applications need to consume and process records from the stream. Consider Firehose when managed delivery to a destination is enough and its buffering behavior fits the latency you need. Firehose is not another name for Data Streams.
A stream is not a permanent archive. Configure its retention for the replay window you need, then keep long-lived source data in S3.
2. Land raw and curated data in S3
Write the original event records to a raw S3 prefix, such as s3://orders-analytics/raw/orders/. That gives later consumers a source copy they can inspect or process again while the records remain under your retention policy. If transformations produce a different schema or file layout, write the result to a separate curated prefix, such as s3://orders-analytics/curated/orders/.
Keep the two paths distinct. A query against raw data can answer “what did the producer send?”; a curated table is easier to use for reporting, but it reflects whatever cleanup or filtering the pipeline applied. Set access, encryption, and retention for the sensitivity and replay needs of the data. For more about raw and curated storage patterns, see Data Lake Architecture.
3. Add Glue when the data needs a transformation or shared catalog
An AWS Glue ETL job can normalize event fields, filter records, remove duplicates according to your event rules, or write a query-friendly format to the curated prefix. Glue is useful when those steps are part of the pipeline; it is not a required hop for every dataset.
The Glue Data Catalog stores table metadata such as a dataset’s schema and S3 location. You can define a table yourself or use a crawler to discover metadata. Athena can use the catalog to find tables over S3 data. See AWS’s guide to data discovery and cataloging in Glue.
If the records are already in a format your query tool can read and no cleanup is needed, skip the ETL job. A catalog entry may still help teams share table definitions, but that choice is separate from running a transformation.
4. Query S3 with Athena for interactive SQL
Athena is a good fit when an engineer or analyst wants to ask occasional SQL questions directly against data in S3: count accepted orders by day, find events with an unfamiliar status, or check whether a feed stopped arriving. It integrates with the Glue Data Catalog, but the query reads the S3 data rather than loading it into a dedicated Athena warehouse. AWS recommends Athena for interactive, ad hoc SQL on S3.
5. Choose Redshift when the work is warehouse-style
Use Amazon Redshift when the team repeatedly joins structured data from orders, customers, inventory, or finance and serves consistent reports through BI tools. That work benefits from a curated warehouse and a shared data model. An occasional inspection of files in S3 does not need to become a warehouse project. AWS describes Redshift as a cloud data warehouse, while Athena’s service guidance recommends it for ad hoc queries on S3.
A compact service chooser
| Need | Start with | Why |
|---|---|---|
| Low-latency record processing or multiple independent consumers | Kinesis Data Streams | Applications read records from the stream and can process the same feed independently. |
| Managed delivery from producers or a stream to S3 or another supported destination | Amazon Data Firehose | It buffers and delivers data without requiring you to write the delivery application. |
| Durable object storage for source events and transformed files | Amazon S3 | Keep raw and curated objects separate; set access and retention for each. |
| Reusable schema metadata or repeatable transformations | Glue Data Catalog, with Glue ETL if needed | The catalog describes tables and locations; ETL jobs transform the data. |
| Interactive SQL against files in S3 | Athena | Useful for questions that do not justify loading data into a warehouse. |
| Repeated, structured joins and BI reporting | Amazon Redshift | Use a warehouse when modeled data and repeated analytical queries justify it. |
Use only the parts the data needs. A small pipeline may be S3 plus Athena. Add Kinesis Data Streams when consumers need stream behavior; add Glue ETL when data needs preparation; introduce Redshift when reporting needs a warehouse. Some workloads use only one or two of these services.
Plan around the workload, not a copied quota table
Quotas depend on the service and may differ by Region or account. Costs come from current rates and how much data you ingest, store, transform, and query. This guide omits fixed shard counts, job timeouts, node sizes, and cost estimates because they age quickly and can be mistaken for a recommendation. The official Athena quotas and Glue quotas pages were checked on November 5, 2026. Review current limits for the target account and Region, then estimate cost using the expected event volume, storage period, transformation frequency, and query concurrency.
For a test, send a representative set of order events through the path you intend to run. Check that the raw records arrive, the curated schema matches the event version, and an Athena query returns the expected order counts. Watch for growing stream consumer delay, failed transformations, missing catalog partitions, and queries that scan more data than expected. These signals call for targeted fixes. A growing consumer delay may mean the reader needs attention, while a missing catalog partition points to metadata or job output. Scaling every service at once can make the cause harder to find.
Where to continue
For the compute that runs producers and consumers, see AWS Compute Choices for DevOps Workloads. The Kafka Streams guide covers a different streaming-processing model. For broader storage and warehouse design, continue with Data Lake Architecture and Data Warehouse Architecture.
Category
Related Posts
Azure Data Pipelines with Event Hubs and Synapse
Follow live events and scheduled data through Azure processing, Data Lake Storage Gen2, and Synapse, with a clear choice between stream and batch paths.
Data Migration: Strategies and Patterns for Moving Data
Plan data movement between systems with CDC, staged cutovers, validation gates, and recovery paths. Learn where schema migration is a separate concern.
GCP Data Services: Dataflow, BigQuery, and Pub/Sub
Build Google Cloud data pipelines with Pub/Sub, Dataflow, BigQuery, and Cloud Storage; monitor lag and recover streaming data gaps.