In this article we are going to see what affinity group is and how to make use of it for better performance and adding a new affinity group in Azure Management Portal
Affinity groups are nothing but to group some of the dependent Windows Azure Services and deploy them in one single place (Data Center). They have certain benefits like it improves the performance of the application with the services since all the dependent services are available in single location, Secondly when coming to billing perspective we will have much reduced process as we already know that bandwidth with in the data centers will be free of cost.[more]
We take advantage of using Affinity groups by selecting the hosted service and the Storage account to the same group which provides a same data center for both the services and interaction between the services will be much more optimized and we will have better result which is something like selecting same regions for both the services. In this sample we will see how to add an affinity group and use it across the services. Let us jump start to see the step by step process on how to add the Affinity group.
Login to the Windows Azure portal using the below link and we will see the screen as shown below
Provide your login credentials by clicking on the Sign in to management portal as highlighted in the above screen, after succesful login we will redirected to a nice interface as shown in the screen below
Click in the Hosted Services, Storage Account and CDN option of the left Menu as shown in the screen below
Now we can see a list menu at the left side with different services, select Affinity Groups from that menu and we can see the subscription details as shown in the screen below. To add a new affinity group we have a button(New Affinity Group) on the top left corner as highlighted below.
Once we click on the New Affinity Group button we will get a pop up as shown in the screen below
We can specify a user-friendly name for the Affinity group and select a location which acts as a base location for the affinity group as shown in the screen below
Once we selected the Affinity group location, now click on OK button to proceed further and we can see the progress as shown in the screen below
Once the process get completed we can see the new Affinity Group created and listed as shown below.
We can use this affinity group in all the places where ever we are requested to select the region to group the services and make it handy.
So in this article we have seen what exactly an Affinity Group is and what are the benefits and how to add an Affinity group using the Azure Management Portal.