EC2 Flashcards

1
Q

EBS: What are the cheapest storage options and what things should you consider? Whats the cheapest SSD option?

A

> If you need CHEAP, use ST1 or SC1 (HDD based)
If you need throughput - i.e. streaming, use ST1
You CANNOT use HDD-based volumes as boot volumes
If too slow, upgrade to SSD-based GP3 (or legacy GP2)

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

EBS: Max IOPS of GP3?

A

16,000 IOPS.
GP2/GP3 is SSD based and is faster than ST1/SC1.
If you need more IOPS, advance to IO1/IO2/IO BlockExpress

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

EBS: IO-1 / IO-2 max IOPS?

A
  • IO is the Fastest EBS option.
  • IO1/IO2 Can deliver between 16,000 and 64,000 IOPS
  • IO2 BlockExpress can deliver up to 256,000 IOPS.
  • If you don’t need 16,000 IOPS, downgrade to GP3.
  • If you need MORE throughput without the persistence & resiliency, use Instance Store volumes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

EBS: Per-Instance Performance Limitations

A

260,000 IOPS
Note that you’re going to need more than one volume to saturate these per-instance performance levels

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

EBS: What are Snapshots and what can you do with them?

A
  • You can take a snapshot into s3 and use that snapshot to create a new volume in a different AZ.
  • You can also copy a snapshot to a different region and create a volume from the snapshot.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

EBS: Resiliency Level?

A

EBS has resilience within an AZ

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

EBS: Charges?

A

Based on per GB per month

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

Instance Store: Benefits, Details?

A
  • Provides TEMPORARY block-level storage for your EC2 instance.
  • Local on EC2 host: disks are physically attached to the host computer
  • Fastest storage option AWS can provide
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Instance Store: Max Throughput?

A

> With a D3 instance, you can achieve 4.6 GB/s of throughput.
With an I3 instance, you can achieve 16 GB/s of throughput.

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

EBS: Details?

A
  • EBS is a Network Attached Storage
  • EBS is highly resilient and is separate from the EC2 host
  • Volumes have a block number
  • Can be encrypted using KMS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

EC2: What are the following common instance types?
C, R, I, D, G, P

A

C: Compute
R: RAM
I: IO
D: Dense Storage
G: GPU
P: Parallel processing

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

In which situations can you connect network interfaces or EBS storage located in one AZ to an EC2 instance located in a different AZ?

A

Never. This is impossible since EC2 instances live exclusively within one AZ.

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

What properties are attached to ENIs?

A

> Security Groups (these are not attached directly to the EC2 instance)
Mac Address
Primary IPv4 Private IP (from within the subnet)
0 or more secondary private IPs
0 or 1 Public IPv4 address
1 elastic IP per private IPv4 address
0 or more IPv6 addresses

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

ENIs: How to move software licenses between EC2 instances?

A

> Attach your licenses to a secondary ENI, since you can later detach and move the secondary ENI to a different instance.
Note that software licenses are typically tied to the MAC address, which comes from the ENI.

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

ENIs: Do public DNS names get resolved to the public or private IP for an ENI?

A

Trick question!
Within a VPC, the public DNS name resolves to the private IP.
Outside the VPC, the public DNS name resolves to the public IP.

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