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: Rahul Menon
Subject: Re: [Fab-user] advice on organizing servers and groups
Date: Thu, 10 Oct 2013 05:40:37 +0530

Here is a good example of how you can use boto+fabric

https://gist.github.com/gtaylor/1901752

Rahul


On Thu, Oct 10, 2013 at 5:21 AM, S Ahmed <address@hidden> wrote:
Yeah I could use the python api client, and somehow fetch the instances by tags.


On Wed, Oct 9, 2013 at 5:01 PM, Andres Riancho <address@hidden> wrote:
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


_______________________________________________
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user



reply via email to

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