Udemy Lecture 4: EC2 Instance Storage Flashcards

1
Q

What is an EBS (Elastic Block Store) Volume ?

A

is a network drive you can attach to your instance while they run

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

What does EBS do for you?

A

It allows your instance to persist data even after their termination

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

What are some rules that apply to EBS?

A

-They can only be mounted to one instance at a time (at the CCP level (certified cloud practitioner level, one -EBS can be only mounted to one EC2 instance))
-EBS volume are bound to a specific availability zone (to move a volume across you first need to snapshot it)
-Analogy: think of them as a “network USB stick”

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

EBS volume uses the ________ to communicate the instance, which means there might be a bit of latency

A

network

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

What are some aspect of EBS delete on termination attribute?

A

-It controls the EBS behavior when an EC2 instance terminates
-By default the root EBS volume is deleted (attribute enabled)
-By default any other attached EBS volume is not deleted (attribute disabled)
-This can be controlled by the AWS console / AWS CLI
-You can preserver the root volume when an instance is terminated with it

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

What is an EBS snapshot?

A

Make a backup (snapshot) of your EBS volume at a point in time

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

Can copy ______ across AZ or region (to setup a new EBS volume in a different AZ or region)

A

snapshots

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

What are the two EBS snapshots features?

A
  1. EBS snapshot archive
  2. Recycle Bin for EBS snapshots
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are some aspects of EBS snapshot archive?

A
  • Allow you to move a snapshot to an “archive tier” that is 75% cheaper
  • Takes within 24 to 72 hours for restoring the archive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are some aspects of recycle bin for EBS snapshots?

A

-Setup rules to retain deleted snapshots so you can recover them after an accidental deletion
-Specifiy retention (from 1 day to 1 year)

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

What does AMI stand for?

A

amazon machine image

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

AMI are a ___________ of an EC2 instance

A

customization

-You add your own software, configuration, operating system, monitoring
-Faster boot/ configuration time because all your software is pre-packaged

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

AMI are built for a specific ______ & can be copied across _______

A

regions

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

What are the different AMIs that you can launch an EC2 from?

A
  • A public AMI: like AWS provided
    -Your own AMI: you make & maintain them yourself
  • An AWS marketplace AMI: an AMI someone else made (& potentially sells)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the AMI process from an EC2 instance?

A

-Start an EC2 instance & customize it
-Stop the instance (for data integrity)
-Build an AMI - this wil also create EBS snapshots
-Launch instances from other AMIs

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

What is EC2 image builder?

A

Used to the creation of virtual machines or container images

-Automate the creation, maintain, validate & test EC2 AMIs
-Can be run on a schedule (weekly, or whenever packages are updated,etc)

17
Q

EBS volumes are network drives with good but “______]” performance

A

limited

18
Q

If you need a high performance hardware disk use _________

A

EC2 instance store

-Can be used for better I/O performance

-EC2 instance store lose their storage once the EC2 is terminated (so they are ephemeral storage- not good for long term data storage)

-Good for buffer/cache/ scratch data/ temporary content

-If the hardware fails then the data will be loss (so backup & replication are your responsibility)

19
Q

When an instance has very high read & write IOPS (like 100,000 or millions) means it has local ________

A

EC2 instance store

20
Q

What is EFS?

A

is managed NFS (network file system) that can be mounted on 100s of EC2

21
Q

EFS works with linux EC2 instances with _________

A

multi-AZ

22
Q

What is the difference between EBS & EFS?

A

EBS volume can only attach to one instance in one AZ & if you wanted to move the EBS into another AZ then need to create a snapshot of your EBS & restore that snapshot into a new AZ

EFS shares everything that is mounted to it so if you have many instances in different AZ, you still mount to the same EFS (& see the same files) with the EFS mount target

23
Q

What is EFS infrequent access (EFS-IA)

A

Storage class that is cost-optimized for files not accessed every day

-Up to 92% lower cost compared to EFS standard

-EFS will automatically move your file to EF-IA based on the last time they were accessed

-Can enable EFS-IA with lifecycle policy
Ex. can set it to move files that havent been accessed for 60 days to EFS-IA

24
Q

What is AWS responsible for related to EC2 storage?

A

-Infrastructure
-Replication for data for EBS volumes & EFS drives
-Replacing faulty hardware
-Ensuring their employee dont have access to your data

25
Q

What are you responsible for related to EC2 storage?

A

-Setting up backup/ snapshot procedures
-Setting up data encryptions
-Responsibility for nay data on the drives
-Understanding the risk of using EC2 instance store

26
Q

What are the two different 3rd party high performance file system on AWS?

A
  1. FSx for lustre
  2. FSx for windows file server
27
Q

What is Amazon FSx?

A

A fully managed, highly reliable & scalable window native shared file system

-Built on windows file server

-Supports SMB protocol & windows NTFS
Integrated with mircosoft active directory & can be access from AWS or your on premise infrastructure

28
Q

What is FSx for lustre?

A

A fully managed, high performance, scalable file storage for high performance computing (HPC

-Can run machine learning, analytics, video procressing, financial modeling, etc

-Scales up to 100s GB/s millions of IOPS, sub-ms latencies

29
Q

You cannot use AMls to add ___________. IP addresses are added to an instance as you create it.

A

your own IP addresses.

30
Q

EC2 Instance Store has a better I/O performance, but data is lost if: ______________, or when the underlying disk drive fails.

A

the EC2 instance is stopped or terminated