To use SMS, you need to install the SMS-Agent on each source server to be migrated. During the migration, each source server must continuously communicate with SMS and the paired target server.
For details about how to configure security group rules, see How Do I Configure Security Group Rules for Target Servers?