fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] advice on organizing servers and groups


From: Andres Riancho
Subject: Re: [Fab-user] advice on organizing servers and groups
Date: Wed, 9 Oct 2013 17:01:00 -0400

I would say... don't. Modifying source in an automated way is not a
good idea, also this will break stuff like git.

I would recommend you somehow find out the IP addresses for your
servers by calling the Amazon API. For example, call the API to list
all instances, then retrieve the instance name and filter by "web",
for each of those instances get the IP address and use that to connect
to it.

On Wed, Oct 9, 2013 at 4:40 PM, S Ahmed <address@hidden> wrote:
> I am using fabric to deploy code to ec2.
> I have 3 sets of servers:  web, application, jobs
>
> After I spin up these servers: 1 x web, 3 x app, 1 x jobs
>
> I have to grap the ipaddresses for each, and update my fabfile.py with the
> ip addresses.
>
> How would you suggest I do this, any best practises around this?
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/fab-user
>



-- 
Andrés Riancho
Project Leader at w3af - http://w3af.org/
Web Application Attack and Audit Framework
Twitter: @w3af
GPG: 0x93C344F3



reply via email to

[Prev in Thread] Current Thread [Next in Thread]