]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[cloud] Add utility for importing images to AWS EC2
authorMichael Brown <mcb30@ipxe.org>
Tue, 16 Feb 2021 00:27:40 +0000 (00:27 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 16 Feb 2021 00:27:40 +0000 (00:27 +0000)
commitd16535aa4fcb30c78559103e1bc994fa99bf5748
treea7e035fe68eb488da4e433ff55fee664797dcd53
parent1b99ba2a93df92df63a7cddfb1b2cfb7b96be772
[cloud] Add utility for importing images to AWS EC2

Add a utility that can be used to upload an iPXE disk image to AWS EC2
as an Amazon Machine Image (AMI).  For example:

  make CONFIG=cloud EMBED=config/cloud/aws.ipxe bin/ipxe.usb

  ../contrib/cloud/aws-import -p -n "iPXE 1.21.1" bin/ipxe.usb

Uploads are performed in parallel across all regions, and use the EBS
direct APIs to avoid the need to store temporary files in S3 or to run
VM import tasks.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
contrib/cloud/aws-import [new file with mode: 0755]