So I am tasked with migrating some servers into AWS. One of the servers is a Salt Master.
Upon investigation, all Salt Minions connect to the Master using DNS name instead of IP Address, so from connectivity standpoint I only need to change the A Record for the Master's FQDN.
However, I know that the Master and the Minions exchange some keys between them for authentication purposes.
How do I move the Master but maintain association? Is it enough to copy the whole /etc/salt
directory to the new Master?