Azure Traffic Manager for Multi Cloud Vendor endpoints

Some customers and organization talk about having a multi-cloud environment in order to not be locked and also to provide redundancy and continuity in case of disaster with any of the service providers. In this post, I’ll describe a scenario for a simple website with endpoints in the Google Cloud (GCP) and Azure.

 

 

Google Cloud endpoint is set up in the free-tier same for Azure. GCP endpoint is located in the us-west1 zone a region. The azure endpoint is located in the Southeast Asia Region which is located in Singapur. The configuration for the Traffic Manager is:

  • Routing Method: Weighted
  • Protocol: HTTP. We’ll do Let’s Encrypt/443 in the future
  • Port: 80
  • Path: /
  • Probing Interval:10
  • Tolerated Number of Failures: 2
  • Probe Timeout: 5

Both end-points have 1 as their weight, the TFM will choose the endpoint randomly but there could be other choices:

What about users in the USA and America in general (the continent). They could always connect to the Google endpoint using the GeoGraphic method, in this way the user would always connect to the fastest responding endpoint. Another scenario would be for compliance: Connecting to a resource which is always within the legally allowed geography.

For users in Australia, the end-point would be Singapur

Traffic Manager is one of those underestimated services which provides a great value on a global scale. Worth having a look.

The global address is:

http://tfm.allthingscloud.info

and the individual endpoints:

gcp.allthingscloud.info (USA) /  Deleted it

x.allthingscloud.net (Singapur/Southeast Asia)

Note: I intentionally deleted the Google endpoint. Why? To prove the point that TFM can sustain failure on a Global scale.

Even more, I deleted them both and I’m re-starting this experiment, test from the beginning and to configure the TFM is as simple as to configure the endpoints and works almost instantly

On

Sunday, 20 January 2019

I recreated both endpoints and I’m on setting both websites

You can type, tfm.allthingscloud.info and it will take you to one or the other, you won’t notice which one is it as they look exactly the same.

 

Roberto