SlideShare a Scribd company logo
Windows Azure
And Data
Representation


Farhad Idrees
Muhammad Ahsan
Muhammad Sarfaraz
Contents

 An Overview of Windows Azure &
  Cloud Computing
 Windows Azure Components
  o The Compute Service
  o The Storage Service
  o The Fabric
 Conclusion
Overview

Cloud computing is here. Running applications on machines in an
Internet-accessible data center can bring plenty of advantages. Yet
wherever they run, applications are built on some kind of platform. For
on-premises applications, this platform usually includes an operating
system, some way to store data, and perhaps more. Applications
running in the cloud need a similar foundation.
The goal of Microsoft’s Windows Azure is to provide
this. Part of the larger Azure Services Platform,
Windows Azure is a platform for running Windows
applications and storing data in the cloud. Figure 1
illustrates this idea.
Figure 1
As the figure shows, Windows Azure runs on machines in
Microsoft data centers. Rather than providing
software that Microsoft customers can install and run
themselves on their own computers, Windows
Azure is a service: Customers use it to run applications and
store data on Internet-accessible machines
owned by Microsoft. Those applications might provide
services to businesses, to consumers, or both.
For Example:
 An independent software vendor (ISV) could create an
  application that targets business users, an approach that’s
  often referred to as Software as a Service (SaaS).
 An ISV might create a SaaS application that targets
  consumers.
 Enterprises might use Windows Azure to build and run
  applications that are used by their own employees.




        1/26/2012
Components

Windows Azure has three main parts:

 the Compute service
 the Storage service
 the Fabric.
As their names suggest, the Compute service runs
applications while the Storage service stores data. The
third component, the Windows Azure Fabric, provides a
common way to manage and monitor applications that use
this cloud platform.




                     Figure 2
THE COMPUTE SERVICE


 The Windows Azure Compute service can run many different
 kinds of applications. A primary goal of this platform,
 however, is to support applications that have a very large
 number of simultaneous users.Windows Azure is designed to
 support applications that scale out, running multiple copies of
 the same code across many commodity servers.
To allow this, a Windows Azure application can
have multiple instances, each executing in its own
virtual machine (VM). These VMs run 64-bit
Windows Server 2008.To run an application, a
developer accesses the Windows Azure portal
through her Web browser, signing in with a
Windows Live ID. specifying how many instances
the application needs. Windows Azure then creates
the necessary VMs and runs the application.
Figure 3
different instance types are available for developers to
use:Web role instances and Worker role instances. Figure 4
illustrates this idea. As its name suggests, a Web role instance
can accept incoming HTTP or HTTPS requests. To allow this, it
runs in a VM that includes Internet Information Services (IIS)
7.Worker role instances aren’t quite the same as their Web role
cousins. For example, they can’t accept requests from the
outside world. Their VMs don’t run IIS,
A developer can use only Web role instances, only Worker role
instances, or a combination of the two to create a Windows
Azure application
Figure 4
If the application’s load increases, he can use the Windows
Azure portal to request more Web role instances, more
Worker role instances, or more of both for his application. If
the load decreases, he can reduce the number of running
instances. To shut down the application completely, the
developer can shut down all of the application’s Web role and
Worker role instances.
THE STORAGE SERVICE

 Applications work with data in many different ways.
 Accordingly, the Windows Azure Storage service
 provides several options. Figure 4 shows




                    Figure 6
Blobs

 The simplest way to store data in Windows Azure storage is
 to use blobs. A blob contains binary data,A storage account
 can have one or more containers, each of which holds one or
 more blobs. Blobs can be big—up to 50 gigabytes each—and
 they can also have associated metadata, such as information
 about where a JPEG photograph was taken or who the singer
 is for an MP3 file.
Windows Azure
Blobs are just right for some situations, but they’re too
unstructured for others. To let applications work
with data in a more fine-grained way, Windows Azure storage
provides tables. Don’t be misled by the name: These aren’t
relational tables.
Tables

 even though they’re called “tables”, the data they hold is
 actually stored in a simple hierarchy of entities that
 contain properties. And rather than using SQL, an
 application accesses a table’s data using the conventions
 defined by ADO.NET Data Services. a single Windows
 Azure table can contain billions of entities holding
 terabytes of data.
Queues

 Blobs and tables are both focused on storing and accessing
 data. The third option in Windows Azure storage, queues, has
 a quite different purpose. A primary function of queues is to
 provide a way for Web role instances to communicate with
 Worker role instances.
