[Seaside] Seaside on EC2 Amazon Service
nick.ager at gmail.com
Wed Oct 12 10:00:47 UTC 2011
Norbert is working on a set of Chef  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.
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
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
ssh ec2-user at ec2-79-125-71-160.eu-west-1.compute.amazonaws.com
For Ubuntu IIRC you have to login as root
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:
ssh -v ec2-user at ec2-79-125-71-160.eu-west-1.compute.amazonaws.com
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  makes use of
"Cloud-init"  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:
AAAAB3NzaC1AAAABIwAAAQEAz21r7532bmknElW8cZhECXFqf/Z/+VRFSy........BtxwC2offQ==nickager at nicksmac.local
Make sure you include the " - " before your key and lines "#cloud-config" &
I find it helpful to form the syntax in a text editor prior to posting into
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   - though you
might have to install ec2 tools .
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.
Final thought make sure you are ssh ing using the public DNS address NOT the
private DNS address that Amazon also displays.
Hope this helps
On 11 October 2011 20:03, Lawrence Kellogg <mac.hive at me.com> wrote:
> Does anybody have a good shortcut for getting an Seaside/Gemstone EC2 AMI
> up and running
> on Amazon so I can try out a Seaside application? I tried Nick Ager's
> but the AMI files are no longer around.
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside