|
From: | Samuli Seppänen |
Subject: | Re: [Fab-user] Standalone Fabric |
Date: | Tue, 13 Dec 2011 19:34:50 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 |
Hi, Hi Brad, I've been using Boto + Fabric + glue code to setup relatively large performance test environments (1 server, 20-100 clients). Take a look here: <https://community.openvpn.net/openvpn/wiki/PerformanceTesting#Deployingclients> Some parts of the code you could perhaps use for your own needs. Note that the code would need an upgrade to Fabric 1.3.x and a later version of Boto. This would make it less complex by - removing the thread wrapper (configurer.py) around "fab" command - allowing filtering of EC2 instances by tags instead of the current hackish "userData"-based filtering Essentially you'd just need to launch the VMs using Boto, wait until they're online (in my case, launcher_ec2.py) and then generate env.hosts based on that. Then all is needed to call "fab" with that env.hosts list should do the trick. If you got tons of servers to configure, the @parallel task decorator will help. Samuli |
[Prev in Thread] | Current Thread | [Next in Thread] |