- Newest
- Most votes
- Most comments
Hello,
I hope this information helps, please check it out:
Reference:
- https://aws.amazon.com/about-aws/whats-new/2023/04/amazon-emr-serverless-job-billed-resources-cost-management/
- https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_GetJobRun.html
- https://aws.amazon.com/emr/pricing/
From there:
"With this feature, you can get a detailed view of the vCPU-hours, memoryGB-hours, and storageGB-hours consumed by an EMR serverless job on completion. Using this data and the pricing in each Region, you can accurately calculate the cost per job run. You can view these values both in the EMR Studio UI and the GetJobRun API."
Summary:
So according to this, the GetJobRun API returns billedResourceUtilization and totalResourceUtilization. Please note this information would be available once the job is completed, not while running.
Hello,
Thank you for writing on re:Post.
I see that you want to know how you can view the pricing information of the jobs being run in your application.
You can view the aggregated Billed resource utilization for each job within an EMR Serverless application, simplifying the cost calculation per job run. Please not that for now It only shows the calculation for a completed job run. [+] https://aws.amazon.com/about-aws/whats-new/2023/04/amazon-emr-serverless-job-billed-resources-cost-management/
You can also make use of GetJobRun API which will provide the usage details like below- "totalExecutionDurationSeconds": number, "totalResourceUtilization": { "memoryGBHour": number, "storageGBHour": number, "vCPUHour": number }
I hope I was able to address your query. Thanks and have a great day ahead!
Reference Links - [+] https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_GetJobRun.html [+] https://aws.amazon.com/emr/pricing/
Relevant content
- asked 10 days ago
- asked 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 6 months ago
- How do I install and troubleshoot Python libraries in Amazon EMR and Amazon EMR Serverless clusters?AWS OFFICIALUpdated 5 months ago