Hi Larry,<div><br></div><div>Norbert is working on a set of Chef [1] recipes for automating the creating of cloud images. These Chef recipes will supersedes the AMI I created, which was difficult to maintain and parameterise for different uses.</div>
<div><br></div><div>However in the meantime it seems like you're having a problem just getting started on EC2, prior to any Seaside specific configuration. Thing to check are:</div><div><br></div><div>1) Make sure you are ssh ing with a specified user, this varies depending on distribution. For Amazon's Linux distribution the user is ec2-user so you log-in with:</div>
<div> ssh <a href="mailto:ec2-user@ec2-79-125-71-160.eu-west-1.compute.amazonaws.com">ec2-user@ec2-79-125-71-160.eu-west-1.compute.amazonaws.com</a></div><div> For Ubuntu IIRC you have to login as root</div><div><br></div>
<div>2) Ensure you have have enabled SSH in your firewall configuration - though it doesn't sound as though that's your problem as the connection isn't timing-out, but failing during authenticating. SSH has a verbose options (-v) which can help diagnose where the problem lies:</div>
<div><div> ssh -v <a href="mailto:ec2-user@ec2-79-125-71-160.eu-west-1.compute.amazonaws.com">ec2-user@ec2-79-125-71-160.eu-west-1.compute.amazonaws.com</a></div></div><div><br></div><div>3) I know of three ways of using keys to authenticate with EC2 instances (there may be more). The method I describe in the blog post [2] makes use of "Cloud-init" [3] which is preinstalled for Amazon's Linux distribution - Cloud-init might not be installed with other distributions. Make sure you follow the syntax I describe in the post:</div>
<div><br></div><div><div>#cloud-config</div><div>ssh_authorized_keys:</div><div> - ssh-rsa AAAAB3NzaC1AAAABIwAAAQEAz21r7532bmknElW8cZhECXFqf/Z/+VRFSy........BtxwC2offQ==nickager@nicksmac.local</div></div><div><br></div><div>
Make sure you include the " - " before your key and lines "#cloud-config" & "ssh_authorized_keys:" </div><div>I find it helpful to form the syntax in a text editor prior to posting into the web-form.</div>
<div><br></div><div>It's most probable that this key step is failing for you. I've just tested again the instructions and they still work for me. However, as I mentioned above there are other ways to pass keys to Amazon - see [4] [5] - though you might have to install ec2 tools [6].</div>
<div><br></div><div>For whatever reason it seems Amazon doesn't have the keys it needs to authenticate you on the instance you've created. You should terminate that instance and start again. Don't worry about creating and terminating lots of instances while you experiment with the cloud. </div>
<div><br></div><div>Final thought make sure you are ssh ing using the public DNS address NOT the private DNS address that Amazon also displays.</div><div><br></div><div>Hope this helps</div><div><br></div><div>Nick</div><div>
<br></div><div>[1] <a href="http://wiki.opscode.com/display/chef/Home">http://wiki.opscode.com/display/chef/Home</a></div><div>[2] <a href="http://www.nickager.com/blog/Installing-Gemstone-on-an-Amazon-EC2-Linux-instance">http://www.nickager.com/blog/Installing-Gemstone-on-an-Amazon-EC2-Linux-instance</a></div>
<div>[3] <a href="https://help.ubuntu.com/community/CloudInit">https://help.ubuntu.com/community/CloudInit</a></div><div>[4] <a href="http://www.robertsosinski.com/2008/01/26/starting-amazon-ec2-with-mac-os-x/">http://www.robertsosinski.com/2008/01/26/starting-amazon-ec2-with-mac-os-x/</a></div>
<div>[5] <a href="http://alestic.com/2010/10/ec2-ssh-keys">http://alestic.com/2010/10/ec2-ssh-keys</a></div><div>[6] <a href="http://www.dougjaworski.com/blog/how-to-install-amazon-ec2-tools-on-a-mac/">http://www.dougjaworski.com/blog/how-to-install-amazon-ec2-tools-on-a-mac/</a></div>
<div><br></div><div><br></div><div><br></div><div> <br><br><div class="gmail_quote">On 11 October 2011 20:03, Lawrence Kellogg <span dir="ltr"><<a href="mailto:mac.hive@me.com">mac.hive@me.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
Does anybody have a good shortcut for getting an Seaside/Gemstone EC2 AMI up and running<br>
on Amazon so I can try out a Seaside application? I tried Nick Ager's instructions<br>
but the AMI files are no longer around.<br>
<br>
Thanks,<br>
<br>
Larry<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div><br></div>