1/14
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
On-Demand Instances
short workload, predictable pricing, pay by second
Reserved
(1 & 3 years)
ā¢ Reserved Instances ā long workloads
ā¢ Convertible Reserved Instances ā long workloads with flexible instances
Savings Plans
(1 & 3 years) ācommitment to an amount of usage, long workload
Spot Instances
short workloads, cheap, can lose instances (less reliable)
Dedicated Hosts
book an entire physical server, control instance placement
Dedicated Instances
no other customers will share your hardware
Capacity Reservations
reserve capacity in a specific AZ for any duration
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
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
Convertible Reserved Instance
ā¢ Can change the EC2 instance type, instance family, OS, scope and tenancy
ā¢ Up to 66% discount
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)
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
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
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)
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