In this article13

Amazon Web Services (AWS) for data and analytics

Amazon Web Services (AWS) is a public cloud platform for building data and analytics systems that can grow with demand. It offers services for lakes, streaming, warehouses, BI and machine learning, from storing raw data to making it useful in decisions. This guide covers architecture, commonly used services, cost control and examples.

See data tools and technology or the full DataJobs.nl knowledge base for related guides.

Why use AWS for data and analytics?

  • Scale and flexibility: You can start with a small experiment and expand to multiple regions. Many services charge based on usage.
  • Range of services: AWS offers components for ingestion, storage, processing, orchestration, governance, AI and visualisation.
  • Serverless options: Event-driven ETL and ELT and interactive queries can run without you managing a cluster.
  • Security and governance: The platform provides identity management, encryption, data classification and access controls.
  • Open formats and integrations: Open table formats and connectors can support hybrid and multi-cloud environments.

Reference architecture from source to analysis

An AWS data platform can follow a lakehouse pattern. A central data lake uses object storage, and separate services handle batch processing, streaming and interactive queries. A warehouse can support BI and reports, while machine learning services support modelling.

  1. Ingestion: Load files, databases and SaaS data in batches, and events, logs or IoT data in real time.
  2. Storage and metadata: Organise the lake into raw, enriched and prepared data, with a catalogue and governance.
  3. Processing: Run ETL or ELT, transformations and quality checks. Orchestrate the work.
  4. Querying and serving: Provide interactive SQL, warehousing, search and analytics, and serve results through APIs.
  5. Machine learning, AI and visualisation: Develop models, run inference and provide dashboards or embedded analytics.
  6. Operations: Manage security, monitoring, costs and DevOps and MLOps.

AWS services by layer

Layer

Purpose

Example AWS services

Ingestion

Batch or streaming data ingestion

Kinesis Data Streams, Amazon Data Firehose (formerly Kinesis Data Firehose), MSK (Managed Streaming for Apache Kafka), Database Migration Service, Transfer Family, API Gateway

Storage

Data lakes and raw storage

Amazon S3 for versioning and lifecycle rules, Glacier for archives, EFS for POSIX file access, FSx

Metadata and governance

Catalogue, policies and access

Glue Data Catalog, Lake Formation, IAM, KMS for encryption

Processing

ETL and ELT, batch and streaming

AWS Glue for ETL, EMR for Spark and Hadoop, Lambda for serverless processing, ECS or Fargate, EKS for Kubernetes, Step Functions for orchestration

Querying and warehousing

Interactive SQL and BI

Amazon Athena for serverless SQL on S3, Amazon Redshift including Serverless, Redshift Spectrum

Databases

Operational workloads

Aurora and RDS for relational data, DynamoDB for NoSQL, OpenSearch for search and analysis, Neptune for graphs

Machine learning and generative AI

Building, training and serving models

Amazon SageMaker for MLOps, Amazon Bedrock for foundation models and generative AI, AI services for tasks such as translation and speech

Visualisation

Dashboards and self-service analysis

Amazon QuickSight, now AWS Quick Sight, for SPICE and embedded BI, and QuickSight Q for natural language queries

Observability

Monitoring, logging and audit

CloudWatch, CloudTrail, OpenTelemetry integrations

FinOps

Cost monitoring and optimisation

Cost Explorer, AWS Budgets, Compute Optimizer, Trusted Advisor

Practices for maintaining a data platform

1) Choose storage and table formats

  • Use columnar formats such as Parquet or ORC and open table formats that support ACID transactions and schema evolution, such as Apache Iceberg or Delta-style tables. These can support queries against earlier versions.
  • Keeping storage in S3 separate from compute in services such as Athena, EMR or Redshift gives you more control over how you scale and pay for them.

2) Plan orchestration and data quality

  • Define ETL and ELT workflows in Step Functions or Glue Workflows and put transformations under version control.
  • Automate quality checks for schemas, missing values and reference rules and track lineage for audits.

