Almost every large migration starts with an export from the configuration management database. It lists servers, operating systems, owners, and sometimes the application each server belongs to. The team sorts it, groups it into waves of roughly equal size, and builds a schedule. It looks rigorous, and it gives leadership a clean burndown chart.
Then the first difficult wave arrives. An application moves on Saturday, and on Monday it's slow — not broken, just three times slower than before. It turns out every page load makes forty calls to a database that's still on-premises, and each call now crosses a network link instead of a rack. Nobody listed that database as part of the application, because it's shared with six others.
The server list told you what you have. It didn't tell you how it fits together, and in a migration that's the only thing that matters.
Why inventories mislead
A configuration database records assets, not relationships. Even when it has a field for dependencies, that field was filled in by hand at some point in the past and has been drifting ever since. In our experience it's typically right about the obvious links and wrong or silent about the ones that cause outages.
The hidden dependencies follow a pattern. Shared databases that serve several applications. File shares used to pass data between systems. Scheduled jobs on a utility server that pull from one system and push to another. Hard-coded IP addresses in configuration files. Licence servers, authentication services, and SMTP relays that everything uses and nobody thinks of as part of anything.
None of these show up when you ask an application owner what their application depends on. They show up when you watch the traffic.
An application isn't a set of servers. It's a set of conversations. Move half of the conversation and you find out how much latency the other half can tolerate.
Find the dependencies you actually have
Dependency discovery is not a long exercise, but it does need real data. For a typical estate, four to six weeks of observation covers it.
- Watch the network. Collect connection data — flow logs, firewall logs, or a discovery agent — for long enough to capture month-end processing. Two weeks of data will miss the job that runs on the last business day; that's the one that fails after cutover.
- Read the schedulers. Export every scheduled task, cron entry, and batch job definition. Each one is a dependency with a timetable attached, and many of them reach across application boundaries.
- Search the configuration. Scan configuration files and connection strings for hostnames, IP addresses, and share paths. Hard-coded references are the dependencies that break silently, because nothing tells you they exist until they fail.
- Confirm with the people who run it. Take the discovered map to the application and operations teams and ask what's missing and what's wrong. Data shows what talks to what; people know why, and which links can tolerate delay.
Build move groups from the map
Once you have the map, the planning unit changes from servers to move groups: sets of applications and infrastructure that have to move together because splitting them would hurt.
Not every link forces things to move together. A chatty, latency-sensitive connection — an application and its database, or two services that call each other hundreds of times a minute — usually does. A nightly file transfer or an occasional API call usually doesn't; it can run across the link between on-premises and cloud for a few months without anyone noticing. Classify each dependency as tight or loose, and draw the group boundaries along the loose ones.
Shared services need their own decision. A database used by six applications can't move with all of them at once. The usual options are to move it first and accept that the applications reach it across the link for a while, to move it last with everything that depends on it, or to split it. Each is reasonable; the mistake is not deciding and finding out during cutover.
Then sequence by risk, not by size. Early waves should be groups that are loosely connected to the rest of the estate and low-stakes for the business, so the team learns the process on something that can afford a bad weekend. The tightly connected core goes later, when the runbooks have been tested.
Plan for the hybrid period
Every migration has a period — often a year or more — when part of the estate is in the cloud and part isn't. The network link between them carries every loose dependency you chose not to resolve. Size that link for the traffic it will actually carry, test the latency of the loose dependencies under load before cutover, and keep a list of which cross-link dependencies are temporary and when each one goes away. Treat that list as part of the migration plan, not a side note.
A short worked example
A regional bank planned to move 410 servers in twelve waves, grouped by business unit. The first two waves went well. The third moved a loan-origination application and immediately produced timeouts, because its document service still called an on-premises image store several hundred times per application processed.
The bank paused for five weeks to run proper discovery. Network data and a scan of configuration files turned up 140 dependencies not in the configuration database, including a reporting server that read directly from eleven different application databases. The waves were rebuilt into 23 move groups. The reporting server and its eleven connections were redesigned to use a replicated copy, which removed the largest single source of risk from the plan.
The remaining waves ran to schedule. More importantly, none of the 23 move groups needed a rollback — where the original plan had come close to one by its third wave.
The honest takeaway
Dependency discovery delays the first wave by a few weeks, and it produces a plan that looks messier than the clean spreadsheet it replaces. But a server list sorted into waves is a schedule, not a plan. The plan is the dependency map.
Move what belongs together, together — and know which conversations you're stretching across the link while you do.