I use Zend, a PHP library, to work with Amazon EC2. I created my own image (AMI), this is an x84_64 machine (i.e. Not the default i386 architecture). I want to run it programmatically with PHP using Zend. Zend provides a “run” method to run AMI (see 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: throw an exception "Zend_Service_Amazon_Ec2_Exception" with the message "The architecture of the requested instance type (i386) does not match the manifest architecture for ami-faa48e8e (x86_64)" in / usr / local / Q / libs / zend / library / Zend / Service / Amazon / Ec 2 / Abstract.php: 273
How to run this AMI and tell Zend that it is x86_64? The documentation says nothing about this.
source
share