title: Azure Site Recovery with Traffic Manager
body: <p>I have setup 3 VMs (all based in Azure) in a "Site Recovery Plan" and the test failover of these works correctly.</p>
  
  <p>However, I wish to front these VMs with a "Traffic Manager" such that on failover the traffic is routed to the failed over VM in the target region.</p>
  
  <p>I have followed the instructions here: <a href="https://docs.microsoft.com/en-us/azure/site-recovery/concepts-traffic-manager-with-site-recovery#azure-to-azure-failover" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/site-recovery/concepts-traffic-manager-with-site-recovery#azure-to-azure-failover</a></p>
  
  <p>As the source VM exists I can select it as an "Azure Endpoint" in the "Traffic Manager" profile. But as the target endpoint doesn't exist until after failover, the guide says to select it as an "External Endpoint". </p>
  
  <p>However, what value should I put for FQDN or IP? </p>
  
  <p>The only information I have pre-failover is the internal static IP which it will be assigned (it does not have a DNS label or Public IP as ASR cannot provide this on failover), but this cannot be used in a "Traffic Manager" profile which contains an "Azure Endpoint".</p>
  
  <p>Is there a better way to automate the routing of the traffic to the failover VM post-failover?</p>