EBS Flashcards

1
Q

What is EBS?

A

Is a network drive that you can attach to your instances while they run, allowing instances to persist data, even on termination. An EBS is locked to an AZ

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

If you want to keep the data of a EC2 instance even after termination, what you need to do?

A

Disable the default delete on termination behavior on EBS.

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

How can you bring an EBS from an AZ to another?

A

You can make a snapshot of the EBS, that will copy all data in it, and move it to the other AZ

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

What are some features of EBS snapshots?

A

You can move to an “archive tier”, where it takes 24 to 72 hours to restore, but is cheaper.

There is a recycle bin, where the snapshot is retained even after deleted. Retention period is configurable

Fast Snapshot Restore - force full initialization of snapshot

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

What is AWS AMI?

A

AMI is a customization of a EC2 instance. You can add your own software, monitoring, etc…

It is possible to create an AMI of a running instance

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

What is a good case to use EC2 instance store?

A

When you need better I/O performance, since the disk is attached to the instance, there is no network latency.

When the data is ephemeral. When the instance is terminated, the data is lost

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

What are the 3 EBS volume types?

A
  • General Purpose SSDs: cost effective storage, low-latency
  • Provisioned IOPS: great for database workloads, sustained IOPS performance
  • HDD
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Is it possible to attach a single EBS volume to many EC2 instances?

A

Yes, using EBS multi-attach, since the EC2 instances are in the same AZ.

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

What if you want to access the same data over EC2 instances that are in different AZs?

A

You can use EFS (Elastic File System), it is a managed NFS, that allows to mount the same file system on many EC2 over different AZs

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