Booking GPU machines in advance on AWS: two ways, two costs

When an event is streamed with Eagle 3D Streaming on Amazon (AWS) GPU machines, a region can run out of free machines of a type - and then AWS cannot start more until other customers release theirs. The only way to be sure of machines is to book them. AWS has two ways to book, with the same price per hour but very different minimum costs. This article explains both, with example dates and numbers, and what to do instead.

Why would GPU machines need to be booked?

Normally a streaming machine is started when it is needed and stopped when nobody uses it, and you pay only for the hours it runs. That works as long as AWS has a free machine of that type in that region. GPU machines are in short supply in some regions: when other customers have taken them, AWS refuses to start one - even a machine that is already set up for you and only stopped. A booking (AWS calls it a capacity reservation) holds machines for you, so nobody else can take them.

What are the two ways to book?

Both cost the same per hour: the normal price of the machine, whether it is used or not. For a typical streaming GPU machine (for example an NVIDIA A10G) that is about $3 per hour, so about $30 per hour for 10 machines. What differs is how many hours you must pay for:

Instant bookingAdvance booking
Price per hour$3 per machine ($30 for 10)the same: $3 per machine ($30 for 10)
When it startsthe moment it is bookedon a start date you choose
Notice needednoneat least 5 days before the start date (up to 120 days)
Minimum lengthnone - released whenever you choose14 days (336 hours) - cannot be released earlier
Smallest cost for 10 machines1 hour = about $30336 hours = about $10,080
Can it fail?yes - it only works if AWS has free machines at the moment of bookingonce AWS confirms it, the machines are guaranteed (AWS reviews each request and can decline it)

What are the two rules of an advance booking?

An advance booking has two separate rules, and mixing them up is the usual source of confusion:

  1. Notice: request it at least 5 days ahead

    The request has to reach AWS at least 5 days before the start date you choose (and at most 120 days before). AWS reviews it - usually within 5 days - and confirms or declines it. Nothing is paid before the start date.

  2. Minimum length: it lasts at least 14 days

    Once it starts, it runs for at least 14 days, and AWS charges every hour of those 14 days - day and night, whether the machines are used or not. It cannot be cancelled or reduced before the 14 days end. There is no advance booking for a single two-hour slot.

What does an advance booking cost? An example with dates

An event with two sessions of two hours each, on 10 and 14 March, with 10 players:

DateWhat happensCost
1 MarchThe booking is requested: 10 machines, start 10 March 00:00 (9 days ahead - more than the 5 needed)$0
1-6 MarchAWS reviews the request and confirms it$0
10 March 00:00The booking starts: AWS holds the 10 machines$30 per hour begins
10 MarchFirst session (2 hours)included
11-13 MarchMachines held, not usedstill $30 per hour
14 MarchSecond session (2 hours)included
15-23 MarchMachines held, not usedstill $30 per hour
24 March 00:00The 14-day minimum ends; the booking can be releasedstops
Total: 336 hours x $30about $10,080 - for 4 hours of use

The same session with an instant booking instead:

DateWhat happensCost
9 March 08:0010 machines are booked - this only works if AWS has them free at that moment$30 per hour begins
10 March 08:00-10:00The sessionincluded
10 March 10:00The booking is releasedstops
Total: 26 hours x $30about $780

Booked at 06:00 on the day instead, it is about 4 hours - about $120 - but by then AWS may have no machines left.

What if the machines are used for one hour and released?

Use 1 hour on 10 March, then releaseCan it fail?
Advance booking (start 10 March, 14 days)about $10,080 - it cannot be released before 24 MarchNo, once AWS has confirmed it (AWS can decline the request up front)
Instant booking (booked 07:00, released 08:00)about $30 - only the hour it was heldYes - it needs free machines at the moment of booking

So an advance booking is not more expensive per hour - it is expensive because all 14 days must be paid. For a single event of a few hours, it usually costs far more than the event itself.

What does an instant booking cost?

An instant booking starts at once and is paid until it is released. For the same 10 machines and a two-hour session:

BookedHours paidCostOur view
4-5 days beforeabout 108 (4.5 days x 24)108 x $30 = about $3,240not recommended - far too much
the day before26 (24 before + the 2-hour session)26 x $30 = about $780still a lot for two hours - depends on how important that region is
a few hours before3-63-6 x $30 = about $90-180low cost, but a high risk that AWS has no machines free by then
1 hour before, released after 1 hour of use22 x $30 = about $60cheapest, highest risk

An instant booking can fail: it only succeeds if AWS has all the machines free at that moment. In a region that has run out, every attempt is refused - and a refused request costs nothing.

What can be done instead of booking?

For most events, the better answer is several regions with one priority order, set up before the event:

The cost follows the region actually used, at the cloud provider's price, and there is no 14-day minimum. More on regions: Capacity and regions.

How should an event be planned?

  1. Choose the regions early

    Tell us the event date and where your players are at least two weeks ahead, so every option - including an advance booking - is still open.

  2. Test each region

    Start a machine in each region and stream on it; check the picture and the feel of the app on the GPU of that region.

  3. Decide: several regions, or a booking

    For a few hours of streaming, several regions with machines started ahead is usually enough. Book only when one region is a must and the event is long enough to justify the cost.

Where are AWS's own rules?

Frequently asked questions

6 questions

Is an advance booking more expensive per hour?

No. Both ways cost the normal price per hour of the machine. An advance booking is expensive because at least 14 full days must be paid.

Can an advance booking be used for just one session?

It can be used for one session, but it is still paid for 14 days. One booking can cover several sessions inside the same 14 days.

Can a booking be cancelled?

An instant booking can be released at any time. An advance booking cannot be cancelled or reduced during its 14 days.

What happens if AWS has no free machines?

An instant booking is refused, and costs nothing. An advance booking is reviewed by AWS before it starts and can be declined; once confirmed, the machines are kept for you.

Why can a machine that was already set up not start?

A stopped machine does not hold its GPU. When it is started again, AWS needs a free machine of that type in that region; if other customers have taken them all, the start is refused until some are released.

Does this apply to other cloud providers?

Other providers have similar reservations with their own rules and minimums. Ask us for the region you need.

Related

Last updated