Cost Explorer not matching CLI

0

I've written a small python program to extract glue run jobs. I'm extracting the run duration and using the following calculation to determine the cost. effective_duration = max(run_duration / 3600, 1 / 60). For the month of November I caculate the DPU run as 7.4 hours, where cost explorer calculates at 35.871 DPU-Hour. Even if I round each of the ExecutionTime to the closest minuite, it still doens't match. I'm searching between 2 dates in CLI. How can I get this to closely match?

Mark
已提问 6 个月前226 查看次数
1 回答
0

Hi Mark,

have you taken into account that there are minimum requirements for DPUs depending on the type of job. From https://aws.amazon.com/glue/pricing/

There are four types of AWS Glue jobs: Apache Spark, Apache Spark Streaming, Ray (Preview), and Python Shell. Spark and Spark Streaming job runs require a minimum of 2 DPUs. By default, AWS Glue allocates 10 DPUs to each Spark job and 2 DPUs to each Spark Streaming job. Jobs using AWS Glue version 0.9 or 1.0 have a 10-minute minimum billing duration, while jobs that use AWS Glue versions 2.0 and later have a 1-minute minimum.

And please note that you can always create a Billing support case, regardless of Support Plan: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-get-answers.html

profile pictureAWS
专家
已回答 6 个月前
profile picture
专家
已审核 6 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则