My opinion, I believe this can work, especially since it is an all-in-one Wazuh server and you are keeping the same IP address.
The main things to note:
Make sure the old VM is fully powered off before starting the copy in the new DC. You do not want two Wazuh servers running with the same IP.
Confirm routing, gateway, VLAN, firewall rules, NAT, DNS, and any VPN path from agents.
For your checklist, I would include:
Before migration
Confirm Wazuh version.
Confirm server IP, gateway, DNS and hostname
Take VM snapshot while the VM is powered off.
Record disk usage and available space.
Confirm agents currently connected.
Export/save important config files.
Confirm firewall ports are allowed in the new DC
Things to also validate and check:
1514 - agent communication
1515 - agent enrollment, if used
Dashboard connection on 443, or the port if you changed the default.
9200 - indexer, if accessed internally
/var/ossec/bin/agent_control -lc
curl -k
https://127.0.0.1:9200/_cluster/health?prettydf -h
free -h
tail -f /var/ossec/logs/ossec.log
tail -f /var/ossec/logs/alerts/alerts.json
And look out for any errors.
You can also check the dashboard after migration for any pointers.
Agents are reconnecting.
New alerts are coming in.
Indexer health is green or yellow, not red.
No errors in ossec.log, Filebeat, or dashboard logs
Let it run for a few hours and confirm agents are reconnecting and new events are being indexed.
Lastly, keep the old VM powered off but available as part of your rollback plan until you are sure the new DC instance is stable.