3) Build security into the design

  • Grant the minimum permissions needed through IAM roles and resource policies. Encrypt data at rest with S3 and KMS and use TLS for transport.
  • Use Lake Formation for column- and row-level access, CloudTrail for audit logs and secrets management for credentials.

4) Manage costs

  • Use storage lifecycle rules, for example to move S3 data into Glacier, and partition datasets so Athena can scan only the relevant records.
  • Use serverless services where appropriate, such as Athena, Redshift Serverless or Lambda. Set budget alerts and tag resources to report or allocate costs.

5) Run machine learning and generative AI in production

  • Use SageMaker for experiments, feature stores, pipelines and batch or real-time deployments.
  • Consider Bedrock for prompts, retrieval-augmented generation and agents, with controls for data isolation.

Example uses

  • A data lake or lakehouse: Use a central S3 lake with Glue for the catalogue, Athena or EMR for queries and Lake Formation for governance.
  • Data warehousing and BI: Use Redshift or Redshift Serverless as the analytical serving layer and QuickSight for dashboards. Share datasets with teams.
  • Real-time analytics: Ingest streams with Kinesis or MSK, use Lambda or Glue Streaming to process them and track measures with little delay.
  • Machine learning and generative AI: Prepare features from data in S3, train in SageMaker and serve models through endpoints. Use Bedrock for RAG and assistants.
  • Search and log analysis: Use OpenSearch to analyse logs, monitor applications and support semantic search.

Choosing Athena, Redshift or both

Athena supports ad hoc queries against S3 without a cluster to maintain. With on-demand pricing, you pay based on the data scanned. Redshift supports regular BI workloads, large joins and simultaneous queries, with materialised views and workload management. You can combine them, exploring raw data in Athena and using prepared models with defined service levels in Redshift.

Data modelling and governance

  • Data layers: Organise each domain into raw, cleaned and standardised, and curated data. Use a catalogue and clear names to help people find it.
  • Domain ownership (data mesh): Teams maintain their own data products within common governance rules.
  • Privacy and compliance: Classify personal information, use tokenisation or mask data at row or column level, and control how it is shared.

Improving query performance

  • Partitioning and predicate pushdown: To reduce the data scanned and improve query speed in Athena or Redshift Spectrum, organise files and filter records early.
  • Compression and keys: Use columnar compression such as Parquet, choose Redshift sort and distribution keys where relevant and consider automatic table optimisation.
  • Caching: Use QuickSight SPICE for dashboards, query result reuse in Athena and result caching in Redshift.

When another architecture may suit the workload

  • Requirements may restrict workloads to on-premises systems without cloud connectivity.
  • If vendor lock-in is a major concern, use open formats, orchestration tools you can move between environments and infrastructure as code.

Getting started

  1. Choose goals and measures: Agree on measures such as time to results, cost per report and data quality.
  2. Build a minimum viable platform (MVP): Start with S3, a catalogue, Athena and simple orchestration. Add governance and CI/CD.
  3. Scale up: Add Redshift, streaming, MLOps and cost management as needed. Decide who owns each data product.
  4. Help people adopt the platform: Train data engineers, analysts and product teams in the skills they need.

Related guides

Frequently asked questions (FAQ)

Can small and large organisations use AWS?

Yes. You can start with serverless services and introduce dedicated clusters and organisation-wide governance as volumes and teams grow.

How do a data lake and a data warehouse differ on AWS?

A data lake in S3 stores different kinds of data and supports exploratory analysis and machine learning. A data warehouse such as Redshift is designed for structured, recurring BI workloads and many simultaneous queries.

How do I control costs?

Use columnar formats, partitioning, lifecycle rules and serverless services where appropriate. Set budgets and alerts, monitor usage and attribute costs to teams through tags.

Can I use generative AI on AWS with my own data?

Yes. You can use retrieval-augmented generation to connect Bedrock to your data lake and use Lake Formation, IAM and KMS to manage access and encryption.

Vacancies for data and analytics specialists

See all current vacancies on DataJobs.nl here