EC2 Flashcards
What is EC2 ?
It is a web service that provides re-sizable compute capacity in the cloud.
What are the 4 EC2 Pricing options ?
1) On Demand
2) Reserved
3) Spot
4) Dedicated Hosts
What are EC2 On-Demand Instances - Use cases?
1) Users that want the low cost and flexibility of Amazon EC2
2) without any upfront payments.
3) Applications with short term, spikey or unpredictable workloads that cannot be interrupted.
4) Applications being developed or tested for the first time.
5) Learning Environments
What are EC2 Reserved Instances - Use Cases?
1) Applications with steady state requirements.
2) Applications with predictable usage.
3) Users can make upfront payments.
What are the three reserved instance (RI) types?
1) Standard RI
2) Convertible RI
3) Scheduled RI
What is a scheduled RI ?
An EC2 instance that is only available to launch within the time window you reserve.
* It allows you to match your capacity reservation to a predictable recurring schedule that only requires a fraction of a day, month or year.
What are Use Cases for EC2 Spot Instances?
1) Applications that have flexible start/finish time.
2) Applications that are only feasible at very low compute prices.
3) Users with an urgent need for large amounts of additional computing capacity.
What are the use Cases for dedicated hosts?
1) Useful for customers and licenses who are not eligible to support multi-tenant virtualisation
2) Can be purchased on demand (hourly)
3) can be purchased as a reservation for up to 70% off the on-demand price.
Spot Instance Termination - When are you charged?
If a spot instance is terminated by AWS EC2 then you are not charged for the partial hour of usage. If you terminate the instance yourself then you will be charged for the complete hour in which the instance ran.
What is EC2 Termination Protection?
Prevents the deletion of an instance, it’s turned off by default.
Describe EC2 On Demand Instances:
Allows to pay a fixed rate by the hour, with no commitment.
Recommended for:
Applications with unpredictable workloads
Applications that can’t be interrupted
Describe EC2 Reserved Instances.
Provides a capacity reservation, with significant discount.
Contract terms are 1 or 3 years.
- Applications with Predictable workloads.
There are 3 types:
- Standard
- Convertible
- Scheduled
What are the 3 types of EC2 Reserved Instances:
Standard: - 75% of discount from On Demand price Convertible: - You may convert one instance to another. Scheduled: - Works at specific time intervals.
Describe EC2 Spot Instances
Unused instances on which you bid on.
AWS will assign them to you if your target price is above the spot price.
Workload will run as long as the price is below.
Ideal for workloads that can be interrupted.
Describe EC2 Dedicated host instances
Used for regulatory applications.
Can be purchased on demand.