AWS · Analytics

AWS Glue

Serverless data integration: a central Data Catalog, crawlers that discover schemas, and Spark-based ETL jobs that prepare data for analytics.

On the SAA-C03 exam listServerlessAutomation

What it is and what problem it solves

AWS Glue prepares and catalogues data for analytics:

  • The Glue Data Catalog holds table definitions (schemas, locations, partitions) used by Athena, Redshift Spectrum, EMR and Lake Formation.
  • Crawlers scan data stores and create or update catalog tables automatically.
  • ETL jobs (Apache Spark or Python) transform data, for example converting CSV to partitioned Parquet; visual authoring is available in Glue Studio.
  • Data Quality rules and DataBrew (visual data preparation) help clean data.
Raw data in S3CSV, JSON, logsGlue crawlerinfers schemaGlue Data Catalogtables, partitionsGlue ETL jobSpark, serverlessCurated S3Parquet, partitionedLake Formationwho sees which table, column, rowAthenaserverless SQLRedshift SpectrumEMRSparkAmazon Quickdashboards
A data lake on S3: Glue catalogs and transforms the data, Lake Formation governs access, many engines query it

When to use it

  • Building a data lake on S3 that several analytics services query.
  • Serverless ETL without managing Spark clusters.
  • Keeping schemas up to date automatically as data arrives.

When to avoid it

  • Long-running, highly customised big-data clusters with many open-source tools: EMR.
  • Real-time stream processing: Kinesis or Managed Service for Apache Flink.
  • Simple, small transformations a Lambda function can do cheaply.

Limits and quotas

ItemValueContextSource
Tables per account 1,000,000
Can be raised with a quota request
Source
checked
Jobs per account 2,000
Can be raised with a quota request
Source
checked
Crawlers per account 1,000
Can be raised with a quota request
150 running at once. Source
checked

Quotas and limits change. Check the linked source before designing around a number.

Cost model

What you pay for

ETL jobs, interactive sessions and crawlers per DPU-hour (billed per second); Data Catalog objects and requests beyond the free first million each; Data Quality, DataBrew and table optimisation billed separately.

Where it is cost-efficient

Short, efficient jobs and Flex execution for jobs that are not time-critical; crawlers run only when data changes.

Where costs grow

Over-allocated DPUs, crawlers scheduled too often over large datasets, and many small jobs with start-up overhead.

Cost controls and common surprises

Use auto scaling for jobs, job bookmarks to process only new data, Flex execution, and event-based crawlers.

Prices differ by Region and change over time; see the pricing page linked under Sources.

Security

Controls the service provides

IAM roles for jobs and crawlers, encryption of the Data Catalog and job outputs, VPC connections to private data stores.

What you configure

Give jobs least-privilege roles, encrypt the catalog and outputs, and manage table permissions with Lake Formation.

Logging and monitoring

Job logs to CloudWatch, CloudTrail, job run metrics.

Related security services

Lake Formation, KMS, S3, Athena.

Shared responsibility

AWS runs the serverless infrastructure. You secure data, roles and job code.

Common service combinations

S3 data lake, Athena and Redshift Spectrum using the catalog, Lake Formation governance, Step Functions orchestration, EventBridge triggers.

Business application examples

  • Nightly jobs convert raw JSON logs to partitioned Parquet for cheap Athena queries.

Exam cues and common confusions

  • Serverless ETL and a central metadata catalog: Glue.
  • Discover schemas automatically: Glue crawlers.
  • Convert CSV to Parquet to cut Athena costs: a Glue ETL job.

Related

Courses and lessons

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake