Liveblog: Getting the Most Bang for Your Buck with EC2
This is a liveblog of the AWS re:Invent session titled “Getting the Most Bang for Your Buck With #EC2 #Winning” (CMP202). The speaker for the session is Joshua Bergin, General Manager, EC2 Spot Business. According to the abstract, this session is supposed to focus on effectively using on-demand instances versus spot instances and reserved instances.
As a matter of quick introduction, there are three purchasing options for EC2:
- On-demand: “pay as you go”; no long-term commitments
- Reserved: good for steady-state workloads, used with 1 yr or 3 yr commitment
- Spot: pay market price for unused compute capacity
How do you choose which one to use? Bergin shares the “four pillars of performance and cost optimization”:
- Right-sizing: choosing the cheapest instance available while meeting performance requirements
- Purchasing options: Bergin will discuss this in more detail; this is the primary focus of the discussion
- Increase elasticity: turning off (“scaling down”) instances that don’t need to be running (example: turn off development workloads when the developers aren’t working)
- Measure, monitor, and improve: tagging resources; identitying always-on instances; identifying instances that can be downsized; recommending Reserved Instances (RIs) where it makes sense; dashboards and reports
Bergin points out the key AWS pricing principles (no Continue reading