我正在使用PHP庫Zend與Amazon EC2一起工作。我創建了自己的圖像(AMI),它是一個x84_64機器(即不是默認的i386體系結構)。我想使用Zend以編程方式從PHP啓動它。 Zend提供了一個'運行'方法來運行AMI(參見http://framework.zend.com/manual/en/zend.service.amazon.ec2.instance.html)。使用Zend啓動x86_64 Amazon EC2實例?
然而,當我嘗試運行它,我得到以下異常:
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
如何運行這個AMI,並告訴Zend公司,它是x86_64的?文檔沒有對此做任何說明。