我根据来自Amazon的Ubuntu11.10 64位AMI创建了一个自定义AMI。当我尝试启动它时,我会得到一个错误:
ec2-run-instances -t t1.micro ami-c0b368a9 -k showcase -z us-east-1a
Client.InvalidParameterValue: The requested instance type's architecture (i386) does not match the architecture in the manifest for aki-825ea7eb (x86_64)当我在这里查看常见问题时:http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/Instance_类型_和_Architectures.html
它说:“所有的实例类型都可以运行64位的AMI。”
如何启动64位AMI?
我正在OSX上运行ec2-api-tools 1.5.2.5和ec2-ami-tools 1.3-45758 .
任何帮助都将不胜感激。
命令提供--体系结构x86_64。
发布于 2012-04-18 22:26:08
你的ami-c0b368a9是32位。
由于某种原因,它是用64位内核映像(aki-825ea7eb)注册的。
您的AMI和AKI需要在架构上匹配。
您可以简单地指定一个32位内核来运行32位AMI,但是最好正确地构建和注册AMI。
https://serverfault.com/questions/380891
复制相似问题