Windows Azure Web site starts offering traffic manager services

Source: Internet
Author: User
Keywords Azure azure manager traffic

Azure traffic Manager has been available for some time, which is an effective way to manage sites across multiple areas. You can route visitors to areas where you can provide the best performance, route visitors to secondary zones when there is a problem in the primary zone, or distribute the user load evenly across multiple Web site replicas hosted in different zones.

Recently, the http://www.aliyun.com/zixun/aggregation/13357.html ">azure Web site is starting to provide traffic Manager, and I'll walk you through this article to configure how both work together."

Step 1th-Create multiple sites on the Azure Web site

To use WATM on an Azure Web site, you need to have multiple sites, each in a different area. It is important that you add only one Web site to WATM in each zone. Another requirement is that these sites use standard service tiers.

Step 2nd-Create your WATM configuration file

WATM will allocate traffic based on the configuration file that you create. To create your WATM profile, click the Traffic Manager node on the left side of the Portal:

In the screenshot below, I'm creating a new traffic Manager configuration file. I chose Cheshire as my DNS prefix so you can see that my WATM URL will be cheshire.trafficmanager.net.

I chose configured (performance) as my load balancing method. If my requirements have changed since I created the WATM profile, I can change the load balancing method after I create the configuration file. (For more information about different load balancing methods, see the load balancing method below.) )

Step 3rd-Add Endpoints

After you create the WATM configuration file, you will need to add endpoints. You can do this by clicking the Watm profile, and then clicking the endpoints (endpoint) link at the top of the portal. As you can see in the screenshot below, I chose the Web site as the service type and then checked all the sites I wanted to add to my WATM profile.

It should be noted that your endpoints can be mixed with web sites and cloud services. In this way, you can seamlessly switch your application from site to Web role, or seamlessly switch from Web role to Web site.

Step 4th-Configure your WATM configuration file

To configure your profile, click the Configure (configuration) link for your WATM profile in the portal. Configuration actions allow you to change settings such as the DNS Lifetime (TTL) and load balancing methods. You can also specify the protocols, ports, and paths that the WATM configuration file will use when monitoring endpoint availability

Last step-Test your site

You now have a WATM configuration file that points to the site in the Azure Web site. If you browse to the Watm URL (cheshire.trafficmanager.net in this example), you can access your site, and the specific endpoint that you connect to depends on the load balancing method that you configured in the WATM configuration file.

Azure Web sites know how to route WATM URLs to your site, because Azure sites automatically add WATM URLs to your site's custom fields. In the screenshot below, you can see that my WATM URL has been listed as a custom field, which is added automatically when I add the site as an endpoint to the WATM profile:

If you want, you can use any tool that supports DNS lookup to directly view the running profile of WATM. In my configuration, I set the WATM to automatically guide the user to the best performance site. Next, I'll use Nslookup to see how this configuration works. The client performing this operation is located in the eastern United States, note that the yellow text display WATM returned my DNS location in the U.S. Eastern Data Center Web site:

However, if I do this on a client in Southeast Asia, WATM will guide me to a site in western Japan, as shown in the highlighted text below:

Concluding

This is just the tip of the iceberg. With WATM, you can configure custom fields and a variety of load balancing methods. For more information, visit this blog post. Traffic Manager is a long awaited feature of Azure Web site customers. Hopefully this article will help you take advantage of this powerful new feature.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.