Monday, May 14, 2012

EC2 Bundling an AMI -- Server.InternalError: An internal error has occurred


Once you try to re-bundle an OS image that has been previously bundled, it will complain about /etc/ec2/amitools/cert-ec2.pem not being present.  I figured that was my certificate, but it is  EC2's X.509 public key certificate, not mine (docs are somewhat confusing about that).  Since they were stripped out of the AMI last time it was bundled, I reinstalled the tools to restore these certs and no errors any more.

AWS API tools:

http://aws.amazon.com/developertools/368

Hope this helps.

Original EC2 forum posts:

https://forums.aws.amazon.com/thread.jspa?messageID=345021

https://forums.aws.amazon.com/message.jspa?messageID=344101