Section7: EC2 Instance Storage Flashcards

1
Q

What is an EBS(Elastic Block Store) volume?

A
  • Is an network drive(not a physical drive) which you can attach while instance is running.
  • It allows your instance to persist data even after the instance is terminated.
  • They can only be mounted to one instance at a time.
  • They are locked to an Availability Zone
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a AMI?

A
  • AMI = Amazon Machine Image
  • AMI are customization(software,OS,config) of an EC2 instance.
  • AMI are built for specific region.
  • You can launch EC2 instances from :
    -> A public AMI
    -> Your own AMI
    -> An AWS Marketplace AMI
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the AMI process? Or how to create AMI?

A
  • Start an EC2 instance and customize it
  • Stop the instance
  • Build an AMI
  • Launch instances from other AMIs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a EC2 instance Store?

A
  • High performance disk attach to a EC2.
  • Data are loss when you terminate the instance.
  • Good for buffer/cache
  • Risk of data loss if hardware fails, backups are your responsibility.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Name different EBS Volumes types

A

1) gp2/gp3(SSD): General purpose SSD.
> Cost effective storage, low-latency
> System boot volumes, Virtual desktop
> 1 Gig to 16Tib
2) io1/io2(SSD) High performance SSD
> Critical business applications.
> Or applications that need more than 16000 IOPS
> Great for database workloads
3) st1(HDD): Low cost HDD
4) sc1(HDD): Lowest cost HDD.

Note: Only gp2/gp3 and io1/io2 can be used as boot volumes.

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

What is EBS Multi-Attach?

A
  • From the io1/io2 family
  • Can attach same EBS volume to multiple EC2 instances in the same AZ.
  • Must use file system which is cluster-aware.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is EFS?

A
  • EFS(Elastic File System)
  • Managed NFS(network file system) that can be mounted on many EC2
  • EFS works with EC2 instances in multi-AZ.
  • Highly available, scalable, expensive
  • Compatible with Linux bases AMi(not windows)
  • Use case: content management, web serving, data sharing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

EFS - Performance & Storage Classes Options

A
  • Performance Mode(set at EFS creation time)
    > General purpose(default): latency-sensitive use case(web servers)
    > Max i/O: Higher latency throughput(big data,media processing)
  • Throughput mode
    > Burst: low for short burst
    > Provisioned: Set your throughput regardless of storage size
  • Storage Tiers
    > Standard: for frecently accessed files
    > Infrequent access:cost to retrieve files, lower price to store
How well did you know this?
1
Not at all
2
3
4
5
Perfectly