45. EC2 Instance Purhcasing Options

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

On-Demand Instances

short workload, predictable pricing, pay by second

2
New cards

Reserved

(1 & 3 years)

ā€¢ Reserved Instances ā€“ long workloads

ā€¢ Convertible Reserved Instances ā€“ long workloads with flexible instances

3
New cards

Savings Plans

(1 & 3 years) ā€“commitment to an amount of usage, long workload

4
New cards

Spot Instances

short workloads, cheap, can lose instances (less reliable)

5
New cards

Dedicated Hosts

book an entire physical server, control instance placement

6
New cards

Dedicated Instances

no other customers will share your hardware

7
New cards

Capacity Reservations

reserve capacity in a specific AZ for any duration

8
New cards

EC2 On Demand

ā€¢ Pay for what you use:

ā€¢ Linux or Windows - billing per second, after the first minute

ā€¢ All other operating systems - billing per hour

ā€¢ Has the highest cost but no upfront payment

ā€¢ No long-term commitment

ā€¢ Recommended for short-term and un-interrupted workloads, where you can't predict how the application will behave

9
New cards

EC2 Reserved Instances

ā€¢ Up to 72% discount compared to On-demand

ā€¢ You reserve a specific instance attributes (Instance Type, Region, Tenancy, OS)

ā€¢ Reservation Period ā€“ 1 year (+discount) or 3 years (+++discount)

ā€¢ Payment Options ā€“ No Upfront (+), Partial Upfront (++), All Upfront (+++)

ā€¢ Reserved Instanceā€™s Scope ā€“ Regional or Zonal (reserve capacity in an AZ)

ā€¢ Recommended for steady-state usage applications (think database)

ā€¢ You can buy and sell in the Reserved Instance Marketplace

10
New cards

Convertible Reserved Instance

ā€¢ Can change the EC2 instance type, instance family, OS, scope and tenancy

ā€¢ Up to 66% discount

11
New cards

EC2 Savings Plans

ā€¢ Get a discount based on long-term usage (up to 72% - same as RIs)

ā€¢ Commit to a certain type of usage ($10/hour for 1 or 3 years)

ā€¢ Usage beyond EC2 Savings Plans is billed at the On-Demand price

ā€¢ Locked to a specific instance family & AWS region (e.g., M5 in us-east-1)

ā€¢ Flexible across:

ā€¢ Instance Size (e.g., m5.xlarge, m5.2xlarge)

ā€¢ OS (e.g., Linux, Windows)

ā€¢ Tenancy (Host, Dedicated, Default)

12
New cards

EC2 Spot Instances

ā€¢ Can get a discount of up to 90% compared to On-demand

ā€¢ Instances that you can ā€œloseā€ at any point of time if your max price is less than the current spot price

ā€¢ The MOST cost-efficient instances in AWS

ā€¢ Useful for workloads that are resilient to failure

ā€¢ Batch jobs

ā€¢ Data analysis

ā€¢ Image processing

ā€¢ Any distributed workloads

ā€¢ Workloads with a flexible start and end time

ā€¢ Not suitable for critical jobs or databases

13
New cards

EC2 Dedicated Hosts

ā€¢ A physical server with EC2 instance capacity fully dedicated to your use

ā€¢ Allows you address compliance requirements and use your existing serverbound

software licenses (per-socket, per-core, peā€”VM software licenses)

ā€¢ Purchasing Options:

ā€¢ On-demand ā€“ pay per second for active Dedicated Host

ā€¢ Reserved - 1 or 3 years (No Upfront, Partial Upfront, All Upfront)

ā€¢ The most expensive option

ā€¢ Useful for software that have complicated licensing model (BYOL ā€“ Bring Your Own License)

ā€¢ Or for companies that have strong regulatory or compliance needs

14
New cards

EC2 Dedicated Instances

ā€¢ Instances run on hardware thatā€™s dedicated to you

ā€¢ May share hardware with other instances in same account

ā€¢ No control over instance placement (can move hardware after Stop / Start)

15
New cards

EC2 Capacity Reservations

ā€¢ Reserve On-Demand instances capacity in a specific AZ for any duration

ā€¢ You always have access to EC2 capacity when you need it

ā€¢ No time commitment (create/cancel anytime), no billing discounts

ā€¢ Combine with Regional Reserved Instances and Savings Plans to benefit from billing discounts

ā€¢ Youā€™re charged at On-Demand rate whether you run instances or not

ā€¢ Suitable for short-term, uninterrupted workloads that needs to be in a specific AZ