ladderlore
请求新指南
  • 输入服务名称,例如 S3 或 IAM。

服务 · Analytics · 基于 SAA-C03

AWS Glue

Glue job types, DynamicFrames, bookmarks, workers and triggers for serverless data transformation.

本课尚未翻译,暂以英文显示。

你在Solutions Architect Associate中已学过

  • Glue is serverless ETL: crawlers fill the Data Catalog and jobs run Spark.
  • Job bookmarks remember what a job has processed.
  • A typical job turns CSV or JSON into partitioned Parquet.
阅读Solutions Architect Associate课程
  • Spark

    Runs
    Batch Spark on workers
    Use for
    Large transforms
  • Spark streaming

    Runs
    Continuous micro-batches
    Use for
    Kinesis or Kafka input
  • Python shell

    Runs
    One small node
    Use for
    Light scripts and checks
  • Ray

    Runs
    Distributed Python
    Use for
    Closed to new customers since April 30, 2026
Four job types. Ray is closed to new customers.

1 / 2

  • Spark

    Runs
    Batch Spark on workers
    Use for
    Large transforms
  • Spark streaming

    Runs
    Continuous micro-batches
    Use for
    Kinesis or Kafka input
  • Python shell

    Runs
    One small node
    Use for
    Light scripts and checks

2 / 2

  • Ray

    Runs
    Distributed Python
    Use for
    Closed to new customers since April 30, 2026
Four job types. Ray is closed to new customers.
Glue workflow
Trigger
Crawler
ETL job
Quality check
Parquet in S3
  1. 1A schedule or event trigger starts the workflow.
  2. 2A crawler updates the catalog with new files.
  3. 3The ETL job transforms the data.
  4. 4A data quality check validates the result before it is used.
A workflow chains a trigger, a crawler, a job and a check.

分步说明

  1. 1A schedule or event trigger starts the workflow.
  2. 2A crawler updates the catalog with new files.
  3. 3The ETL job transforms the data.
  4. 4A data quality check validates the result before it is used.

A workflow chains a trigger, a crawler, a job and a check.

是什么

Pick the job type by the work. A Spark job transforms large batch data. A Spark streaming job reads Kinesis or Kafka continuously. A Python shell job runs a plain Python script on one small node, for light tasks. A Ray job runs distributed Python. Status as of 2026-11-25: AWS closed Glue for Ray to new customers on April 30, 2026. Existing users can keep using it, and AWS suggests Ray on Amazon EKS for new work. Glue Studio builds jobs visually and generates the script, and you can edit it.

是什么

Glue extends Spark with the DynamicFrame. Unlike a Spark DataFrame, it needs no fixed schema up front: each record describes itself, and a column with mixed types becomes a choice type that you resolve with a cast. You can convert between the two. Job bookmarks need a transformation context on each source, and they track processed files or rows so a rerun reads only new data.

是什么

Capacity is counted in data processing units (DPUs). One DPU is 4 vCPUs and 16 GB. A G.1X worker is 1 DPU and a G.2X worker is 2 DPUs, and memory-heavy R workers exist for large shuffles. Auto scaling adds workers up to the maximum you set. The Flex execution class runs non-urgent jobs on spare capacity at a lower price. Triggers start jobs on a schedule, on demand, or when another job or crawler finishes. A workflow groups crawlers, jobs and triggers into one graph you can run and watch. Step Functions suits larger orchestration.

要记住

  • Job types: Spark, Spark streaming, Python shell. Ray exists but is closed to new customers.
  • DynamicFrame: self-describing records, choice types for mixed columns.
  • Bookmarks: process only new data, and they need a transformation context.
  • One DPU is 4 vCPUs and 16 GB. G.1X is 1 DPU, G.2X is 2.

要记住

  • Flex execution class: lower price for non-urgent jobs.
  • Triggers start jobs. Workflows chain crawlers, jobs and triggers.

考试中

  • “Messy data where a column holds numbers and text” points to a Glue DynamicFrame with a resolveChoice cast.
  • “Run a nightly job at a lower price when timing is flexible” points to the Glue Flex execution class.
  • “Process only the files added since the last run” points to job bookmarks.