Section 7: EC2 Instance Storage Flashcards

1
Q

What are EBS snapshots?

A

Make a backup of EBS volume at a point in time, and can copy snapshots across AZ / region

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

How do you change an EBS Volume’s AZ?

A

1) create snapshot
2) turn snapshot into AMI (Amazon Machine Image)
3) Launch AMI into an EC2 in different AZ / region

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

Can EBS volumes be encrypted? What if taking a snapshot of unencrypted volume? Encrypted volume? What are the encryption statuses for each?

A

Answer: yes, EBS volumes can be encrypted. Unencrypted volumes have unencrypted snapshots and vice versa. Although you can choose to encrypt a snapshot of an unencrypted EBS.

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

What is an Amazon Machine Image (AMI)?

A

An AMI is a virtual machine image or a single virtual disk which contains a bootable operating system installed on it. Provides the information requred to launch an EC2 instance.

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

Describe the AMI process for an EC2 Instance

A

1) start an EC2 and customize it
2) Stop the instance for data integrity
3) build an AMI (this will create EBS snapshots)
4) launch Instances (only works for region that has the AMI)

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

Can you copy an AMI? What are the Details?

A

Yes, AMI’s can be copied. AMI’s are region specific, but can be moved with snapshots. AWS does not copy launch permissions or other permissions from a source AMI to a new AMI for security.

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

EC2 Instance Store vs EBS Volume. When to use which?

A

EBS volumes are network drives with good but “limited” performance, if you need high-performance hardware disk, use EC2 Instance Store

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

What are the advantages of an Instance Store over EBS?

A
  • Better I/O performance and higher throughput than EBS volumes
  • Good for buffer / cache/ scratch data/ temporary storage
  • Multiple instance store volumes can be attached when launching an instance, but no additional ones after launching (unlike EBS)
  • For high-performance database that requires an IOPs above 256,000 use instance store
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is EFS (Elastic File system?

A

Elastic file system is a linux based network file system (NFS) that allows you to mount the same file system on EC2 instances that are in different AZs

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

EFS Pro’s and Con’s?

A

Pro’s:
- EFS can attach to multiple instances
- Highly available, scalable
- encrypted at rest using KMS
- Storage is elastic (grows and shrinks automatically)
Con’s:
- Expensive
- No capacity planning

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

What is EBS multi-attach?

A

EBS Multi-attach allows you to attach the same EBS volume to multiple EC2 instances in the same AZ
- However it is an ephemeral drive, so we max out I/O for the risk of losing the data on EC2 loss

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