Choosing Analytics Services for Common Data Tasks
This lesson explains how to choose the typical AWS service for each thing a company wants to do with its data: collect it, store it cheaply, query it, transform it, search it or show it on dashboards.
Learning outcomes
After completing this lesson, you will be able to:
- Identify the typical service for each stage of an analytics pipeline.
- Distinguish similar analytics services, such as Amazon Athena and Amazon Redshift.
A typical analytics pipeline
An analytics pipeline moves data from where it is created to the people who use it, and each stage has a typical service. Streaming data, such as clicks, logs and IoT readings, is collected by Amazon Kinesis Data Streams or delivered by Amazon Data Firehose. It is stored cheaply in Amazon S3, which acts as a data lake. AWS Glue catalogues and transforms the data.
The data is then analysed in several ways: Amazon Athena queries it in S3 with SQL and no servers, Amazon Redshift provides a data warehouse for fast analysis of structured data, Amazon EMR processes big data with Spark or Hadoop, and Amazon OpenSearch Service searches and analyses logs and text. Amazon Quick Sight presents results as dashboards. The following table traces the stages.
| Step | Service |
|---|---|
| Collect streaming data (clicks, logs, IoT) | Amazon Kinesis Data Streams, Amazon Data Firehose |
| Store large amounts of data cheaply (a data lake) | Amazon S3 |
| Catalog and transform data (ETL) | AWS Glue |
| Query data in S3 with SQL, no servers | Amazon Athena |
| Data warehouse for fast analytics on structured data | Amazon Redshift |
| Process big data with Spark or Hadoop | Amazon EMR |
| Search and analyse logs and text | Amazon OpenSearch Service |
| Dashboards and business intelligence | Amazon Quick Sight |
Telling similar services apart
Several analytics services have similar purposes and are easily confused. The following list explains how to distinguish them.
- Athena versus Redshift: Athena queries files in S3 on demand, paying per query; Redshift is a data warehouse for frequent, complex queries on loaded data.
- Glue versus EMR: Glue is serverless ETL with a data catalogue; EMR runs big data frameworks such as Spark with more control.
- Kinesis Data Streams versus Firehose: Data Streams for custom real-time processing; Firehose loads streaming data into S3, Redshift or OpenSearch with no code.
- OpenSearch versus CloudWatch Logs: OpenSearch for full-text search and log analytics at scale; CloudWatch Logs for collecting and monitoring application logs.
Similar analytics services
A company stores years of CSV and JSON files in Amazon S3 and wants analysts to run occasional SQL queries on them without managing any infrastructure or loading the data. Which service should it use?
Amazon Athena, which queries data in S3 with standard SQL and charges per query. Redshift would require loading data into a warehouse; EMR requires clusters.
Which service creates business intelligence dashboards for business users?
Show answer
Amazon Quick Sight.
Exam Tips
Remember for the exam
- S3 stores the data lake; Glue catalogues and transforms; Athena queries with SQL.
- Redshift is the data warehouse; EMR runs Spark and Hadoop.
- Kinesis collects streams; Firehose delivers them with no code.
- OpenSearch searches and analyses logs and text.
- Quick Sight builds dashboards.