EC2 - EC2 101 Part 1 Flashcards

1
Q

Amazon EC2 is…

A

…a web service that provides resizable compute capacity in the cloud

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

EC2 reduces the time required to obtain and boot new server instances to…

A

…minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

EC2 changes the economies of computing by…

A

…allowing you to pay only for the capacity that you actually use

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

EC2 provides developers the tools to…

A

…build failure resilient apps and isolate themselves from common failure scenarios

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

EC2 pricing options

A

On Demand, Reserved, Spot, Dedicated Hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

On Demand

A

allow you to pay a fixed rate by the hour with no commitment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

On Demand use case example

A

If you’re a startup, you can pay for instances by the hour with no long term commitment for experimentation, terminate instances when you are complete.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Reserved

A

provide you with a capacity reservation, and offer a significant discount on the hourly charge for an instance. 1-year or 3-year terms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Reserved use case example

A

If you need a minimum of 2 webservers to serve your customers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Spot

A

enable you to bid whatever price you want for instance capacity, providing for even greater savings if your apps have flexible start and end times. engineering, pharma companies use these

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

If bid price > spot price…

A

…instances can be provisioned

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

If spot price > bid price…

A

…instances will be terminated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Dedicated Hosts

A

physical EC2 server dedicated for your use (hourly rate). Dedicated hosts can help you reduce costs by allowing you to use your existing server-bound software licenses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

On Demand Use Cases

A

Users that want the low cost and flexibility of EC2 without any up-front payment or long-term commitment

Apps with short term, spiky, or unpredictable workloads that cannot be interrupted

Apps being developed or tested on EC2 for the first time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Reserved Use Cases

A

Apps with steady state or predictable usage

Apps that require reserved capacity

users able to make upfront payments to reduce their total computing costs even further

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Example of combining reserved + on demand instances

A

2 webservers = reserved. Need more for Black Friday = on demand

17
Q

Spot Use Cases

A

Apps that have flexible start and end times

Apps that are only feasible at very low compute prices

Users with urgent computing needs for large amounts of additional capacity

18
Q

Spot Use Case Examples

A

Large pharma company saves money by using compute capacity during very low demand times

Large world events, e.g. Brexit, analysts need to find solutions really quickly

19
Q

Dedicated Hosts Use Cases

A

Useful for regulatory requirements that may not support multi-tenant virtualization

Great for licensing which does not support multi-tenancy or cloud deployments (e.g. Microsoft, SQL, Oracle)

Can be purchased on demand (hourly)

can be purchased as a reservation for up to 70% off the on-demand price

20
Q

Termination of Spot Instances - EXAM TIP

A

If the spot instance is terminated by Amazon EC2, you will not be charged for a partial hour of usage. However, if you terminate the instance yourself, you will be charged for any hour in which the instance ran

21
Q

Instance Types

A
D = Dense
R = Memory-optimized (RAM)
M = General Purpose (main choice)
C = Compute-optimized
G = Graphics-Intensive
I = High Speed Storage (I/O)
F = Field Programmable Gate Array
T = Lowest Cost, General Purpose (t2 micro)
P = Graphics/General Purpose CPU (pics)
X = Memory-optimized (extreme RAM)
22
Q

Dense Storage use case

A

Fileservers/Data Warehousing/Hadoop

23
Q

Memory Optimized use case

A

Memory Intensive apps/DBs

24
Q

General Purpose use case

A

Application Servers

25
Q

Compute Optimized use case

A

CPU Intensive apps/DBs

26
Q

Graphics Intensive use case

A

Video Encoding/3D application streaming

27
Q

Field Programmable Gate Array use case

A

Hardware acceleration for your code

28
Q

Lowest Cost, General Purpose use case

A

Web Servers/small DBs

29
Q

Graphics/General Purpose GPU use case

A

Machine Learning, Bit Coin Mining, etc

30
Q

Memory Optimized use case

A

SAP HANA, Apache Spark, etc