Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
3 votes
0 answers
822 views

packer to bake AMI from shared AMI and Share with other AWS Account

I am trying to create AMI with (shared AMI from another Account). since i do not have access to snapshot i cannot create or rename AMI so i opted to use Packer to Bake New AMI with needed custom Name. ...
mebb's user avatar
  • 143
-1 votes
4 answers
2k views

Automate latest AMI for EC2 Image Builder or Packer

Want to automate using any Jenkins Pipeline : How to detect the latest AMI ID available and use that for customization like additional packages ? Any other tool to detect new AMI and deploy EC2 ...
Pankaj Rudrawar's user avatar
11 votes
2 answers
10k views

Where does packer store the private key?

From ubuntu shell I ran below command, to talk to aws platform, to customise amazon ami(ami-9abea4fb): $ packer build -debug template.packer Debug mode enabled. Builds will not be parallelized. ...
overexchange's user avatar
3 votes
0 answers
480 views

Instance launched from custom AMI fails to launch when installing python modules using Python 3.7

I'm creating a custom Ubuntu AMI using Packer and then using it to launch an EC2 instance, which then has an application deployed to it using CodeDeploy. On this instance I need to use Python3.7 as I'...
Slushysnowman's user avatar
1 vote
1 answer
544 views

packer, aws: "ec2-bundle-vol: line 6: ruby: command not found"

I'm using packer, this is in my provisioners (or the relevant parts at least) right after a provisioner that installs ruby. { "type": "shell", "inline_shebang": "/bin/bash", "inline": [ "...
Morgan's user avatar
  • 1,449
45 votes
2 answers
31k views

Convert Amazon EC2 AMI to Virtual or Vagrant box

I'd like to copy the disk image of a running EC2 instance (grab the AMI) and import it into virtual box or eventually have it run using Vagrant. I saw that packer (http://www.packer.io/) allows you to ...
Justin W.'s user avatar
  • 1,007