Lesson 1 of 10Read the bill3 min read

How an Amazon EMR bill is built

An EMR cluster bill has three parts: the EC2 instances, the EMR charge added on top, and the EBS storage attached. EMR is billed per second with a one-minute minimum, so a job that finishes sooner costs less on every per-second line. EMR on EKS and EMR Serverless are priced differently, on requested or consumed resources.

By The Meter DeskSpark Cost ComparePublished

What are the lines on an EMR bill?

AWS describes the EMR price as a charge that is added to the Amazon EC2 price and the Amazon EBS price. For a classic EMR cluster you therefore pay for the instances themselves, for EMR on top of each instance, and for the storage volumes attached to them. AWS states that you pay "a per-second rate for every second you use, with a one-minute minimum".

The EMR features page gives a sense of scale for the EMR charge alone: it "starts at $.015 per instance hour for a small instance". How the bill splits between these lines depends on the instance types you pick, so read it from your own cost and usage data rather than from a rule of thumb.

Why does per-second billing matter for Spark?

Per-second billing means time is money in the most literal sense. If a nightly job ran on 20 instances for 90 minutes last month and runs for 60 minutes this month on the same 20 instances, the per-second lines for that job fall by a third. That is why engines that shorten runtime show up directly on an EMR bill, and why clusters that sit idle between jobs cost money even when nothing runs.

How are EMR on EKS and EMR Serverless different?

The same AWS pricing page describes two other models:

  • EMR on EKS is priced on the vCPU and memory your jobs request. Requests you do not use still count, so over-requesting resources is a direct cost.
  • EMR Serverless charges for "the amount of vCPU, memory, and storage resources consumed". Workers range from 1 to 16 vCPU and 2 to 120 GB of memory, with shuffle-optimized storage from 20 GB to 2 TB per worker.

The serverless model moves idle capacity off your bill, because you pay for what jobs consume. It does not remove the cost of a slow job: a job that runs twice as long still consumes more.

Which lever moves which line?

  • Fewer instance hours (a faster engine, better packing) shrinks every per-second line for that job.
  • Cheaper instances (Spot, Graviton) shrink the EC2 line.
  • Less idle capacity (managed scaling, serverless, a capacity optimizer) removes hours that do no work.
  • Fewer reruns removes hours you paid for twice.

The four cost levers lesson takes each in turn, and the bill estimator shows which products document which lever on your platform.

What should you measure first?

Before you change anything, write down three numbers per important job: instance count and type, runtime, and how often it runs. Multiply them out with your rates and you have a cost per run that every later change can be compared against. Without that baseline, any saving you see afterwards, from a vendor or from your own tuning, is hard to prove.

Sources