On Fri, 2010-07-30 at 14:27 +0200, Andersen Max wrote: > > ----- "David Lutterkort" <[email protected]> wrote: > >> > >> For my education, can you detail how exactly you use that in > >> CoolingTower ? Especially, how many files and how big they are ? > > > > Right now we use this to deploy the user's war files to our AS instances. > > We ssh into the box and stop the deployment scanner, scp the file, then ssh > > back in and restart the deployment scanner. At some point we'll probably > > also want to setup SSH tunnels to some of the instances but don't > > immediately have a need for it. > > For those curious on the sizes then WAR and EAR files can be anything from a > few KB to several MB's. > > i.e. one of our example apps are 15MB but I have seen much larger in > real life too. > > Note, a developer centric usecase is copying of a set of files instead > of one big zip file....not sure if that is better modelled by zipping > up the files and then unzipping them with a command on the other > side ? > > p.s. I actually feel weird that DeltaCloud is controlling the scp/ssh > access here....is that really the right abstraction ?
It's really just a convenience for simple-minded clients, for bootstrapping, and in cases where you're behind a nasty firewall. For anything more complex, I'd devise a more reliable scheme client-side, either with an application specific agent, or at the very least by making an ssh connection from the client to the instance directly. David
