EC2 Instance Storage Flashcards

(25 cards)

1
Q

What’s an EBS volume?

A

Network drive you can attach to your instances while they run, allows your instances to persist data even after termination

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

If you have an EBS volume in one AZ, can you move it to a different AZ?

A

No

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

What is an EBS snapshot?

A

Backup of your EBS volume at a point in time, can copy snapshots across AZ region

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

EBS snapshot archive

A

Move a snapshot to an archive tier that is 75% cheaper

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

Recycle Bin for EBS snapshots

A

Rules to retain deleted snapshots so you can recover them after accidental deletion (1 day to 1 year retention)

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

Fast snapshot restore

A

Forces full initialisation of snapshot to have no latency on first use (costs lots of money)

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

What is AMI?

A

Amazon Machine Image (customisation of EC2 instance, add your own software, config, OS )

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

AMI process

A
  • Start EC2 instance and customise
  • Stop the instance for data integrity
  • Build an AMI (this will create snapshots)
  • Launch instances from other AMIs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

EC2 Instance store

A
  • high performance hardware disk
  • better I/O performance
  • lose their storage if they’re stopped (ephemeral)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are EC2 instance stores good for?

A
  • Buffer, cache, scratch data, temporary content
  • high performance I/O
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How are EBS volume types characterised?

A

Size, throughput, IOPS

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

Which EBS volume types can be used as boot volumes?

A

gp2/gp3 and io1/io2 block express

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

General purpose SSD (gp2/gp3)

A
  • cost effective storage, low latency
  • system boot volumes
  • gp3 is newer version (can independently set IOPS whereas gp2 its linked together)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Provisioned IOPS (PIOPS) SSD (io1/io2)

A
  • critical business applications with sustained IOPS performance
  • great for database workloads sensitive to storage performance
  • support EBS multi attach
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Hard Disk Drives (HDD) (st1/sc1)

A
  • cannot be a boot volume
  • st1 = throughput optimised HDD for big data, data warehouses, log processing
  • sc1 = cold HDD for data infrequently accessed, low cost
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

EBS multi attach

A

attach same EBS volume to multiple EC2 instances in the same AZ (only available io1/io2)

17
Q

EBS multi attach use case

A

achieve higher application in clustered linux applications (must be in same AZ, up to 16 instances)

18
Q

Amazon EFS (elastic file system)

A

Managed network file system that can be mounted on many EC2, works with EC2 instances in multi-AZ

19
Q

EFS use cases

A

Content management, web serving, data sharing, wordpress

20
Q

EFS performance classes

A
  • EFS scale (scale up and down automatically)
  • Performance mode
  • Throughput mode
21
Q

EFS storage classes

A
  • Standard (frequently accessed files)
  • Infrequent access (cost to retrieve files)
  • Archive (rarely accessed data)
22
Q

EBS volumes

A
  • one instance (except multi attach io1/io2)
  • locked to AZ level
  • gp2: IO increases if disk size increases
  • gp3/io1 can increase IO independently
23
Q

Migrate EBS volume across AZ

A
  • take a snapshot
  • restore snapshot to another AZ
  • EBS backups use IO and you shouldn’t run them while application is handling traffic
24
Q

True or false? Root EBS volumes of instances get terminated by default if EC2 instance gets terminated

A

True but you can disable it

25