我使用橡膠部署到EC2(以下Railscast#347)。我剛纔跑「封口膠:create_staging」,並正在此錯誤:EC2:「屬於其他用戶的組可能未被授予對VPC安全組的權限。」
"Groups belonging to other users may not be granted permissions to VPC security groups."
[email protected]:~/projects/usesthis☺ cap rubber:create_staging
Respawning with 'bundle exec'
triggering load callbacks
* 2013-08-19 08:55:19 executing `rubber:init'
* 2013-08-19 08:55:21 executing `rubber:create_staging'
Hostname to use for staging instance [production]:
Roles to use for staging instance [apache,app,collectd,common,db:primary=true,elasticsearch,examples,graphite_server,graphite_web,graylog_elasticsearch,graylog_mongodb,graylog_server,graylog_web,haproxy,mongodb,monit,passenger,postgresql,postgresql_master,web,web_tools]:
* 2013-08-19 08:55:23 executing `rubber:create'
* Creating new security group: usesthis_production_default
* Creating new rule: {"source_group_name"=>"usesthis_production_default", "source_group_account"=>"9050-9101-9552"}
/home/mike/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/excon-0.25.3/lib/excon/middlewares/expects.rb:6:in `response_call': InvalidParameterValue => Groups belonging to other users may not be granted permissions to VPC security groups. (Fog::Compute::AWS::Error)
我的帳戶中有沒有什麼其他的,亞馬遜的違約和什麼橡膠創建。 VPC是:「usesthis_production_default」和「默認」。
這是我第一次接觸Rubber或EC2,所以這對我來說意義不大。任何人都可以將我指向正確的方向嗎?
您是否擁有VPC安全組?您可以在AWS控制檯中的VPC,安全組中查看它們。 –
我更新了任務。 VPC是亞馬遜似乎創建的「默認」,以及Rubber創建的「usesthis_production_default」。 – mikewilliamson