2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Hi,
To compute the actual cost you need to look at the column charged_seconds
instead of compute_seconds
. Here's an updated query:
select
date_trunc('day', start_time) usage_date,
sum(compute_seconds) total_compute_seconds,
sum(compute_seconds)/(60*60) total_compute_hours,
sum(charged_seconds) total_charged_dpu_seconds,
sum(charged_seconds)/(60*60) total_charged_dpu_hours,
total_charged_dpu_hours*0.36 total_compute_cost
from sys_serverless_usage
group by date_trunc('day', start_time);
The difference between both columns is that charged_seconds
is compute_seconds
multiplied by the RPUs used, and rounded up to a minute.
Hope this helps, Fran
beantwortet vor 6 Monaten
-1
Hi there,
I'm sorry to hear about this frustrating experience.
Our Billing team can look into this for you. I would recommend creating a support case here: http://go.aws/support-center.
Hope this helps,
— Aimee K.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 3 Jahren