According to AWS documentation you can create a Custom AMI two different ways.
http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html
I'm creating my AMI directly from an EC2 instance so the OPworks Agent should NOT be there. Nevertheless instances created with my AMI would NOT get pass the setup stage.
Does anyone knows why this is?
Update:
Here's some more information. If you look at the article above it says to stop the OPworks agent etc. Well I logged into an instance created with the Amazon linux image and the opworks agent is installed and running. On my instance created from the custom AMI that never happens. The instance simply boots and stays there:
[ec2-user@ip-10-252-81-177 ~]$ pstree
init─┬─abrtd
├─agetty
├─atd
├─auditd───{auditd}
├─automount───4*[{automount}]
├─certmonger
├─crond
├─cupsd
├─dbus-daemon───{dbus-daemon}
├─dhclient
├─hald─┬─hald-runner
│ └─{hald}
├─master─┬─pickup
│ └─qmgr
├─6*[mingetty]
├─rhsmcertd
├─rpc.statd
├─rpcbind
├─rsyslogd───3*[{rsyslogd}]
├─sshd───sshd───sshd───bash───pstree
└─udevd───2*[udevd]
[ec2-user@ip-10-252-81-177 ~]
No opsworks agent is running and no opswork binary exist: Visit http://aws.amazon.com/opsworks for more information.
[ec2-user@ip-10-252-16-152 ~]$ locate opworks
[ec2-user@ip-10-252-16-152 ~]$ sudo find / -name "*opworks*" -print
[ec2-user@ip-10-252-16-152 ~]$
Thanks!