• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: first version of deployment config scripts for Ubuntu/AWS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: first version of deployment config scripts for Ubuntu/AWS


  • Subject: Re: first version of deployment config scripts for Ubuntu/AWS
  • From: Matthew Ness <email@hidden>
  • Date: Sun, 01 Mar 2015 07:02:47 +1100

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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: first version of deployment config scripts for Ubuntu/AWS
      • From: Ken Anderson <email@hidden>
References: 
 >first version of deployment config scripts for Ubuntu/AWS (From: Ray Kiddy <email@hidden>)

  • Prev by Date: Re: in another EC, when objects transferred through GIDs, owning relationship does not delete objects?!?
  • Next by Date: Re: first version of deployment config scripts for Ubuntu/AWS
  • Previous by thread: first version of deployment config scripts for Ubuntu/AWS
  • Next by thread: Re: first version of deployment config scripts for Ubuntu/AWS
  • Index(es):
    • Date
    • Thread