AMIs Flashcards
What is included in an AMI?
All the information needed to launch an EC2 instance?
What does AMI stand for?
Amazon machine image
True or false: an AMI includes a template for the root volume?
True.
What is the template for the root volume?
An operating system, application, etc
True or false: an AMI includes the launch permissions?
True
What are the launch permissions for an AMI?
This defines which AWS accounts can use the AMI to launch the instance
True or false: an AMI includes a block-device mapping?
True
What is block device mapping for an AMI?
This specifies EBS volumes to attach to the instance at launch time.
True or false, AWS does not provide AMIs. Those must be created by the customer.
False. AWS provides a fleet of default AMIs.
How can you create your own AMI?
Get an instance just the way you need it, then create a custom image from the instance using the console.
You created a custom AMI using CLI, but now you can’t find it in the AMI menu? What’s wrong?
Since you used CLI to create the AMI, you must manually register the AMI before you can launch the instance.
you registered your AMI instance and switch to eu-west-1 to deploy your new AMI, but it isn’t in the AMI menu. What’s wrong?
Since you registered your AMI, the switched your region to deploy it, the AMI will not be registered in the new region. Copy the AMI to the new region and register it.
True or False: By default, a new AMI is public?
False, it is private
Can you share your AMI?
Yes, either with specific AWS accounts, or publicly
True or False: You can sell your AMI on the AWS AMI marketplace
True
Where are AMIs stored?
S3
In order to copy a storage-backed AMI, what must the owner do to allow an AMI to be copied?
They must grant read permission for the storage that backs the AMI
True or False: If you copy an AMI, you are now the owner of the copy, and will be charged for storage of that copy?
True
True or False: You can copy and deploy from a shared encrypted AMI
False. You cannot directly copy a shared AMI.
How can a sharer of an encrypted AMI allow you to deploy an instance from it?
They must share the AMI and the encryption key. Might be better to decrypt the AMI, then share it.