1. Inventory: what really runs on the server

Start with facts, not with the documentation you hope is up to date. For each server collect:

  • Applications, Windows services or systemd units, and the ports they listen on.
  • Scheduled tasks and cron jobs: they are the most often forgotten element.
  • TLS certificates, their expiry dates and where private keys are stored.
  • Service accounts, API keys, connection strings and hard-coded IP addresses.
  • DNS records, firewall rules and everything that connects to this server from outside.
  • Who owns each component and who can confirm that it works after the change.

2. Prepare the target environment first

The environment in AWS should be ready and tested before any data moves: VPC and subnets, security groups with only the required ports, IAM roles with least privilege, instance or database sizing based on real usage, backups and monitoring. Describing it as code (for example CloudFormation or Terraform) makes it repeatable and easier to review.

3. Decide how the data moves

For small systems a backup and restore during the change window can be enough. For larger databases it is better to synchronise data in advance, with native database replication, log shipping or AWS Database Migration Service, so that only the final delta is moved during cutover. Either way, perform a test restore and measure how long it takes; that number defines your real downtime.

4. Plan the cutover with a rollback

A good cutover plan is a short, ordered list that someone else could follow:

  • Lower DNS TTL a few days before the change.
  • Agree the change window and who confirms the business checks.
  • Freeze writes, run the final sync and switch traffic.
  • Run smoke tests of the key business operations, not only a ping.
  • Define in advance which failed check means rollback, and keep the old environment ready until the decision is final.

5. After the migration

The migration is not finished when the site loads. Check scheduled jobs, emails, integrations and certificates over the following days. Configure CloudWatch alarms for errors, disk and CPU, confirm that backups run and that restore works, and set up AWS Budgets so the cost does not surprise anyone. Switch off the old servers only after an agreed observation period.