Amazon EC2 Flashcards
What are the Amazon EC2 Instance Families
- General Purpose
- Compute Optimized
- Memory Optimized
- Accelerated Computing
- Storage Optimized
What is a General Purpose Instance?
Provide balance of compute, memory, & networking resources.
What can you use General Purpose instances for?
- Application servers
- Gaming servers
- Backend servers for Enterprise Applications
- Small & Medium databases
Suppose that you have an application in which the resource needs for compute, memory, and networking are roughly equivalent.
What EC2 Instance Type would you use?
General Purpose
What is a Compute Optimized Instance?
Instances for compute-bound applications that need high-performance instances.
What is a Memory Optimized Instance?
Designed to deliver fast performance for workloads that process large datasets in memory.
Suppose that you have a workload that requires large amounts of data to be preloaded before running an application. This scenario might be a high-performance database or a workload that involves performing real-time processing of a large amount of unstructured data.
What EC2 Instance Type would you use?
Memory Optimized
What are Accelerated Computing Instances?
Instances that use hardware accelerators, or coprocessors to perform some functions more efficiently that is possible in software running on CPU’s.
What are Storage Optimized Instances?
Instances that are used for high read/write access to large datasets on local storage.
What are examples of workloads that would use Storage Optimized Instances?
- file systems
- data warehousing applications
- high-frequency online transaction processing (OLTP) systems.
What are the Amazon EC2 Pricing Types?
- On-Demand
- Savings Plan
- Reserved Instances
- Spot Instances
- Dedicated Hosts
What are On-Demand Instances?
- Ideal for short-term, irregular workloads that cannot be interrupted.
- No upfront costs or minimum contracts
- Run continuously until you stop them.
- Pay for only the compute time that you use.
Suppose you want to develop and test applications or run applications that have unpredictable usage patterns.
On-Demand Instances
What are Reserved Instances?
- Billing discount offered when organizations reserve capacity in an AWS service.
- The discount is applied to the use of on-demand instances in the AWS customer’s account.
- Good when you have a predictable instance.
Suppose you know the EC2 instance type and size you need for your steady-state applications and in which AWS Region you plan to run them.
Standard Reserve Instance
Suppose you need to run your EC2 instances in different Availability Zones or different instance types.
Convertible Reserve Instance
What is the Savings Plan
Offers discounted rates on EC2 instances in exchange for commitment to use specific instance family in region for set time period.
What is a Spot Instance?
- Use unused Amazon EC2 computing capacity but can be interrupted.
Suppose you have an instance that has a flexible start and end times and can have interruptions.
What type of instance would you use?
Spot Instances
What are Dedicated Hosts?
Physical servers with an Amazon EC2 instance that are fully dedicated for your use.
Which EC2 service allows you to automatically add or remove EC2 instances in response to changing application demand?
AWS EC2 Auto Scaling