Lesson 7 of 10Platform levers3 min read

EMR Serverless and EMR on EKS: how Spark is billed

EMR on EKS bills the vCPU and memory your jobs request, so over-requesting is a cost. EMR Serverless bills the vCPU, memory and storage jobs consume, so idle cluster time leaves the bill but slow jobs do not. Which accelerators are documented on these models varies, so check each vendor's own pages.

By The Meter DeskSpark Cost ComparePublished

How is EMR on EKS priced?

AWS's EMR pricing page describes EMR on EKS as priced on the vCPU and memory resources your jobs request. Spark on Kubernetes asks for executor and driver pods with set CPU and memory; the request, not the use, is what EMR on EKS charges for, on top of the Kubernetes nodes themselves.

The practical consequence: generous executor memory settings, left over from an old incident, cost money on every run. Right-sizing requests is a lever here in a way it is not on a classic cluster, where you pay for whole instances regardless.

How is EMR Serverless priced?

AWS states that with EMR Serverless "you pay for the amount of vCPU, memory, and storage resources consumed". Workers range from 1 to 16 vCPU and from 2 to 120 GB of memory, and shuffle-optimized storage runs from 20 GB to 2 TB per worker. There is no cluster to keep warm, so idle capacity between jobs is not billed.

Serverless does not remove the cost of slow work. A job that consumes twice the vCPU-seconds costs about twice as much, so engine speed still matters.

Which accelerators are documented on these models?

Read each vendor's platform list literally:

  • DualBird's site says "Compatible with Apache Spark, Amazon EMR & Amazon EKS". It names Amazon EKS, not EMR on EKS specifically, so ask DualBird how it runs on EMR on EKS before you plan around it.
  • Pepperdata documents Spark on Kubernetes and links EKS case studies on its homepage.
  • AWS engineers published a 3 TB TPC-DS run of Apache DataFusion Comet on Amazon EKS.
  • None of the engine or tool pages reviewed for this site documents EMR Serverless specifically.

The bill estimator shows each option's status for EMR on EKS, including "documented with a caveat" where the vendor's wording leaves room.

Which model suits which workload?

Spiky or infrequent jobs suit a consumed-resources model, because there is nothing idle to pay for. Steady, heavy schedules can suit a cluster you size and keep busy, where Spot and managed scaling apply. Teams that already run Kubernetes may prefer EMR on EKS for operational reasons; the cost discipline there is in the requests.

What should you measure?

For EMR on EKS, compare requested against used CPU and memory per job. For Serverless, record consumed vCPU-hours and GB-hours per run from the job details. In both cases, compare cost per run before and after any change, as in lesson 1.

Sources