Return to site

Vagrant create box from iso

broken image
broken image

You'll need this to register a private AMI. Create 'vmimport' IAM role and policy as well as X509 key and cert pair in case you don't have it. Then you can use vagrant to reference the new AMI for ec2 based development and use the vagrant-aws plugin to create new ami's out of your trusted base ami.ġ.) Create an S3 bucket for image imports.Ģ.) Set up your AWS account.

broken image

Packer doesn't have a post-processor for this unfortunately. All you need to do is clone it and tweak it for your use case.īut since you're looking for packer like I was then what you need is the virtualbox-iso builder in packer and some aws-cli commands to upload and create an AMI out of the OVA. If you don't mind using veewee there's an awesome post using veewee instead of packer here: veewee It's all setup for CentOS. You want to install from scratch locally first and import that to ec2 as a trusted private AMI. When you say from ISO that tells me you're looking to create a trusted base VM.

broken image