Packer amazon-ebs Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:
amazon-ebs creates Amazon [[Amazon_EC2_Concepts#AMI_.28Amazon_Machine_Image.29|AMIs]] [[Amazon_EC2_Concepts#AMI_Storage_for_Root_Device|backed by EBS volumes]] for use in EC2.
amazon-ebs creates Amazon [[Amazon_EC2_Concepts#AMI_.28Amazon_Machine_Image.29|AMIs]] [[Amazon_EC2_Concepts#AMI_Storage_for_Root_Device|backed by EBS volumes]] for use in EC2.


The builder launches an EC2 instance from a source AMI, provisions that running VM, and then creates an AMI from that VM, in the AWS account whose credentials are specified as shown [[Packer_Operations#Credentials|here]].
The builder launches an EC2 instance from a source AMI, provisions that running VM, and then creates an AMI from that VM, in the AWS account whose credentials are specified as shown [[Packer_Operations#Credentials|here]]. The builder will create temporary keypairs, security group rules, etc. that provide it temporary access to the instance while the image is being created. This simplifies configuration quite a bit.
 
The builder does not manage the AMIs.

Revision as of 02:38, 15 November 2019

External

Internal

Overview

amazon-ebs creates Amazon AMIs backed by EBS volumes for use in EC2.

The builder launches an EC2 instance from a source AMI, provisions that running VM, and then creates an AMI from that VM, in the AWS account whose credentials are specified as shown here. The builder will create temporary keypairs, security group rules, etc. that provide it temporary access to the instance while the image is being created. This simplifies configuration quite a bit.

The builder does not manage the AMIs.