Question

I'm currently using Azure Websites to deploy my app. I'm currently using two websites each listening to a different branch of my GIT. As seen here.

Now, for it to be perfect, I'm only missing a way to quickly switch between these 2 instances so I could:

  • Deploy on A
  • Test the changes on A
  • VIP Swap A with B
  • Change code
  • Deploy on B
  • Test the changes on B
  • VIP Swap B with A
  • ...

Anyone has accomplished anything like this?

Thanks!

Was it helpful?

Solution

VIP swapping between a production and a staging deployment is now possible with Azure Web Sites.

It works similarly to how VIP swapping works with Azure Cloud Services.

You can find details on how to set this up and use it in this blog post.

OTHER TIPS

I'd imagine that you'd need to find a DNS provider that could give you access to DNS mapping via an API. This way, you could use a script to call the DNS and swap the C-Names around.

This Stackoverflow post talks about DNS providers that allow an API access: What DNSs have API access?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top