2
votes

Two azure websites - one front-end, the other server API. They depend on each other. How can I swap both websites from staging slot to production slot simultaneously?

1

1 Answers

4
votes

Consider the following scenario:

  • You have a front-end with 2 slots: production and staging.
  • You have 2 server sites.
  • Each front-end slot points to a different server.
  • You update the "non-active" server.
  • Then update the staging front-end (pointing to that "non-active" server).
  • Then swap the front-ends.

The new production front-end should still point to the same server which now becomes "active".