Instance Storage Flashcards

1
Q

What is Elastic Block Store (EBS) and some of it’s features?

Can data be persisted after termination?
How many instances can it be mounted to at a time.
How many drives can one EC2 instance have.
Is an EBS bound to an AZ?

How much free storage do you get?

A

Network drive that you can attach to your instances. Think of it as a network USB stick.

Allows you to persist data even after termination
Can only be mounted to one instance at a time
One instance can have multiple drives
Bound to an AZ

Free 30GB Storage

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

What are some of the pros and cons of EBS being a network drive?

Is an EBS bound to an AZ? How can you move an EBS from one availability zone to another?

How are you billed?

What is the delete on termination attribute?

A

Pro: Can be detached and attached quickly to help with failover
Con: Uses the network so there may be some latency

By snapshotting it first then restoring.

You get billed by provisioned capacity GBs and IOPS.

Means the volume will be deleted after the EC2 instance it it attached to is terminated. This attribute is selected by default on root volumes. But not for manually created volumes.

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

What is an EBS Snapshot?

Is it necessary to detach the volume to create a snapshot?

Why are snapshots useful?

A

It’s a backup of your EBS volume that you can make at any time?

It is not necessary, but recommended.

Snapshots are useful for copying data from one AZ or Region to another.

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

What is an Amazon Machine Image (AMI)?

Why an an AMI useful?

What types of AMIs can EC2 instances be launched from?

A

An AMI represents a customization of an EC2 instance. You can add your own software, configuration operating system and monitoring.

It will allow you to have a faster boot/configuration time because all of your software is pre-packaged.

Public AMIs provided by AWS, Your own AMIs, and AWS Marketplace AMIs made by someone else.

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

What is an AMI tied to?

A

AMIs are built for a region and can be copied across regions.

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

What are the steps to create an AMI

A
  1. Start an EC2 instance and customize it
  2. Stop the instance (for data integrity)
  3. Build an AMI - This will also create an EBS spshot)
  4. Launch instances from other AMIs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an EC2 Instance Store?

Why would you use an EC2 Instance store vs an EBS drive?

What’s the downside of an EC2 Instance store?

How does an EC2 Instance store take care of backups?

What are the use cases for an EC2 instance store?

A

It’s a hardware disk attached to your EC2 instance.

For better performance. An EBS instance is a network drive which can cause latency. An instance store is physically connected to your instance, so it will perform better.. They also provide better IOPS

It is ephemeral. There is also a risk of data loss in the case of hardware failure.

It doesn’t, it’s your responsibility to handle this.

Good for buffer, cache, scratch data, temporary content.

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

What are the 6 volume types and what are they used for?

A

gp2/gp3 (SSD): General purpose SSD volume that balances price and performance for a wide variety of workloads

io1/io2 (SSD): Highest-performance SSD volume for mission critical low latency or high throughput workloads

st1 (HDD): Low cost HDD volume designed for frequently accessed throughput intensive workloads

sc1 (HDD): Lowest cost HDD volume designed for less frequently accessed workloads

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

How are EBS Volumes characterized?

A

Size/Throughput/IOPS

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

What does gp2/gp3 provide?
What are the uses of gp2/gp3?

What sizes does gp2/gp3 support

How may IOPS and how much throughput does gp3 provide?
How can the IOPS and throughput on gp3 be modified?

How may IOPS does gp2 provide?
How can the IOPS and throughput on gp2 be modified?

What’s one of the main things to remember about gp2 vs gp3?

A

Low cost, low latency disk

System boot volumes, Virtual desktops, Development and test envs

gp2/gp3 supports sizes of 1GB - 16TB

gp3 provides a a baseline of 3,000 IOPS and throughput of 125 MiB/s

The IOPS on gp3 can be increased up to 15,000 and the throughput can be increased to 1,000 MiB/s INDEPENDENTLY

Can burst up to 3,000 IOPS.
Size of the volume and IOPS are linked. Max IOPS is 16,000

The in GP3, the IOPS, Throughput and Disk size are not related, in GP2 they are.

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

What are Provisioned IOPS (PIOPS) SSD useful for?

What is the maximum number of PIOPS you can get for io1/io2?

Can PIOPS be provisioned indendependly from the storage size?

Why would you use io2 vs io1?

A

Critical business applications with sustained IOPS performance or applications that need more than 16,000 IOPS. They’re also great for database loads which are sensitive to storage performance.

64,000 with Nitro and 32,000 for other instance types.

Yes

io2 has more durability and more IOPS per GB (at the saem price as io1)

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

What is the latency on io2 Block express?

How many PIOPS do you get with io2 Block express?

What is the IOPS:GB ratio of io2 block express?

Why would yo use io2 Block express?

A

sub milisecond latency

A max of 256,000

1000:1

For the highest IOPS and lowest latency.

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

Which storage types support Multi Attatch?

A

PIOPS

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

What is the usecase for througput optimized HDD (st1)?

What is the max throughput of st1?

What is the use case for Cold HDD (sc1)

What is the max throughput and IOPS for SC1

What is one of the key limitations for hard disk drives (St1 and sc1)

A

Big data, Data Warehouses, Log processing.

500 Mib/s - Max IOPS 500

Data that is infrequently accessed where the lowest cost is important.

250 MiB/s - max IOPS 250

They cannot be a boot drive.

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

What is EBS multi-attach?

What is the use case for multi attach.

What must the application manage for this type of volume

What type of file system is needed in order to use multi attach?

A

It allows you to attach the same EBS volume to multipel ec2 instances in the same AZ.

Achieve high application availabililty in clustered linux applications (ex teradata)

The application must manage concurrent write operations.

A file system that is cluster aware.

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

What is throughput?

What are some DB throughput requirements?

A

Throughput is the measure of the transfer of bits across the network between
the Amazon EC2 instance running your database and the Amazon EBS volumes
that store the data

Most Oracle Database production systems in domains such as ERP (Enterprise
Resource Planning), CRM (Customer Relationship Management) are in the
range of 3,000–30,000 IOPS. in test, the range is usually 200–2,000 IOPS. Some online
transaction processing (OLTP) systems use up to 60,000 IOPS. There are
Oracle databases that use more than 60,000 IOPS, but that is unusual.