Section 6 - EBS (Elastic Block Store) Flashcards

1
Q

What is EBS Volume?

A
  • EBS (Elastic Block Store ) is a network drive.
  • Locked to an availability zone
  • provisioned storage (size in GBs and IOPS) billed for all provision capacity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Is EBS Multi-Attach possible (CCP answer)?

A

For CCP (Certified Cloud Practitioner) , one EBS can be only mounted to one EC2 instance. For associate level, multi-attach feature for some EBS.

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

What happens to EBS when the associated EC2 is terminated?

A

By Default, root EBS volume is deleted and other attached EBS volume is not deleted. Deletion on termination is an attribute used to control the behavior.

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

What does the Delete on Termination attribute on EBS do?

A

Controls the EBS behavior when an EC2 instance terminates. By default, root EBS is deleted and others are not deleted.

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

What is EBS snapshots?

A

EBS snapshots are a backup (snapshot) of your EBS volume at a point in time. Once snapshotted, it can be copy across AZ or Regions?

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

Do you need to detach an EBS volume to do a EBS Snapshot?

A

Although recommended to detach your EBS volume before snapshot, it is not necessary to detach volume.

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

How can an EBS volume be used in other AZ or Regions?

A

EBS Volume can’t be used directly in other AZ or Regions. EBS Snapshot needs to be taken and then restored into another region or AZ.

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

What is an AMI?

A
  • AMI ( Amazon Machine Image) are customized EC2 instances with software , configuration , os, setup as you like.
  • AMI allows for faster boot / configuration time
  • AMI are built for a specific region
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the types of AMI from you can launch EC2 instance from?

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

How does the AMI work from start to end?

A
  • Start an EC2 instance
  • Customize it
  • Stop the instance ( for data integrity)
  • Build an AMI - this will also create EBS snapshots
  • Launch instance from other AMIs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is EC2 Image Builder?

A

EC2 Image Builder is used to automate the creation of Virtual Machines or container images.

  • automate the creation, maintain, validate and test EC2 AMIs
  • can be scheduled
  • Free service ( only pay for the underlying resources)
  • Use case: build monthly patched AMI
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the basic EC2 Image Builder flow?

A

EC2 Image Builder -(create)-> builder EC2 Instance -(create)-> New AMI -> Test EC2 instanceAMI is distributed (can be multiple regions)

  • builder EC2 Instance
    • build components applied
  • Test EC2 Instance
    • Test suite is run
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is EC2 Instance Store?

A
  • EC2 Instance Store is a high-performance hardware disk.
    • EBS volumes are network drives with good but “limited” performance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the attributes of EC2 Instance Store?

A
  • Better I/O performance
  • EC2 Instance Store lose their storage if they’re stopped (ephemeral)
  • Good for buffer/cache/scratch data/temporary content
  • Risk of data loss if hardware fails
  • Backups and Replication are your responsibility
  • i3 → types
    • i3.large, i3.xlarge, etc…
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is EFS?

A

EFS (Elastic File System) is a managed NFS (network file system) that can be mounted on 100s of EC2…. Linux, multi-AZ, expensive, HA

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

What are the attributes of EFS?

A
  • Can be mounted on 100s of EC2
  • EFS works with Linux EC2 instances
  • Multi-AZ
  • Highly available
  • Scalable
  • Expensive (3x gp2)
  • pay per use
  • no capacity planning
17
Q

What is the difference between EBS vs EFS?

A
  • EBS
    • Single AZ
    • Single attachment
    • EBS snapshot to move between AZ
  • EFS
    • Multi-AZ
    • Multi-attachment
    • Linux only
18
Q

Explain EFS Infrequent Access (EFS-IA)

A
  • Storage class that is cost-optimized for files not accessed every day
  • 92% lower cost
  • Auto move your files to EFs-IA
  • Enable EFS-IA with lifecycle policy
  • Transparent to apps
19
Q

Explain Shared Responsibility Model for EC2 Storage

A
  • AWS
    • Infrastructure
    • Replication for data for EBS volumes & EFs drives
    • Replacing faulty hardware
    • Ensure their employee cannot access your data
  • Customer
    • Backup/snapshot procedure
    • data encryption
    • data on drivees
    • understanding risk of EC2 Instance Store
20
Q

What is Amazon FSx?

A

Amazon FSx (File Server) is a 3rd party high-performance file systems and fully managed.

21
Q

What are the 3 types of Amazon FSx?

A
  • FSx for Lustre
  • FSx for Windows File Server
  • FSx for NetApp ONTAP
22
Q

Explain Amazon FSx for Windows File Server

A
  • Fully managed, highly reliable, and scalable Windows native shared file system
  • Built on Windows File Server
  • Supports SMB protocol & Windows NTFS
  • Integrated with Microsoft Active Directory
  • Can be access from AWS or your on-premise infrastructure
23
Q

Explain Amazon FSx for Lustre

A
  • Fully managed, high-performance, scalable file storage for High Performance Computing (HPC)
  • Lustre is derived from “Linux” and “cluster”
  • ML, Analytics, Video Processing, Modeling
  • Scales up to 100s GB/s, millions of IOPS, sub-ms latencies