Windows Azure
Regardless of how data is stored—in blobs, tables, or
queues—all information held in Windows Azure
is replicated three times.

This replication allows fault tolerance, since losing a copy
isn’t fatal. The system provides strong consistency, however,
so an application that immediately reads data it has just
written is guaranteed to get back what it just wrote.
Windows Azure storage can be accessed by a Windows Azure
application, by an application running on premises
within some organization, or by an application running at a
hoster. In all of these cases, all three Windows Azure storage
styles use the conventions of REST to identify and expose
data.In other words, blobs, tables, and queues are all named
using URIs and accessed via standard
HTTP operations. A .NET client might use the ADO.NET Data
Services libraries to do this, but it’s not required—an
application can also make raw HTTP calls.
Rest

 REST or “representational state transfer” is a style of software
 architecture for distributed systems, such as an LMS and
 other client systems. REST includes a set of guiding principles
 for how these systems should talk to each other. The goals of
 REST are to simplify communication between systems,
 improve scalability of connections and standardize the
 interface between systems.
Windows Azure
REST is not a standard. REST is just an architectural style.
While REST is not a standard, it does use standards:
HTTP
URL
XML/HTML/GIF/JPEG/etc (Resource Representations)
text/xml, text/html, image/gif, image/jpeg, etc (MIME Types)
THE FABRIC
As the figure shows, the Windows Azure Fabric consists of a
(large) group of machines, all of which are managed by software
called the fabric controller. The fabric controller is replicated
across a group of five to seven machines, and it owns all of the
resources in the fabric: computers, switches, load balancers, and
more. Because it can communicate with a fabric agent on every
computer, it’s also aware of every Windows Azure application in
this fabric. (Interestingly, the fabric controller sees Windows
Azure Storage as just another application, and so the details of
data management and replication aren’t visible to the controller.)
This broad knowledge lets the fabric controller do many
useful things. It monitors all running applications,
for example, giving it an up-to-the-minute picture of what’s
happening in the fabric. It manages operating
systems, taking care of things like patching the version of
Windows Server 2008 that runs in Windows
Azure VMs. It also decides where new applications should
run, choosing physical servers to optimize
hardware utilization.
To do this, the fabric controller depends on a configuration
file that is uploaded with each Windows Azure application.
This file provides an XML-based description of what the
application needs: how many Web role instances, how many
Worker role instances, and more. When the fabric controller
receives this new application, it uses this configuration file to
determine how many Web role and Worker role VMs to
 create.
Once it’s created these VMs, the fabric controller then
monitors each of them. If an application requires five Web
role instances and one of them dies, for example, the fabric
controller will automatically restart a new one. Similarly, if
the machine a VM is running on dies, the fabric controller will
start a new instance of the Web or Worker role in a new VM
on another machine, resetting the load balancer as necessary
to point to this new machine.
While this might change over time, the fabric controller in the
Windows Azure CTP maintains a one-to-one relationship
between a VM and a physical processor core. Because of this,
performance is predictable each application instance has its
own dedicated processor core. It also means that there’s no
arbitrary limit on how long an application instance can
execute. A Web role instance, for example, can take as long
as it needs to handle a request from a user, while a Worker
role instance can compute the value of pi to a million digits if
necessary. Developers are free to do what they think is best.
CONCLUSIONS
Running applications and storing data in the cloud is the right
choice for many situations. Windows Azure’s three parts—the
Compute service, the Storage service, and the Fabric—work
together to make this possible. Together with the Windows Azure
development environment, they provide a bridge for Windows
developers moving into this new world.
Today, cloud platforms are an exotic option for most organizations.
As all of us build experience with Windows Azure and other cloud
platforms, however, this new approach will begin to feel less
strange.Over time, we should expect cloud-based applications—
and the cloud platforms they run on—to play an increasingly
important role in the software world.
Sources
Azure Home Page
http://www.microsoft.com/azure
Introducing the Azure Services Platform, David Chappell
http://download.microsoft.com/download/e/4/3/e43bb484-3b52-4fa8-a9f9-
ec60a32954bc/Azure_Services_Platform.pdf
Windows Azure Blobs: Programming Blob Storage
http://download.microsoft.com/download/D/6/E/D6E0290E-8919-4672-B3F7-
56001BDC6BFA/Windows%20Azure%20Blob%20-%20Dec%202008.docx
Windows Azure Tables: Programming Table Storage
http://download.microsoft.com/download/3/B/1/3B170FF4-2354-4B2D-B4DC-
8FED5F838F6A/Windows%20Azure%20Table%20-%20Dec%202008.docx
Windows Azure Queues: Programming Queue Storage
http://download.microsoft.com/download/5/2/D/52D36345-BB08-4518-A024-
0AA24D47BD12/Windows%20Azure%20Queue%20-%20Dec%202008.docx

