Study Cards Flashcards
Instance Families
Name EC2 instance families
(Hint: There are 5)
- General purpose
- Compute optimised
- Memory optimised
- Accelerated computing
- Storage optimised
Instance Families
General Purpose Instances
Key features and example usage
Key features:
- Balanced compute, networking and memory resources
- Can be used with a variety of workloads, for example:
- Application servers
- Small and medium dbs
- Backend servers for enterprise applications
Example usage:
Ideal when an application doesn’t require optimisation in a single resource area
Instance Families
Compute Optimized Instances
Key features and example usage
Key features:
* Ideal for applications requiring high-performance processors
* Can be used for workloads Fuchs as web, application and gaming servers
* Can be used for batch processing workloads required processing many transactions in a single group
Example usage:
Ideal for high-performance web servers, compute-intensive applications servers and dedicated gaming servers
Instance Families
Memory Optimized Instances
Key features and example usage
Key features:
* Designed to deliver fast performance for workloads processing large datasets in memory
* Can run workloads with high memory needs
Example usage:
Ideal for a high-performance database or a workload that involved performing real-time processing of a large amount of unstructured data
Instance Families
Accelerated Computing Instances
Key features and example usage
Key features:
* Uses hardware accelerators, or coprocessors to perform some functions
* A hardware accelerator is a component that can expedite data processing
* Can be more efficient that performing some functions on CPUs
Example usage:
Ideal for workloads such as graphics applications, game streaming and application streaming
Instance Families
Storage Optimized Instances
Key features and example usage
Key features:
* Designed for workloads that require high, sequential read and write access to large datasets on local storage
Example usage:
Ideal for workloads such as distributed file systems, data warehousing applications and high-frequency online transaction processing (OLTP) systems
Instance Families
What is IOPS (input/output operations per second)?
What is the best instance family type for an high IOPS app?
What is it?
* IOPS is a metric that measures the performance of a storage device
* Indicates how many different input or output operations a device can perform
Which instance family is better suited?
Storage Optimised instance are designed to handle high IOPS requirements
Pricing
Name the Amazon EC2 pricing models
(Hint: There are 5)
- On-Demand Instances
- Amazon EC Savings Plans
- Reserved Instances
- Spot Instances
- Dedicated Hosts
Pricing
On-Demand Instances
Key features
- No upfront costs
- No minimum contracts
- Only pay for the compute time used
- Ideal for short-term (less than 1 year), irregular workloads
Pricing
Amazon EC2 Savings Plans
Key features
- 1-year or 3-year terms with commitment to a given compute amount
- Potential savings of up to 72% vs On-Demand Instances
- Usage over committed compute amount charged at On-Demand rate
Pricing
Reserved Instances
Key features
(Hint: there are multiple types of Reserved Instances)
- A billing discount applied to use of On-Demand Instances
- Multiple types with varying terms:
- Standard Reserved (1-year or 3-year)
- Convertible Reserved (1-year or 3-year)
- Scheduled Reserved (1-year)
- Service won’t be interrupted at the end of the term, will be switched to On-Demand rates until the instance is terminated or a new one is purchased
Pricing
Spot Instances
Key features
- Uses unused Amazon EC2 capacity as and when it is available
- Ideal for workloads with flexible start and end times, or that can handle interruptions
- Cost savings of up to 90% vs On-Demand Instances
Pricing
Dedicated Hosts
Key features
- Physical servers with Amazon EC2 instance capacity
- Fully dedicated to your use
- Can use your own per-socket, per-core or per-c/m licenses to help maintain license compliance
- Most expensive Amazon EC2 option
Scalability
What is scalability?
- An architecture design allowing you to begin with only the resources you need and automatically scale in or out to respond to changing demand
- Pay only for the resources you use
- Always have enough capacity to meet customer needs
Scalability
What is the purpose of Amazon EC2 Auto Scaling?
It automatically handles horizontal scaling, adding or removing Amazon EC2 Instances in response to changing application demand
Scalability
Name two approaches to Amazon EC2 Auto Sclaing
- Dynamic Scaling: Responds to changing demand
- Predictive Scaling: Automatically schedules the right number of EC2 instances based on predicted demand
Scalability
Scaling Up (Vertically) vs Scaling Out (Horizontally)
- Scaling Up: Adding more power to the machines that are running
-
Scaling Out: Adding more resources to handle more traffic, for example more EC2 Instances
- Helps elasticity of the system
Scalability
What is an AWS Auto Scaling Group?
An Auto Scaling group contains a collection of EC2 instances that are treated as a logical grouping for the purposes of automatic scaling and management
Scalability
What are the main properties of an AWS Auto Scaling Group
(Hint: there are 3)
- Minimum Capacity: The number of Amazon EC2 Instances that launch upon creation of the Auto Scaling Group
- Desired Capacity: If not specified it defaults to the minimum capacity
- Maximum Capacity: You may configure to scale out in response to increased demand, but only to your max EC2 Instance capacity
Messaging and Queing
What is Elastic Load Balancing?
The Elastic Load Balancing service handles all incoming traffic requests and distributes them between resources, such as Amazon EC2 Instances