Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for a way to trigger the "Rebuild Application" functionality on a Cloud Site. I want to add this to a step in my build/release script.

Here are the avenues I have gone down already:

Rename Web.Config

This was a good start, but the system polls for a renamed Web.Config only every 15 mins, so releases could not be "on-demand". This would be a good solution for "nightly" or other automated build schedules.

Delete and re-create the Web.Config

Deleting seems to trigger the effect immediately (I don't understand why this differs from renaming, but whatever). The drawback here is that the deploys would not be "seamless" for the duration of the rebuild. I prefer a solution that does not require a "down for maintenance" message, no matter how briefly.


API is for Cloud Servers only, no Cloud Sites. Darn!

My Ideas:

Watir Script

This is actually an idea I have not pursued yet. I am afraid such a script will be rendered useless or dangerous by the next UI change the Rackspace people make on their admin tool.

That is all of my ideas.

Does anyone else have any good ones? Thanks!

share|improve this question
That's interesting, last I checked Cloud Sites didn't even have an API. Only Servers and Files did. – Rob Olmos Sep 10 '10 at 23:21
You're right! Made a note of it in the question. – willoller Sep 11 '10 at 0:53
up vote 0 down vote accepted

It turns out that renaming Web.Config will work just fine. The polling interval does not appear to be an issue anymore - the rebuilds appear to trigger very quickly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.