More Related Content

PDF
Azure services platform
PDF
Windows Azure Platform, V1 2 Chappell
PDF
S00193ed1v01y200905cac006
PDF
Asp net interview_questions
PDF
Windows Azure David Chappell White Paper March 09
DOCX
MVC Application using EntityFramework Code-First approach Part4
DOCX
Learning MVC Part 3 Creating MVC Application with EntityFramework
DOCX
Generic Repository Pattern in MVC3 Application with Entity Framework
Azure services platform
Windows Azure Platform, V1 2 Chappell
S00193ed1v01y200905cac006
Asp net interview_questions
Windows Azure David Chappell White Paper March 09
MVC Application using EntityFramework Code-First approach Part4
Learning MVC Part 3 Creating MVC Application with EntityFramework
Generic Repository Pattern in MVC3 Application with Entity Framework

Viewers also liked (17)

PPTX
PDF
Ward Presents "Ascertaining Your Awesomness" to JFEW Sophmores at CUNY
PPT
Talent management in crisis keynote capital club bahrain
PPSX
Who moved-my-cheese131[1]
PPTX
Starrjmier
PPTX
Starrjmier
PPTX
Murdoch Mystery Screen Captures
PPTX
Informe fotografico
PPS
PPTX
Murdoch Mysteries
PDF
LAI Capabilities - Aerospace
PPS
Unseen Paradise
PDF
DAILY COMMODITY REPORT BY EPIC RESEARCH-30 OCTOBER 2012
PPTX
Askes, lab dan rujukan
PPTX
Windows phone 7
PDF
August 2012 Newsletter
Ward Presents "Ascertaining Your Awesomness" to JFEW Sophmores at CUNY
Talent management in crisis keynote capital club bahrain
Who moved-my-cheese131[1]
Starrjmier
Starrjmier
Murdoch Mystery Screen Captures
Informe fotografico
Murdoch Mysteries
LAI Capabilities - Aerospace
Unseen Paradise
DAILY COMMODITY REPORT BY EPIC RESEARCH-30 OCTOBER 2012
Askes, lab dan rujukan
Windows phone 7
August 2012 Newsletter
Ad

Similar to Windows Azure (20)

DOCX
Microsoft Windows Azure - Introduction to Windows Azure Platform Appfabric fo...
PPTX
Ukfs Snr Dev Arch Forum Pres2 St
PPT
Windows azure
PPTX
Wisconsin .NET UG - Windows Azure
PDF
Introducing Windows Azure
PPTX
Creation of cloud application using microsoft azure by vaishali sahare [katkar]
PDF
Seminar_report on Microsoft Azure Service
PPTX
Sky High With Azure
PDF
Introduction to Windows Azure
PPTX
Understanding The Azure Platform March 2010
PPTX
Azure and Umbraco CMS
PPTX
Microsoft Azure
PDF
Azure services platform
PPTX
Azure lessons
PPT
Arc Ready Cloud Computing
PPTX
Microsoft cloud 101
PDF
Introducing Azure Services Platform V1
PPT
ArcReady - Architecting For The Cloud
PPTX
Windows azure camp - Kolkata
PPT
Microsoft Azure
Microsoft Windows Azure - Introduction to Windows Azure Platform Appfabric fo...
Ukfs Snr Dev Arch Forum Pres2 St
Windows azure
Wisconsin .NET UG - Windows Azure
Introducing Windows Azure
Creation of cloud application using microsoft azure by vaishali sahare [katkar]
Seminar_report on Microsoft Azure Service
Sky High With Azure
Introduction to Windows Azure
Understanding The Azure Platform March 2010
Azure and Umbraco CMS
Microsoft Azure
Azure services platform
Azure lessons
Arc Ready Cloud Computing
Microsoft cloud 101
Introducing Azure Services Platform V1
ArcReady - Architecting For The Cloud
Windows azure camp - Kolkata
Microsoft Azure
Ad

