Skip to content

On-premises to AWS: retiring the server room without a weekend disaster

An AWS migration from on premise fails on the things around the servers — AD, DNS, file shares, the VPN, the bandwidth math. Here is how to retire the server room in the right order.

An AWS migration from on-premises rarely fails on the servers — it fails on everything wired around them: Active Directory, DNS, file shares, backup jobs, the office firewall, and the assumption that the network between office and cloud will behave like a LAN. Retiring a server room safely means moving the plumbing first, the workloads second, and the identity layer with extreme care, while the old room stays powered as your rollback until the new environment has survived a full business cycle.

What’s happening

A server room is not a list of servers; it is a dependency graph with three layers. At the bottom is plumbing: DNS resolution, DHCP, NTP, the firewall, the site-to-site connectivity you are about to depend on. In the middle is identity: Active Directory or whatever authenticates people and machines. On top are the workloads everyone actually talks about — the ERP, the file server, the line-of-business apps. Migrations that turn into weekend disasters almost always moved layer three while layers one and two were still half on-premises, half in AWS, and quietly inconsistent.

The other force at work is physics. In the office, the app server and the file server talked at sub-millisecond latency over gigabit Ethernet. After migration, every office user reaches those workloads across a VPN or Direct Connect link with 10–40 ms of latency and a fraction of the bandwidth. Chatty protocols — SMB file shares above all — degrade far more than the raw numbers suggest. This is why the network design and the data seeding plan deserve as much attention as the server replication itself, and why the initial data copy for terabytes of file data may be better done with an offline transfer (AWS offers the Snow family for exactly this) than over the office uplink.

What to check first

  • The uplink math. Total data to move, divided by real usable upstream bandwidth, times a safety factor of two. If the answer is measured in weeks, plan seeded transfers or an offline device now.
  • What the room does besides run apps. DHCP, print services, badge systems, phone systems, camera storage — the services nobody lists because nobody thinks of them as servers.
  • Identity dependencies. What breaks if AD is unreachable for an hour: logins, file share ACLs, service accounts inside applications.
  • Hard-coded addresses. Scanners that email via a fixed IP, apps configured with 192.168.x.x instead of hostnames. Every one is a cutover-day surprise.
  • The connectivity plan. A site-to-site VPN is fine for most small estates; latency-sensitive or high-volume traffic may justify Direct Connect. Decide before, not after, users complain.

How to verify

Before any cutover, prove the plumbing works from both sides of the link:

# From an office machine: does the tunnel reach the VPC, and at what latency?
ping -c 20 10.20.1.10
traceroute 10.20.1.10

# From AWS: is the VPN up, and are routes propagating?
aws ec2 describe-vpn-connections \
  --query 'VpnConnections[].[VpnConnectionId,State,VgwTelemetry[].Status]'

# Does DNS resolve consistently on both sides?
dig app01.corp.example.com @10.20.0.2       # AWS-side resolver
dig app01.corp.example.com @192.168.1.5     # on-prem DC

Measure real throughput across the tunnel with a large test copy and time it — a 10 GB transfer that takes an hour tells you your 4 TB file share needs a different plan. In the console, VPC > Site-to-Site VPN Connections shows tunnel state per endpoint; both tunnels up is the baseline, one tunnel up is a ticking clock. For file data moved with DataSync, DataSync > Tasks shows per-task throughput and verification results.

The runbook

  1. Stand up connectivity and DNS first. Site-to-site VPN (or Direct Connect), routing both ways, and conditional DNS forwarding so office machines resolve AWS-hosted names and AWS instances resolve on-premises names. Nothing else moves until this is boring.
  2. Extend identity before moving it. For Active Directory, build new domain controllers on EC2 in a proper multi-AZ layout (see multi-AZ subnet design), let replication settle, and update Sites and Services so clients find the nearest DC. The last DC leaves the building at the end of the project, not the start.
  3. Seed the bulk data early. File shares, archives, backup history. Use DataSync over the link for what fits, an offline transfer for what does not, then let incremental syncs keep the copy current while you work through the app waves.
  4. Move workloads in dependency order. Databases with or before their applications, shared services before their consumers — the same wave logic as any server migration runbook, with one addition: after each wave, re-test from the office, because the office-to-AWS path is now part of every transaction.
  5. Cut user-facing entry points last. Repoint DNS, remote-access, and printing once the workloads behind them are stable. Lowered TTLs and a written rollback per record.
  6. Run the burn-in period. Keep the server room powered but idle through at least one month-end. The problems that survive week one are the scheduled ones.
  7. Decommission deliberately. Final backups archived to AWS (cross-region if the data warrants it), licenses reclaimed, disks wiped with a record of destruction, and the rack space, HVAC contract, and UPS maintenance actually cancelled — the savings everyone promised live in that last step.

When this is the wrong move

If the office’s internet connectivity is a single consumer-grade link, moving everything to AWS makes that link a single point of failure for the entire business — fix connectivity first or keep latency-critical services local. Workloads with a hard dependency on local hardware (production-floor controllers, door systems, on-site cameras writing constant video) generally should stay on a small local footprint. And if the estate is mostly Windows file serving for a team that could live in a document platform, SaaS retires the server room more cheaply than EC2 does.

Common mistakes

  • Moving the apps before the plumbing. Half the estate in AWS, DNS split-brained, and authentication crossing the WAN for every login — the slow-everything failure mode users report as “the cloud is slow.”
  • Treating the file server as just another server. SMB over 30 ms of latency is a different product. Test it with real users before cutover, and consider a managed file service or caching strategy rather than a lifted file server.
  • Leaving the backup story until after. The old room had backups; the new environment needs its own, verified by an actual restore, before the old jobs are switched off.
  • Decommissioning on a high. Week one went well, hardware gets wiped, and the month-end payroll job that ran on a forgotten scheduled task surfaces on day 30 with no rollback left.

Prevention

  • Keep a single dependency map — plumbing, identity, workloads — and mark it up as each piece moves; it is the document that prevents orphaned dependencies.
  • Define “done” per workload as tested from the office network, not just running in AWS.
  • Monitor the VPN or Direct Connect link like the production dependency it now is: tunnel state, throughput, latency alarms.
  • Schedule the burn-in period to include month-end and any seasonal peak before hardware disposal.
  • Write the decommissioning checklist at the start of the project, when people still remember what the room contains.

The server room is retired the day the last scheduled job has run correctly from AWS through a full business cycle — not the day the servers boot in the cloud. If nobody on your team truly owns the AWS environment end to end, that is the root of most of these problems — Stack Harbor runs AWS accounts daily under AWS Operations, and you can book an AWS review.