My own 2 cents -- You're missing out big time using the traditional deployment model on AWS. If you instead use an deployment model that includes an elastic load balancer you get a ton of benefits:
1) it automatically replaces dead instances. 2) it can automatically scale up if needed 3) lots of free monitoring graphs, etc 4) highly available = the load balancer never fails (unlike wotaskd and pals) For simplicity I recommend using elastic beanstalk and deploying a WAR file. But you could also build a docker image and deploy a traditional app instead (using beanstalk), but without the cruft of wotaskd and javamonitor. In the long term - the AWS container service is in beta and allows deploying docker images across a fleet of EC2 instances. This the best model for deploying WO apps since you typically want to have multiple app processes running on each machine rather than a single monolithic process (which is what WAR deployment gives you). John On Sat, Feb 28, 2015 at 2:47 PM Ken Anderson <[email protected]> wrote: > 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/johnthuss%40gmail.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]