Windows Azure

  • 1. Windows Azure And Data Representation Farhad Idrees Muhammad Ahsan Muhammad Sarfaraz
  • 2. Contents  An Overview of Windows Azure & Cloud Computing  Windows Azure Components o The Compute Service o The Storage Service o The Fabric  Conclusion
  • 3. Overview Cloud computing is here. Running applications on machines in an Internet-accessible data center can bring plenty of advantages. Yet wherever they run, applications are built on some kind of platform. For on-premises applications, this platform usually includes an operating system, some way to store data, and perhaps more. Applications running in the cloud need a similar foundation.
  • 4. The goal of Microsoft’s Windows Azure is to provide this. Part of the larger Azure Services Platform, Windows Azure is a platform for running Windows applications and storing data in the cloud. Figure 1 illustrates this idea.
  • 6. As the figure shows, Windows Azure runs on machines in Microsoft data centers. Rather than providing software that Microsoft customers can install and run themselves on their own computers, Windows Azure is a service: Customers use it to run applications and store data on Internet-accessible machines owned by Microsoft. Those applications might provide services to businesses, to consumers, or both.
  • 7. For Example:  An independent software vendor (ISV) could create an application that targets business users, an approach that’s often referred to as Software as a Service (SaaS).  An ISV might create a SaaS application that targets consumers.  Enterprises might use Windows Azure to build and run applications that are used by their own employees. 1/26/2012
  • 8. Components Windows Azure has three main parts:  the Compute service  the Storage service  the Fabric.
  • 9. As their names suggest, the Compute service runs applications while the Storage service stores data. The third component, the Windows Azure Fabric, provides a common way to manage and monitor applications that use this cloud platform. Figure 2
  • 10. THE COMPUTE SERVICE The Windows Azure Compute service can run many different kinds of applications. A primary goal of this platform, however, is to support applications that have a very large number of simultaneous users.Windows Azure is designed to support applications that scale out, running multiple copies of the same code across many commodity servers.
  • 11. To allow this, a Windows Azure application can have multiple instances, each executing in its own virtual machine (VM). These VMs run 64-bit Windows Server 2008.To run an application, a developer accesses the Windows Azure portal through her Web browser, signing in with a Windows Live ID. specifying how many instances the application needs. Windows Azure then creates the necessary VMs and runs the application.
  • 13. different instance types are available for developers to use:Web role instances and Worker role instances. Figure 4 illustrates this idea. As its name suggests, a Web role instance can accept incoming HTTP or HTTPS requests. To allow this, it runs in a VM that includes Internet Information Services (IIS) 7.Worker role instances aren’t quite the same as their Web role cousins. For example, they can’t accept requests from the outside world. Their VMs don’t run IIS, A developer can use only Web role instances, only Worker role instances, or a combination of the two to create a Windows Azure application
  • 15. If the application’s load increases, he can use the Windows Azure portal to request more Web role instances, more Worker role instances, or more of both for his application. If the load decreases, he can reduce the number of running instances. To shut down the application completely, the developer can shut down all of the application’s Web role and Worker role instances.
  • 16. THE STORAGE SERVICE Applications work with data in many different ways. Accordingly, the Windows Azure Storage service provides several options. Figure 4 shows Figure 6
  • 17. Blobs The simplest way to store data in Windows Azure storage is to use blobs. A blob contains binary data,A storage account can have one or more containers, each of which holds one or more blobs. Blobs can be big—up to 50 gigabytes each—and they can also have associated metadata, such as information about where a JPEG photograph was taken or who the singer is for an MP3 file.
  • 19. Blobs are just right for some situations, but they’re too unstructured for others. To let applications work with data in a more fine-grained way, Windows Azure storage provides tables. Don’t be misled by the name: These aren’t relational tables.
  • 20. Tables even though they’re called “tables”, the data they hold is actually stored in a simple hierarchy of entities that contain properties. And rather than using SQL, an application accesses a table’s data using the conventions defined by ADO.NET Data Services. a single Windows Azure table can contain billions of entities holding terabytes of data.
  • 21. Queues Blobs and tables are both focused on storing and accessing data. The third option in Windows Azure storage, queues, has a quite different purpose. A primary function of queues is to provide a way for Web role instances to communicate with Worker role instances.
  • 23. Regardless of how data is stored—in blobs, tables, or queues—all information held in Windows Azure is replicated three times. This replication allows fault tolerance, since losing a copy isn’t fatal. The system provides strong consistency, however, so an application that immediately reads data it has just written is guaranteed to get back what it just wrote.
  • 24. Windows Azure storage can be accessed by a Windows Azure application, by an application running on premises within some organization, or by an application running at a hoster. In all of these cases, all three Windows Azure storage styles use the conventions of REST to identify and expose data.In other words, blobs, tables, and queues are all named using URIs and accessed via standard HTTP operations. A .NET client might use the ADO.NET Data Services libraries to do this, but it’s not required—an application can also make raw HTTP calls.
  • 25. Rest REST or “representational state transfer” is a style of software architecture for distributed systems, such as an LMS and other client systems. REST includes a set of guiding principles for how these systems should talk to each other. The goals of REST are to simplify communication between systems, improve scalability of connections and standardize the interface between systems.
  • 27. REST is not a standard. REST is just an architectural style. While REST is not a standard, it does use standards: HTTP URL XML/HTML/GIF/JPEG/etc (Resource Representations) text/xml, text/html, image/gif, image/jpeg, etc (MIME Types)
  • 29. As the figure shows, the Windows Azure Fabric consists of a (large) group of machines, all of which are managed by software called the fabric controller. The fabric controller is replicated across a group of five to seven machines, and it owns all of the resources in the fabric: computers, switches, load balancers, and more. Because it can communicate with a fabric agent on every computer, it’s also aware of every Windows Azure application in this fabric. (Interestingly, the fabric controller sees Windows Azure Storage as just another application, and so the details of data management and replication aren’t visible to the controller.)
  • 30. This broad knowledge lets the fabric controller do many useful things. It monitors all running applications, for example, giving it an up-to-the-minute picture of what’s happening in the fabric. It manages operating systems, taking care of things like patching the version of Windows Server 2008 that runs in Windows Azure VMs. It also decides where new applications should run, choosing physical servers to optimize hardware utilization.
  • 31. To do this, the fabric controller depends on a configuration file that is uploaded with each Windows Azure application. This file provides an XML-based description of what the application needs: how many Web role instances, how many Worker role instances, and more. When the fabric controller receives this new application, it uses this configuration file to determine how many Web role and Worker role VMs to create.
  • 32. Once it’s created these VMs, the fabric controller then monitors each of them. If an application requires five Web role instances and one of them dies, for example, the fabric controller will automatically restart a new one. Similarly, if the machine a VM is running on dies, the fabric controller will start a new instance of the Web or Worker role in a new VM on another machine, resetting the load balancer as necessary to point to this new machine.
  • 33. While this might change over time, the fabric controller in the Windows Azure CTP maintains a one-to-one relationship between a VM and a physical processor core. Because of this, performance is predictable each application instance has its own dedicated processor core. It also means that there’s no arbitrary limit on how long an application instance can execute. A Web role instance, for example, can take as long as it needs to handle a request from a user, while a Worker role instance can compute the value of pi to a million digits if necessary. Developers are free to do what they think is best.
  • 34. CONCLUSIONS Running applications and storing data in the cloud is the right choice for many situations. Windows Azure’s three parts—the Compute service, the Storage service, and the Fabric—work together to make this possible. Together with the Windows Azure development environment, they provide a bridge for Windows developers moving into this new world. Today, cloud platforms are an exotic option for most organizations. As all of us build experience with Windows Azure and other cloud platforms, however, this new approach will begin to feel less strange.Over time, we should expect cloud-based applications— and the cloud platforms they run on—to play an increasingly important role in the software world.
  • 35. Sources Azure Home Page http://www.microsoft.com/azure Introducing the Azure Services Platform, David Chappell http://download.microsoft.com/download/e/4/3/e43bb484-3b52-4fa8-a9f9- ec60a32954bc/Azure_Services_Platform.pdf Windows Azure Blobs: Programming Blob Storage http://download.microsoft.com/download/D/6/E/D6E0290E-8919-4672-B3F7- 56001BDC6BFA/Windows%20Azure%20Blob%20-%20Dec%202008.docx Windows Azure Tables: Programming Table Storage http://download.microsoft.com/download/3/B/1/3B170FF4-2354-4B2D-B4DC- 8FED5F838F6A/Windows%20Azure%20Table%20-%20Dec%202008.docx Windows Azure Queues: Programming Queue Storage http://download.microsoft.com/download/5/2/D/52D36345-BB08-4518-A024- 0AA24D47BD12/Windows%20Azure%20Queue%20-%20Dec%202008.docx