After you migrate to the cloud you will want to keep your TFS Build Server because you Build Definitions are preserved during the migration. All you have to do is to reconnect the Build Controller and Build Agents to the new account.
Read this rule to learn more about agent limitations.