EC2 Flashcards
EC2
Amazon Elastic Compute Could
On demand
by hour and second and depends if its linux or windows(by the hour)
Reserved Instance
contracted instance 1 to 3 years. discount is given on hourly charge
spot
bid a price for instance capacity.
Dedicated host
physical EC2 server dedicated host. can use exciting server-bound software licenses
use case for On Demand
perfect for low cost and flexible amazon EC2
short term or unpredictable work load
or new amazon ec2 applications
use case for reserved instance
up front cost could be great for steady state and predictable usage.
- standard RI up to 75% off on demand
- convertible RI up to 54% off on demand - capability to change the attributes of RI as long as exchange results in the creation of reserved instances of equal or greater value
- schedule reserved instances
use case for spot instances
application that have flexibility start and end times
or only feasible at very low compute prices
urgent need with large amount of compute.
use case for Dedicated host
regulatory requirement that may not use multi tenant virtualization.
can be purchased on demand (hourly)
can be purchased on reservation 70% off on demand price
what are the EC2 Instance Types
F1 -FPGA I3 - IOPs G3 - Graphics H1 - High Disk Throughput T2 - cheap general purpose (think T2 Micro) D2 - Density R4 - RAM M5 - amin choice for general purpose apps C5- compute P3 - graphics (think pics X1 - extreme Memory
What is EBS
Elastic storage volumes. Storage volumes (virtual dist) attached to EC2
it spread across the availability zone (if one dies you would be fine).
Root device volume is on windows.
EBS volume types
SSD
General purpose SSD (GP2)
-general purpose balances both price and performance.
0ratio for 3 IOPS per GB with up to 10,000 IOPS and ability to burst up to 3000 IOPS for volumes at 3334 Gib and above
Provisioned IOPS SSD(IO1)
- Designed for I/O intensive application such as large relational or noSQL DB
- pervision up to 20,000 IOPs per volumes
EBS volume types
magnetic storage volumes
through Optimized HDD(ST1)
- big data
- data warehouses
- long processing
- cannot be a boot volume (could not be a C drive)
cold HDD (SC1)
- lowest cost storage for infrequent accessed work load
- file server
- cannot be a boot volume
Magnetic (standard)
- lowest cost per gigabyte for all EBS volumes types that is bootable.
- legacy but could use it
- ideal for work loads that data is accessed infrequently (test and dev environments)