Ec2 Instance Purchasing Options
There are four ways to pay for amazon EC2 Instances ie:- On-Demand, Reserved Instance, and Spot Instance.
You can also Ply for Dedicated Host which provides you with EC2 Instance Capacity on Physical servers dedicated for your Use.
1 | On-demand | → AWS on-demand Instances are Virtual servers that run in AWS or AWS Relational Database Service (RDS) and are purchased on a fixed Rode per Hour.
→ AWS Recommends using On-demand Instances for applications with Short term irregular workloads that Cannot be interrupted. → They are also Suitable for use during the testing and development of applications on EC2. → With On-demand instances, you only pay for the EC2 instances you use. → The Use of on-demand instances frees you from the Cost and Complexities of planning, purchasing, and maintaining hardware and transforms what are commonly Large Fixed Costs into much Smaller Variable Costs. → Pricing is per instance-hour Consumed for each instance from the time an instance is launched until it is terminated or stopped. → Each partial instance hour consumed will be billed per second for Linux Instances and as a full Hour for all Other Instance types. |
2 | Dedicated Instance | → Dedicated instances are run in a VPC on Hardware that is dedicated to a Single Customer.
→ Your dedicated instances are physically isolated at the host hardware level from instances that belong to other AWS Accounts. → Dedicated instances may share Hardware with other instances from the Same AWS Account that is not a dedicated instance. → Pay for dedicated Instances On-demand Save up to 70% by purchasing Reserved instances or save up to 90% by purchasing Spot Instances. |
3 | Dedicated Host | → An Amazon EC2 Dedicated Host is a
physical server with EC2 Instance Capacity fully Dedicated to your Use. → Dedicated Host can help you address Compliance requirements and Reduce costs by allowing you to use your existing Server Bound Software licenses. → Pay for a Physical Host that is fully dedicated to Running Your Instances, and bring your existing per-Socket, per-Core per-VM Software license to Reduce Cost. |
4 | Schedule Instance | → Schedule Reserve Instances enable you to purchase Capacity Reservations that recur on a daily, weekly, or monthly basis, with a specified Start time and Duration, for a One-Year term.
→ You Reserve the capacity in advance So that you know it is available When you need it. You pay for the time that the instances are Scheduled, even if You do not use them. → Schedule instances are a good choice for Workloads that do not run Continuously, but do run on a regular Schedule. → Purchase instances that are always available on the Specified Recurring Schedule, for a one-year term. for eg:- You Can use Schedule instances for an application that runs during business hours or for Batch Processing that Runs at the end of the Week. |
5 | Reserved Instance | → Amazon EC2 RI provides a significant discount (up to 75%) Compared to On-demand pricing and provides a Capacity Reservation when Used in a Specific Availability Zone.
→ Reserved instances give you the option to Reserve a DB instance for a one or three-year term and in turn receive a significant discount Compared to the On-demand Instance pricing for the DB instances. → Standard RI:- These provide the most significant discount (up to 75% of on-demand) and are Best Suited for steady-state – State Usage. → Convertible RI:- These provide a discount up to 54%) and the Capability to change the attributes of the RI as long as the Exchange Results in the Creation of Reserved instances of greater or equal value. Schedule RI:- These are available to launch within the time window you Reserve. |
6 | Sot Instance | → Amazon EC2 Spot Instances let you take advantage of unused Ec2 Capacity in the AWS Cloud Spot Instances are available at up to 90% discount Compared to On-demand prices
→ You Can use Spot – Instances for various test & Development Workloads. → You also have the Options to hibernate, Stop or terminate your Spot instances when EC2 Reclaims the Capacity Back with two minutes of notice. → When Would my Spot Instance get interrupted? The primary reason would be Amazon EC2 Capacity Requirement (eg-On-demand or Reserved instances) Secondarily if you have chosen to set a ‘max. spot price and the spot price rises above this |