I ran an Athena query, it took 20 minutes to run and it scanned over 2 TB of data. Is it possible for me to find out the exact query cost in AWS itself? So not just the scan, but the complete:
sum = data_scan_cost + s3_cost(read) + s3_costs(write) 11 Answer
Cost is $5 per TB scanned; so this would cost you ~$10 in athena queries.
Without understanding how much data you wrote out to s3 we can't get an accurate read of that, but at .023/GB I imagine this is negligible. Put and get requests cost money, but for the context of this single query they're negligible.
All in, around $15 considering your ~2TB scanned is closer to 2.5.
4