Hi Jose, I've executed the examples with AWS and they were failing. The issue was in the template selection. I've changed that to make sure it picks an Ubuntu template and also configured the default login to use sudo, to avoid permission problems. This should make the examples work out of the box. I've also upgraded the examples to use jclouds 1.7.0, and configured them to install Chef using the Omnibus installer instead of using the gems.
I've executed the examples again with the changes and the default command, as you did, and it worked for me. By default it will install the Apache web server. However, the service did not start, but the cause was a misconfiguration of the cookbook. If you find the same issues you can try with other cookbooks like mysql or so (note that you may have to open ports in the template if you install certain coobooks (such as the apache one) if you want to be able to access the web server). If you want to see the complete output of the script, just access the node via SSH and go to: /tmp/jclouds*. There you'll find a file with the output of the bootstrap script. Also note that jclouds will create a new user and install your SSH key, so just a "ssh <node ip>" should be enough to access the node. HTH! Ignasi On 23 January 2014 14:46, Andrew Phillips <[email protected]> wrote: > Hi Jose > > I'm not the Chef expert here, but just to clarify: the output you pasted was > from > > > java -jar target/chef-basics-jar-with-dependencies.jar aws-ec2 accesskey > secretkey mygroup add > > or > > java -jar target/chef-basics-jar-with-dependencies.jar aws-ec2 accesskey > secretkey mygroup solo > > ? And I'm assuming you have '~/.ssh/id_rsa' (or equivalent on a Windows > machine) present, as described in the README [1]? > > Regards > > ap > > [1] https://github.com/jclouds/jclouds-examples/tree/master/chef-basics
