5

If a application is developed as a REST API based with separate UI and backend tiers, and we have tools to deploy the servers in a few minutes, why do we need live migration support?

Say to move from one region to other, we can simply create a new load balancer in the new region and then create new VMs over there and just switch the DNS address to new IP. It's done right? So why do many companies look for live migrations?

Mat
  • 1,536
  • 1
  • 17
  • 21
  • 2
    What you've described is one technique of doing live migrations. Non-live migrations is when you have the server go "Service is under maintenance.." – slebetman Dec 07 '17 at 07:42
  • Updating DNS is far from instantaneous. Some clients will cache the IP address for a very long time. – kasperd Dec 30 '17 at 15:22

1 Answers1

11

Not all applications support load balancing as you've described, and not all companies are large enough that it's worth running that number of servers to get that type of redundancy. If the company is small enough, they may only have a single server.

Live migrations mean essentially zero downtime for these types of applications, no manually building up additional copies of infrastructure/VMs (many companies don't have the level of automation you strive for), and no shutting down existing servers.

Jason Rush
  • 376
  • 2
  • 6