After the Microsoft Virtual college starts, I will record my study notes here. If not, please criticize and correct them.
Windows Azure Overview
------------------------------------------------------------------
Compute)
Storage)
Fabric controller)
Content Delivery Network)
Connect)
Compute)
-------------------------------------------------------------------
Windows Azure computing service can execute a variety of tasks, each of which is done through one or more Role. Windows Azure usually runs several Role instances at the same time and ensures their high availability through the load balancing mechanism.
There are the following Role types:
1. Web Roles: Mainly used to create Web-based applications. Each Web Role has a configured IIS7. You can deploy Web applications based on Microsoft technologies such as ASP.net/WCF. At the same time, it is not limited to Microsoft web applications, PHP or Java.
2. Worker Role: a job Role is used to execute Windows-based jobs. Unlike Web Role, it does not have pre-configured IIS. A job role may do computing-intensive work, such as rendering and simulation. Generally, you can use Web Role to interact with users, and then hand over these computing-intensive tasks to Worker Role for processing. In addition to Microsoft. net technology, programmers can also use other non-Microsoft technologies to develop worker ro applications.
3. VM Role: This is a good understanding. It is a Windows Server 2008 R2 virtual machine. You can log on to it using a tool like remote desktop, just like a local computer.
You can connect to each Role through HTTP, HTTPS, TCP, and other protocols. However, you must note that because Azure has a built-in Server Load balancer, the examples of each connection may be different, therefore, ensure that applications running on the cloud are stateless.
You can determine whether to increase or decrease the number of instances based on the load. For example, when the access volume or computing workload increases, you need to increase the instance to obtain more computing power. The opposite is true. Although it can be implemented through a program, you need to adjust it manually. That is, because your application is under great pressure, you will automatically open several more examples. In fact, it makes sense that if you want to collect more money, you must make your own consent.
Storage
-------------------------------------------------------------------
Optical Computing is not good, and information storage is required. Windows Azure provides the following storage methods:
1. Blobs: these large binary objects can be videos or audios. They have a simple tree structure. Each container can contain one or several Blobs. Blob can be as large as 1 Tb (1024 GB ). In addition, it can contain some simple metadata information, such as movie names and artist company names. It can be understood as an NTFS file system on the cloud.
2. Table: do not confuse the Table with the Table in the database. It is not the same thing. Each table stores the Entity that contains the attribute. This structure is better than traditional RDBMS in terms of scalability and cross-machine scaling.
3. Queue: This focuses on data exchange. For example, data exchange between Web Role and worker Role can be achieved through queues.
Windows Azure storage can be accessed by Azure applications, or by local computers or applications on other cloud platforms through the HTTP protocol in a restful manner.
Control fabric controller
-------------------------------------------------------------------
Windows Azure computing and storage both reside in Microsoft data centers. The data center consists of thousands of computers. To manage the Compute and Storage mentioned above, you have to manage fabric Controler.
This Fabric Controler is also a distributed application. It manages all resources in the cloud environment, including computers and load balancers. He contacted the fabric agent on each computer to know the work of each machine and achieve unified management. His main tasks include starting appropriate virtual machine VMS Based on configuration conditions and incorporating them into management; status monitoring, performance detection, patch updates, and so on.
Windows Azuer provides the following virtual machines to choose from:
Extra-small, with a single-core 1.0 GHz CPU, 768 MB of memory, and 20 GB of instance storage.
Small, with a single-core 1.6 GHz CPU, 1.75 GB of memory, and 225 GB of instance storage.
Medium, with a dual-core 1.6 GHz CPU, 3.5 GB of memory, and 490 GB of instance storage.
Large, with a four-core 1.6 GHz CPU, 7 GB of memory, and 1,000 GB of instance storage.
Extra-large, with an eight-core 1.6 GHz CPU, 14 GB of memory, and 2,040 GB of instance storage.
Content Delivery Network)
--------------------------------------------------------------------------
One of the common scenarios of using Blob storage is video services, and users come from all over the world. CDN caches the data to a data center close to the customer to improve performance.
In fact, the general understanding is that a global cache is good. Windows Azure only has cdn for Blob data.
Connect)
-------------------------------------------------------------------------
Cloud storage is mentioned above, but the reality is that it is impossible for everyone to move all the data overnight to the cloud. In addition, many people have doubts about the security of the cloud, and are reluctant to let the core data out of sight. What if cloud computing needs to access local data? This is the problem to be solved by connect.
As shown in, to use windows Azure Connect, an endpoint Agent is required locally. This Agent uses IPv6, so only IPv6-supported operating systems, such as windows server 2008, server 2008 R2, vista and Windows 7.
The Windows Azure application also needs to be configured to work with Azure Connect. After the configuration is complete, you can use IPSec to communicate with the cloud. After the configuration is complete, the cloud program can seamlessly access local data resources and use the same connection character.
So far, we will continue learning next lesson.
Junqilian