Create detailed cost and usage reports for Amazon EMR clusters by using AWS Cost Explorer
Created by Parijat Bhide (AWS) and Aromal Raj Jayarajan (AWS)
Environment: Production | Technologies: Cost management; Analytics; Big data | AWS services: AWS Billing and Cost Management; Amazon EMR |
Summary
This pattern shows how to track the usage costs of Amazon EMR clusters by configuring user-defined cost allocation tags. You can use these tags to create detailed cost and usage reports in AWS Cost Explorer for clusters 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 EMR clusters that have user-defined tags activated
Architecture
Target technology stack
Amazon EMR
AWS Cost Explorer
Target architecture
The following diagram shows how you can apply tags to track usage costs for specific Amazon EMR clusters.
The diagram shows the following workflow:
A data engineer or AWS administrator creates user-defined cost allocation tags for the Amazon EMR clusters.
An AWS administrator activates the tags.
The tags report metadata to AWS Cost Explorer.
Tools
Tools
Amazon EMR is a managed cluster platform that simplifies running big data frameworks on AWS to process and analyze large amounts of data.
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 Amazon EMR clusters. | To add tags to an existing Amazon EMR cluster Follow the instructions in Adding tags to an existing cluster in the Amazon EMR Management Guide. To add tags to a new Amazon EMR cluster Follow the instructions in Add tags to a new cluster in the Amazon EMR Management Guide. For more information about how to set up an Amazon EMR cluster, see Plan and configure clusters in the Amazon EMR Management 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 Amazon EMR clusters 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 |