Note that there are some explanatory texts on larger screens.

plurals
  1. POError setting up CloudFoundry 2 on AWS (AWS::S3::Errors::AccessDenied)
    text
    copied!<p>After watching <a href="http://www.youtube.com/watch?v=DSXNPa1-FWs&amp;feature=youtu.be" rel="nofollow">this awesome demo video</a>, I've been trying to setup a CloudFoundry2 installation on AWS <a href="http://docs.cloudfoundry.com/docs/running/deploying-cf/ec2/" rel="nofollow">according to the docs</a> and keep running into issues. </p> <p>I'm on OS X, so I ended up installing <code>rbenv</code> and <code>Ruby v 1.9.3-p327</code>, but now I can't follow the guide and am not sure how to proceed. I get the following error when trying to run <code>bosh aws create</code> to provision the Amazon services: </p> <pre><code>→ bosh aws create /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/aws-sdk-1.8.5/lib/aws/core/client.rb:339:in `return_or_raise': Access Denied (AWS::S3::Errors::AccessDenied) from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/aws-sdk-1.8.5/lib/aws/core/client.rb:440:in `client_request' from (eval):3:in `get_object' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/aws-sdk-1.8.5/lib/aws/s3/s3_object.rb:1272:in `get_object' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/aws-sdk-1.8.5/lib/aws/s3/s3_object.rb:1058:in `read' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh_cli_plugin_aws/s3.rb:51:in `block in fetch_object_contents' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_common-1.5.0.pre.650/lib/common/retryable.rb:23:in `block in retryer' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_common-1.5.0.pre.650/lib/common/retryable.rb:21:in `loop' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_common-1.5.0.pre.650/lib/common/retryable.rb:21:in `retryer' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_common-1.5.0.pre.650/lib/common/common.rb:119:in `retryable' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh_cli_plugin_aws/s3.rb:50:in `fetch_object_contents' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh_cli_plugin_aws/migrator.rb:81:in `load_migrations_for_env' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh_cli_plugin_aws/migrator.rb:35:in `environment_migrations' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh_cli_plugin_aws/migrator.rb:40:in `needs_migration?' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh_cli_plugin_aws/migrator.rb:11:in `migrate' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh/cli/commands/aws.rb:125:in `create' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli-1.5.0.pre.650/lib/cli/command_handler.rb:57:in `run' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli-1.5.0.pre.650/lib/cli/runner.rb:59:in `run' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli-1.5.0.pre.650/lib/cli/runner.rb:18:in `run' from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli-1.5.0.pre.650/bin/bosh:7:in `&lt;top (required)&gt;' from /Users/dave/.rbenv/versions/1.9.3-p327/bin/bosh:23:in `load' from /Users/dave/.rbenv/versions/1.9.3-p327/bin/bosh:23:in `&lt;main&gt;' </code></pre> <p>I'd really like to avoid manually setting up all the AWS components if possible, but if needs be I can go that route (assuming there's some good documentation to follow).</p> <p><strong>Bosh Details</strong></p> <pre><code>→ gem list bosh *** LOCAL GEMS *** bosh (1.3.0) bosh_aws_cpi (1.5.0.pre.650) bosh_cli (1.5.0.pre.650, 1.0.3) bosh_cli_plugin_aws (1.5.0.pre.650) bosh_cli_plugin_micro (1.5.0.pre.650) bosh_common (1.5.0.pre.650, 0.5.4) bosh_cpi (1.5.0.pre.650) bosh_openstack_cpi (1.5.0.pre.650) bosh_registry (1.5.0.pre.650) bosh_vcloud_cpi (1.5.0.pre.650) bosh_vsphere_cpi (1.5.0.pre.650) </code></pre> <p>Additional bosh info (probably not relevant, given I haven't deployed anything</p> <pre><code>→ bosh status Config /Users/dave/.bosh_config Director not set Deployment not set </code></pre> <p>Any help would be appreciated. Thanks!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload