mod02 Flashcards
ec2
secure sizeable compute capacity
boot server instances in minutes
pay only for what you use
supports: win, mac and linux
AMI
Amazon Machine Image: OS + App
Launch AMI
Connect to the deployed instance
Use the instance
Approx: 2 minutes to deploy
ec2 types instances
general purpose
compute optimized
memory optimized
EC2 and AMI
Think of EC2 as the virtual hardware, and AMI as the software component. The AMI is “installed” in EC2, in the same way that a guest operating system would be installed in a virtual machine, on-premises.
general purpose ec2
balances compute, memory and network resources
suitable for broad range of workloads
compute optimiced ec2
high performance processors
ideal for compute intensive applications and batch processing
ec2 memory optimized
delivers fast performance for memory-intensive workloads
well suited for high performance databases
accelarated comp ec2
uses hardware accelerators to expedite data processing
idela for application streaming and graphics workloads
storage optimized
suitable for distributed systems and datawarehouses
low latency in I/O operations
ec2 pricing options
ondemand: no upfront cost or minimum contracts (one of the more expensive)
spot: ideal for workloads with flexible start and end times and offers savings over on demand prices (2 minutes warning)(saves 90%)
reserved: billing discount over ondemand pricing (50-70%) but requires a 1-3 years commitment
compute saving plan: up to 72% over on demand costs for a consistent amount of usage requires 1-3 years commitment
dedicated instance: ec2 instance that runs in a VPC on hardware for a singular customer and offers higher cost compared to the standard ec2 instance
dedicated host: psysical server with EC2 instance capacity for a single customer; the most expensive one
ec2 autoscaling
scale capacity as computing reqs change
use dynamics scaling and predictive scaling
autoscaling group
allows to EC2 to switch automatically between a minimum, desired and a maximum amount of instances based on demand
elastic load balancing
it distributes traffic across multiple resources and it provides a single point of contact for tour autoscaling group
SNS
messages are published to the topics
suscribers to the topic receive the message
SQS
Send store and receive messages between software components
Queue messages without required