The Affinity group (Affinity group) involves much more in azure, in addition to the usual virtual machine services, like storage, or cloud services that contain the concept of an affinity group, what exactly does an affinity group mean? When a user first signs in to an Azure subscription, there is no affinity group and needs to be added manually in Settings-affinity groups, such as:
650) this.width=650; "title=" 2014-12-02_20-39-16.png "src=" http://s3.51cto.com/wyfs02/M00/54/46/ Wkiom1r9tpictzf5aahf3o9rxhg327.jpg "alt=" Wkiom1r9tpictzf5aahf3o9rxhg327.jpg "/>
The first thing to emphasize is that the affinity group is more than just a modifier, not an "alias" So simple, in the continental version of Azure as an example, want to understand the affinity group, the first to know the region, the mainland has only provided two regions, namely "Northern China" and "East China", these two regions mean that Microsoft landed on the mainland " Two "data centers (perhaps two physically), assuming you choose to deploy a virtual machine in northern China, this VM may be created on a physical host in one of the clusters in one of the data centers in a northern city, for example.
650) this.width=650; "title=" 2014-12-02_20-40-28.png "src=" http://s3.51cto.com/wyfs02/M02/54/45/ Wkiol1r9txgd47vbaajb5hxyjfc643.jpg "alt=" Wkiol1r9txgd47vbaajb5hxyjfc643.jpg "/>
Then this physical host naturally has its power, network, data storage and so on cable. So suppose that this VM runs on a web app (for example), it needs an Azure SQL DB, you might continue to create a VM that contains SQL, and if you continue to select North China, then this VM might appear on a server on another cluster, or a bit farther from the physical location, But it does promise to be in the logical geographic location of "Northern China" (I great country vast territory).
650) this.width=650; "title=" 1365558339_8680.jpg "src=" http://s3.51cto.com/wyfs02/M01/54/46/ Wkiom1r9tcnddjneaac43hovjoq184.jpg "alt=" Wkiom1r9tcnddjneaac43hovjoq184.jpg "/>
So the question is, which is the strong public cloud technology?
Wrong wrong ... So the question is, from the user's point of view, since the two VMS together carry a Web application, then they should be together two, yes. Why do you want to break up?
The advent of the affinity group has completely broken this awkward situation, so that the two long-dreamed VMs finally come together, yes, the affinity group by binding a region (east or north of China), so that the same affinity group of virtual machine, storage or other azure resources as far as possible, closer to what extent, In the case of virtual machines, if the conditions permit, the two VMS above will be deployed at least as far as possible on the same cluster (even on a single host), which is the reason for the "affinity group".
This article is from the "Technology Not Home" blog, please be sure to keep this source http://maomaostyle.blog.51cto.com/2220531/1585696
What is the Microsoft Azure affinity Group