AMI 101 Flashcards

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instances-and-amis.html

1
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
2
Q

What is an AMI?

A

A template that contains a software configuration.

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

What is an instance?

A
  • An instance is a virtual server in the cloud
  • It’s configuration at launch is a copy of the AMI that you specified when you launched the instance.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the attributes based on which you can select an AMI?

A
  • Region
  • OS
  • Architecture
  • Launch Permissions
  • Storage for the Root Device (Root Device Volume)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a root device?

A
  • When you launch an instance, the root device volume contains the image used to boot the instance.
  • Think of it as where the OS is installed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the two types of Root Device Volumes for AMIs?

A
  1. Instance Store
  2. EBS-backed volumes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the key differences between the two types of root device volumes for AMIs?

A
  • In an EBS-backed volume, the Root Device is an EBS volume created from an EBS snapshot
  • In an Instance Store Volume, the Root Device is an instance store volume created from a template stored in S3
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Why are Instance Store Volumes sometimes also called Ephemeral Volumes?

A

Instance Store volumes cannot be stopped. If the underlying host fails, you lose the data.

(EBS-backed instancess CAN be stopped, and you do NOT lose the data if it is stopped)

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

If you reboot a Root Device volume, do you lose your data?

A

No

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

By default, When you terminate a root device volume, is the volume deleted?

A

Yes, but for EBS volumes, you can tell AWS to keep the root device volume

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