This is how we do it too - much safer. On Feb 28, 2015, at 3:02 PM, Matthew Ness <[email protected]> wrote:
> Hi Ray, > > We do a lot of deployment to AWS environments (although not Ubuntu, > still linux). One thing I would recommend here is with this step: > >> - change the security group to add the ability to allow an inbound >> connection to the instance on port 56789. >> >> - ssh into the new instance and then do: >> >> % sudo sh >> # curl 'http://opencalaccess.org/wo/deploy' | /bin/sh >> >> ... and there is no step three. >> >> It runs for a few minutes and then I can use a web browser to go to: >> >> http://<ec2-instance-IP-address>:56789/ > > > We don't expose that port through EC2 Security Groups. Rather, > port-forward from your maintenance machine: > > ssh -i ~/.ssh/[your-aws-pem-file].pem -L 56789:localhost:56789 > [your-user]@[your-domain] > > Then launch your user-agent of choice at: http://localhost:56789 > > This might seem tedious but if you script it then it's painless. If you > get adventurous you could write a simple client app which uses an IAM > role to find all EC2 instances in your AWS account tagged as "wo-server" > or somesuch and provide a label and button for each which does the above > for you (incrementing the host port of course). > > Cheers, > > Matt > > > -- > Matt > http://logicsquad.net > > > >> >> And it works. Of course, it is not done. I have not yet done any apache >> setup. But I am hopeful that I will be able to do the apache setup ONLY >> ONE F-ING TIME MORE and wouldn't that be wonderful. We will see. >> >> I am also going to try to create re-usable, containerized scripts to: >> - install JDK, fetch Wonder source, build and install >> - install above and install/setup Jenkins. >> >> We will see. If anyone has information, or can tell me which of the >> crufty and duplicative wocommunity.org pages can be ignored, and which >> might be helpful, please do not be shy. >> >> cheers - ray >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/matt%40logicsquad.net >> >> This email sent to [email protected] > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
