EC2 Flashcards

1
Q

What can be configured on an EC2 instance?

(what are the configuration options)

A
  • OS
  • CPU
  • Memory
  • Firewall Rules (security group)
  • ELB (load balancing
  • Storage
    • Network attached (EBS/EFS)
    • EC2 Instance Store
  • Bootstrap Script
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the different EC2 Instance Types

(Use Cases)

A
  • General Purpose
  • Memory Optimized
  • Compute Optimized
  • Accelerated Computing
  • Storage Optimized
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the main characteristics of

GENERAL PURPOSE

Instance Types?

A
  • great for wide range of workloads
  • Balance between CPU/Memory/Networking
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are some examples of General Purpose use cases?

A
  • web servers
  • code repositories
  • diverse workloads that use cpu/mem/networking proportionally
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the main characteristics of

MEMORY OPTIMIZED

use cases?

A
  • Fast performance for workloads processing large data sets in memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are some examples of

MEMORY OPTIMIZED

use cases?

A
  • High performance databases
  • Distributed web scale cache stores
  • In-memory databases optimized for BI
  • Apps performing real-time processing of big, unstructured data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the main characteristics of Compute Optimized instance types?

A
  • Compute-intensive tasks requiring high performance processors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are some examples of

COMPUTE-OPTIMIZED

use cases?

A
  • Batch processing workloads
  • Media transcoding
  • High performance web servers
  • HPC
  • Scientific modeling/Machine learning
  • Dedicated gaming servers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the main characteristics of Storage Optimized instance types?

A
  • great for storage-intensive tasks that require high, sequential read/write access to large data sets on LOCAL storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are some examples of

STORAGE OPTIMIZED

use cases?

A
  • high frequency OLTP
  • Databases
  • Cache for in-memory dbs (redis)
  • Data warehousing
  • distributed file systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the characteristics of Accelerated Computing instance types?

A
  • Accelerated computing instances use hardware accelerators, or co-processors, to perform functions, such as floating point number calculations, graphics processing, or data pattern matching, more efficiently than is possible in software running on CPUs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are some examples of

ACCELERATED COMPUTING

use cases?

A
  • autonomous cars
  • Machine learning
  • high performance computing
  • computational fluid dynamics
  • computational finance
  • seismic analysis
  • speech recognition
  • autonomous vehicles
  • drug discovery
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the EC2 Instances Purchasing Options?

A
  • On-Demand Instances
  • Reserved (1/3 years)
  • Convertible Reserved
  • Savings Plans (1/3 years)
  • Spot Instances
  • Dedicated Hosts
  • Dedicated Instances
  • Capacity Reservations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is EC2 On Demand Pricing Model?

A
  • Pay for what you use
    • Windows/linux: per second
    • everything else: per hour
  • Highest Cost
  • No long term commitment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the appropriate use case for

EC2 On Demand Pricing?

A
  • Short term
  • uninterrupted workloads
  • unpredictable application behavior
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are

EC2 Reserved Instances?

A
  • Reserve specific instance attributes
    • Instance type, Region, Tenancy, OS)
  • Reservation period
    • 1 or 3 years
  • Payment Options
    • No upfront
    • Partial upfront
    • All upfront
  • RI’s scope - regional or zonal
  • Convertible Reserved Instance
    • Can change EC2 instance type, family, OS, scope, tenancy
17
Q

What is the most appropriate use case for

EC2 Reserved Instances?

A
  • Steady state usage applications, like database
18
Q

What are EC2 Savings Plans?

A
  • Discount based on long term usage (same as RIs)
  • Commit to certain level of usage (ie: $10/hr for 1 or 3 years)
  • Usage beyond that level is billed at On Demand price
  • Locked to specific instance family and region
  • Flexible across
    • Instance size
    • OS
    • Tenancy (host/dedicated/default)
19
Q

Wat are EC2 Spot Instances

A
  • Discount of up to 90% off On Demand
  • most cost efficient option
  • you can lose the instances at any time if max price < spot price
20
Q

What are the most appropriate use cases for

EC2 Spot Instances?

A
  • Workloads that are resilient to failure
    • Batch jobs
    • Data analysis
    • Image processing
    • Distributed workloads
    • Workloads with flexible start/end times
  • NOT suitable for databases or critical jobs
21
Q

What are EC2 Dedicated Hosts

A
  • actual physical server with EC2 instance capacity fully dedicated to your use
  • Purchasing options
    • on demand - pay per second
    • reserved - 1 or 3 years
  • Most expensive options
22
Q

What are the use cases for

EC2 Dedicated Hosts?

A
  • appropriate for enterprises with compliance and/or regulatory needs
  • useful for enterprises with software that have complicated licensing models
    • BYOL
    • can utilize server bound licensing (per socket, per core, per VM etc)
23
Q

What are

EC2 Dedicated Instances

A
  • Instances run on hardware dedicated to you
  • May share hardware with instances on same account
  • No control over instance placement
  • No visibility of sockets/cores/host ID
  • no affinity between host and instance
  • limited BYOL support
24
Q

What are

EC2 Capacity Reservations?

A
  • Reserve On Demand instance capacity in specific AZ for any amount of time
  • No time commitment
  • No billing discounts
  • Charged On Demand rate whether you actually run instances or not

* Suitable for short-term, uninterrupted workloads that need to be in a specific AZ