Create detailed cost and usage reports for AWS Glue jobs by using AWS Cost Explorer
Created by Parijat Bhide (AWS) and Aromal Raj Jayarajan (AWS)
Environment: Production | Technologies: Cost management; Analytics | AWS services: AWS Billing and Cost Management; AWS Glue |
Summary
This pattern shows how to track the usage costs of AWS Glue data integration jobs by configuring user-defined cost allocation tags. You can use these tags to create detailed cost and usage reports in AWS Cost Explorer for jobs across multiple dimensions. For example, you can track usage costs at the team, project, or cost center level.
Prerequisites and limitations
Prerequisites
An active AWS account
One or more AWS Glue jobs that have user-defined tags activated
Architecture
Target technology stack
AWS Glue
AWS Cost Explorer
The following diagram shows how you can apply tags to track usage costs for AWS Glue jobs.
The diagram shows the following workflow:
A data engineer or AWS administrator creates user-defined cost allocation tags for the AWS Glue jobs.
An AWS administrator activates the tags.
The tags report metadata to AWS Cost Explorer.
Tools
AWS Glue is a fully managed extract, transform, and load (ETL) service. It helps you reliably categorize, clean, enrich, and move data between data stores and data streams.
AWS Cost Explorer helps you view and analyze your AWS costs and usage.
Epics
Task | Description | Skills required |
---|---|---|
Create user-defined cost allocation tags for your AWS Glue jobs. | To add tags to an existing AWS Glue job
To add tags to a new AWS Glue job
Note: For more information, see AWS tags in AWS Glue in the AWS Glue Developer Guide. | Data engineer |
Activate the user-defined cost allocation tags. | Follow the instructions in Activating user-defined cost allocation tags in the AWS Billing User Guide. | AWS administrator |
Task | Description | Skills required |
---|---|---|
Create cost and usage reports for your AWS Glue jobs by using tag filters in AWS Cost Explorer. |
For more information, see Exploring your data using Cost Explorer in the AWS Cost Management User Guide. | General AWS, AWS administrator |