AWS Associate Architect Certification Lecture 11 — EC2 part 8— EC2 pricing options

Amit Hendre
4 min readOct 7, 2020

Hi,

In this lecture we are going to discuss all the pricing options ,

we have 6 different options for EC2 :
1. On demand.
2. dedicated instance.
3. spot instance.
4. dedicated host.
5. schedule instance.
6. reserved instances.

If you check the overall pricing, Spot < Reserved and the others.

Major 3 ways in which we can divide the instances :
1. On demand (dedicated and on demand same costing).
2. Spot.
3. Reserved (reserved and scheduled same costing).

— — — — — — — — — — — — — — — — — — — — — — — — — — — — -

On demand instances :
1. Aws on-demand instance is virtual server that run in aws or aws database service(RDS) and are purchased at fixed rate per hour.

2. Aws recommends using on-demand instances for applications with short term irregular workloads which cant be interrupted.

3. They are suitable for use during testing and development of applications on EC2.

4. With on-demand instances you only pay only for EC2 instances you uses

5. The use of on-demand instances frees you from the costs and complexities of planning, purchasing and monitoring hardware and transforms what are commonly large fixed costs into much smaller variable cost.

6. Pricing is per instance per hour consumed for each instance from the time an instance is launched or stopped.

7. Each partial instance hour is consumed will be billed per second for Linux instance and as a full hour for all other instances type.

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — —

Dedicated instance :
1. Dedicated instances are run in a vpc on hardware that is dedicated to a single customer.
2. Your dedicated instances are physically isolated at the host hardware level from instances that are belong to other aws accounts.
3. Dedicated instances may share hardware with other instances from the same aws account which are not dedicated instances.
4. Pay for dedicated instances on-demand save upto 70% by purchasing reserved instances or save upto 90% by purchasing spot instances.

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — -

Dedicated Host :
1. An amazon EC2 dedicated host is a physical server with EC2 instance capacity fully dedicated to your use.
2. Dedicated host can help you address compliance requirement and reduce costs by allowing you to use your existing server bound software license.
3. Pay for a physical host that is fully dedicated to running your instances and bring your per-socket per-core, per-vm software license to reduce cost.
4. You can not migrate host to different AZ.

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — -

Spot instance :
1. Aws Ec2 spot instances let you take advantages of unused EC2 capacity in the aws spot.
2. Instances are available at upto 90% discount compared to on-demand prices.
3. you can use spot instances for various tests and development workloads.
4. you can also have the option to hibernate , stop or terminate your spot instances when EC2 reclaims the capacity back with two min of notice.

Question — when would my spot instance will be uninterrupted?
Answer : primary reason would be EC2 requirement (e. on-demand or reserved instance). Secondary if you have chose to set a max spot price and the spot price rises above this.

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — —

Schedule instance :
1. schedule reserve instances enables you to purchase capacity reservations that recurs on a daily ,weekly or monthly basis , with a specified time duration one year term.
2. You reserve the capacity in advance so that you know it is available when you need it.
3. You pay for the time that the instances are scheduled even if you don’t use them.
4. Scheduled instances are good choice for a workload that do not run continuously but do run on regular basis.
5. Purchase instances that are always available on the specified recurring schedule for a one year term.
6. Example: You can schedule an instance for an application that runs during business hours for batch processing that run at the end of the week.

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —

Reserved instance :
1. EC2 RI(Reserved instances) provide a significant discount(upto 75%) compared to on-demandpricing and provide a capacity reservation
when used specific availability zone.
2. RI gives you the option to reserve a DB instance for one or three year term and in turn.
3. there are 3 types of RI
a. Standard RI — 75% discount
b. Convertible RI
c. scheduled RI

4. Standard RI — 75% discount
5. Convertible RI — upto 54% discount and capability to change the attributes of instance

Questions :

1.Can I transfer convertible RI from one region to another — NO
2. How to change config — using console
3. what about fee when convert? — no charge for change but you need to change for new hardware

--

--