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.
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.
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
| Item | Value | Context | Source |
|---|---|---|---|
| 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
- Data lakes: S3, AWS Glue, Athena and Lake Formation · AWS Solutions Architect – Associate (SAA-C03) · Members
Services, comparisons and patterns
- Amazon Athena · Service
- AWS Lake Formation · Service
- Amazon S3 · Service
- Amazon EMR · Service
- Amazon Redshift · Service
- Athena vs Redshift vs EMR · Comparison
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.