0
我嘗試在AWS實例安裝Tomcat食譜,但經歷如下錯誤:刀EC2服務器建立返回403禁止
角色tomcat.rb:
name 'tomcat'
description 'A single tomcat server'
run_list(
'recipe[tomcat]'
)
運行:
knife ec2 server create --availability-zone us-east-1d --node-name tomcat.demo --flavor t1.micro --image ami-fd20ad94 --identity-file .ssh/tiagov.pem --run-list 'role[tomcat]' --ssh-user ubuntu
返回:
...
...
ec2-54-237-233-176.compute-1.amazonaws.com xorg-sgml-doctools xtrans-dev
ec2-54-237-233-176.compute-1.amazonaws.com 0 upgraded, 85 newly installed, 0 to remove and 0 not upgraded.
ec2-54-237-233-176.compute-1.amazonaws.com Need to get 63.2 MB of archives.
ec2-54-237-233-176.compute-1.amazonaws.com After this operation, 184 MB of additional disk space will be used.
ec2-54-237-233-176.compute-1.amazonaws.com Err http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libasound2 amd64 1.0.25-1ubuntu10.1
ec2-54-237-233-176.compute-1.amazonaws.com 403 Forbidden
我在做什麼錯?