AWS EC2 Pricing Models (On-Demand, Spot, Reserved)
EC2 offers multiple pricing models to optimize costs based on your workload requirements. The main pricing models are On-Demand, Reserved Instances, and Spot Instances.
On-Demand Instances
On-Demand Instances allow you to pay for compute capacity by the hour or second with no long-term commitments. This is ideal for applications with short-term, spiky, or unpredictable workloads.
Reserved Instances
Reserved Instances provide significant discounts (up to 75%) compared to On-Demand pricing. You commit to a 1-year or 3-year term. Types include Standard, Convertible, and Scheduled Reserved Instances.
Spot Instances
Spot Instances allow you to request unused EC2 capacity at up to 90% discount. However, AWS can interrupt your instances with a 2-minute notice when capacity is needed elsewhere.
