The following critical steps represent the best practice in application server upgrade or migration to a new machine (on prem or cloud)
More:
Backup
Repository Cleanup
Model Imports
Repository Database
Harvesting Agents