I'm using Zend, a PHP library, to work with Amazon EC2. I have created my own image (AMI), it's a x84_64 machine (i.e. not the default i386 architecture). I want to launch it programmatically from PHP using Zend. Zend provides a 'run' method to run an AMI (cf. http://framework.zend.com/manual/en/zend.service.amazon.ec2.instance.html).
However when I try to run it I get the following exception:
PHP Fatal error: Uncaught exception 'Zend_Service_Amazon_Ec2_Exception' with message 'The requested instance type's architecture (i386) does not match the architecture in the manifest for ami-faa48e8e (x86_64)' in /usr/local/Q/libs/zend/library/Zend/Service/Amazon/Ec2/Abstract.php:273
How do I run this AMI and tell Zend that it is a x86_64? The documentation doesn't say anything on this.