Compute in the Cloud Flashcards
5 AWS EC2 Instance Types and Examples
- General Purpose - balance of compute, memory, and networking resources
- Compute Optimized - compute-bound applications that benefit from high performance processors
- Memory Optimized - deliver fast performance for workloads that process large datasets in memory
- Accelerated Computing - ideal for application streaming and graphic workloads
- Storage Optimized - workloads that require high, sequential read and write access to large datasets on local storage
6 AWS EC2 Instance Pricing Options
- On Demand - short term, irregular workloads
- Spot - workloads with flexible start and end times or can withstand interruptions
- Reserved - provides billing discounts over on demand and requires 1 or 3 year term commitments
- Compute Savings Plan - Offers savings over on demand costs for a consistent amount of compute usage and requires a 1 or 3 year term commitment
- Dedicated Instance - EC2 instance that runs in a VPC on hardware for a single customer
- Dedicated Host - physical server with EC2 instance capacity for a single customer
2 Approaches to AWS EC2 Auto Scaling
- Dynamic scaling - responds to changing demand
- Predictive Scaling - automatically schedules the right number of AWS EC2 instances based on predicted demand
What is AWS SNS?
Simple Notification Service is a publish/subscribe service. A publisher publishes messages to a subscriber
What is AWS SQS?
Simple Queue Service is a message queuing service
What is serverless?
Your code runs on servers but you do not need to provision or manage the servers
What is AWS Lambda?
Run code with having to provision or manage servers and you pay only for the compute time that you consume
What is AWS ECS?
Elastic Container Service allows you to run and scale containerized applications. You can use API calls to launch and stop Docker-enabled applications
What is AWS EKS?
Elastic Kubernetes Service allows you to run and scale Kubernetes applications. You can readily update applications with new features
What is AWS Fargate?
Allows you to run serverless containers with AWS ECS or AWS EKS and you pay only for the resources you use