Module 2 (Compute Services) Flashcards
Amazon Elastic Compute Cloud / EC2
A virtual server in the cloud
Can terminate with ease
pay-as-you-go
use if you want to host classic apps or you want full access to the OS
Why is EC2 more efficient?
starting physical servers is time and space-costly and they cannot be taken down
this service has built and secured virtual data centers
they are also bought, installed, and ready to use
Multitenancy
sharing hardware between virtual machines
EC2 Configuration
Can be done using Windows, Linux, Internal business apps, web apps, databases, and third party software
EC2 Instance Types
configurations for every EC2 instance
consist of
-general purpose
-compute optimized
-memory optimized
-accelerated computing
-storage optimized
General purpose
useful for balancing certain components in your EC2 instance
balanced resources
web servers
diverse workloads
code repositories
Compute optimized
useful for compute-intensive tasks
gaming servers, life, scientific modeling
Memory optimized
useful for memory-intensive tasks
Accelerated computing
utilizes hardware accelerators to improve the EC2 appliczation
floating point #s
calculations
graphics processing
data pattern matching
EC2 Pricing
offers five different tiers for paying
-On-demand
-Savings Plans
-Reserved Instances
-Spot Instances
-Dedicated Hosts
On-demand
per hour or second
does not require any long-term commitments or payments
useful for getting started and experimenting with EC2
no contracts or communication with AWS required
Savings Plan
allows low prices on EC2 usage with minimum usage (can be 1-year or 3-year terms)
you can also get up to 72% in savings (This also counts when using AWS Fargate or AWS Lambda)
Reserved Instances
steady-state workload friendly
offers a 75% discount once committing to a 1 or 3 year term
paying can be done either upfront, partial, or none (this does not mean it’s free [you would have to pay all the money another time])
Spot Instances
requests spare capacity up to 90%
but AWS can capture these spots at anytime
thus is only useful if you are fine with interruptions in your AWS infrastructure
batch workloads
Dedicated Hosts
physical hosts dedicated for EC2
usually for meeting some compliance requirements