Docs / Diagram examples

AWS ETL data pipeline diagram template, as JSON

For data teams on AWS, this template shows how data reaches the reports, in six numbered sections with AWS's own icons. The work is often called ETL: extract the data, transform it, and load it where people can query it.

Updated

AWS Data Ingestion with MWAA

AWS Data Ingestion with MWAA. Drawn by open-diagram 0.6.2 from templates/aws_etl.json: 0 layout problems. Open in the editor · Source

The picture as text
AWS Data Ingestion with MWAA
Solid lines: data and metadata. Dashed lines: mwaa task control.

Blocks, left to right:
- ETL orchestration (Amazon MWAA)
- API extractor (AWS Lambda)
- SaaS extractor (AWS Lambda)
- Database extractor (AWS Lambda)
- Raw landing (Amazon S3)
- Transform + validate (AWS Glue)
- Table metadata (Glue Data Catalog)
- Curated Parquet (Amazon S3)
- Analytics SQL (Amazon Athena)
- Business dashboards (Amazon QuickSight)
Groups:
- 01  Orchestrate: ETL orchestration
- 02  Extract: API extractor, SaaS extractor, Database extractor
- 03  Land: Raw landing
- 04  Transform: Transform + validate
- 05  Curate + catalog: Curated Parquet, Table metadata
- 06  Query + visualize: Analytics SQL, Business dashboards
- AWS account / Data platform (Logical service sections; networking and IAM omitted): ETL orchestration, API extractor, SaaS extractor, Database extractor, Raw landing, Transform + validate, Curated Parquet, Table metadata, Analytics SQL, Business dashboards
Lines:
- API extractor -> Raw landing
- SaaS extractor -> Raw landing
- Database extractor -> Raw landing
- Raw landing -> Transform + validate, labeled "read"
- Transform + validate -> Curated Parquet, labeled "Parquet"
- Curated Parquet -> Analytics SQL, labeled "query"
- Analytics SQL -> Business dashboards, labeled "results"
- Curated Parquet -> Table metadata, labeled "register"
- Table metadata -> Analytics SQL, labeled "schema"
- ETL orchestration -> API extractor (dashed line)
- ETL orchestration -> SaaS extractor (dashed line)
- ETL orchestration -> Database extractor (dashed line)
- ETL orchestration -> Transform + validate, labeled "after extraction" (dashed line)

What does this ETL diagram show?

Three extractors on AWS Lambda take data from an API, an online software service and a database, and save it raw in S3. AWS Glue transforms and validates it and writes Parquet files, a file format for tables, back to S3, where the Glue Data Catalog registers them. Athena queries them, and QuickSight turns the results into dashboards. Amazon MWAA directs each extractor, and the transform "after extraction".

What makes this template different from the others?

It has two kinds of line, and its sections are drawn as panels.

  • Solid lines carry data and metadata, and dashed lines carry task control. theme.link_labels names both kinds, and each control line has "kind": "control", "dash": "dashed".
  • Each numbered section is an enclosure with "style": "panel", which gives it the sloped top and filled header of an open-diagram panel, here in soft yellow.
  • The theme sets a cream page, and "legend": false turns the key off.
  • Each control line runs at its own via_x distance, so they do not overlap. Three run down the left; the one to the Glue transform leaves on the right.

This cut-down version keeps the key on, so it explains the dashed line:

{
  "title": "Two sections of an ETL picture",
  "theme": {"link_labels": {"flow": "Data", "control": "Task control"}},
  "resources": [
    {"id": "mwaa", "label": "ETL orchestration", "sub": "Amazon MWAA", "icon": "aws/mwaa", "x": 0, "y": 0},
    {"id": "api", "label": "API extractor", "sub": "AWS Lambda", "icon": "aws/lambda", "x": 0, "y": 240},
    {"id": "raw", "label": "Raw landing", "sub": "Amazon S3", "icon": "aws/s3", "x": 300, "y": 240}
  ],
  "enclosures": [
    {"id": "extract", "label": "01  Extract", "members": ["api"], "border": "solid", "style": "panel", "tone": "accent"},
    {"id": "land", "label": "02  Land", "members": ["raw"], "border": "solid", "style": "panel", "tone": "accent"}
  ],
  "links": [
    {"from": "mwaa", "to": "api", "kind": "control", "dash": "dashed", "start": "left", "end": "left", "via_x": -36},
    {"from": "api", "to": "raw", "label": "objects"}
  ]
}
Two sections of an ETL picture

The check: 0 layout problems

How do I start from this template?

After pip install open-diagram:

  1. Run open-diagram new aws_etl. It writes aws_etl.json in the current folder, and replaces an existing file only if you add --force.
  2. Change each label to your own words, and keep each sub.
  3. Run open-diagram check aws_etl.json. If it names a resource, change that resource's x and y.
  4. Run open-diagram draw aws_etl.json.

Where do the icons come from, and may I use them?

They are Amazon Web Services' architecture icons, unchanged, from one fixed version of theSVG catalog, which lists them as CC BY-ND 2.0. QuickSight is missing from that version, so its icon is a PNG from the AWS Labs 2025 icon release, with that project's license file beside it. Amazon owns the artwork and its trademarks. open-diagram's MIT license does not cover the icons. Keep their credits, source links and license notices when you share the pictures.

See also