SlideShare a Scribd company logo
Introducing Windows Azure
2
INTRODUCING CLOUD
COMPUTING
Windows Azure
3
Add text title Add text title
Arnon Rotem Gal-Oz has more
than 20 years of experience
managing, architecting and
developing large scale, mission
critical, distributed systems. Before
joining CodeValue as VP product
management, Arnon worked as VP R&D for
xsights, a visual search SaaS provider. Prior
to that, he worked in various technical and
managerial roles in large corporations
including Microsoft, Amdocs and Matrix.
Arnon published articles for various online
and printed journals such as
InfoQ, Dr. Dobb’s and MSDN.
Alon Fliess got his BSc degree in
electrical & computer
engineering from the Technion,
the Israel Institute of
Technology. Alon recognized as a Microsoft
Regional Director (MRD) as well as Microsoft
MVP. Alon is an expert in many Microsoft
technologies, be it Windows internals, C++
Win32 programming, .NET with C# or
C++/CLI. Alon is the co-author of the
Introducing Windows 7 for Developers
book. Alon gives lectures in conferences
worldwide.
4
Agenda
• Hello Azure Application
• Introduction to Cloud Computing
• The Building Blocks of Azure
• Web Role, Worker Role & VM Role
• Service Bus, Queues & Access Control
• Azure Storage – Table Storage, Queue & SQL
Azure
• Architecting Cloud Applications
• Porting to the cloud
5
Show me the Wizard…
6
Cloud Computing
A Game Changing Technology
• Location independent computing
• Shared servers  resources, software, and data
• Elasticity
• Total Cost of Operation
• Natural evolution of:
– Virtualization
– Service-Oriented Architecture
– Utility computing
• Details are abstracted from consumers
Cloud Fundamentals
• Infrastructure as a Service (IaaS): basic compute and
storage resources
– On-demand servers
– Amazon EC2, VMWare vCloud
• Platform as a Service (PaaS): cloud application
infrastructure
– On-demand application-hosting environment
– E.g. Google AppEngine, Salesforce.com, Windows Azure, Amazon
• Software as a Service (SaaS): cloud applications
– On-demand applications
– E.g. GMail, Microsoft Office Web Companions
The Benefits of the Cloud
• The Cloud is about cheap, on-demand capacity
= Managed for
You
Standal
one
Servers
IaaS PaaS SaaS
Applications
Runtimes
Database
Operating System
Virtualization
Server
Storage
Networking
9
hardware
software
facilities
power/cooling
IT labor
support
network
security
maintenance
management
tools
disaster
recovery
backup
Acquisition cost is 10%
of IT Spend
Operating cost is 90%
of IT Spend
Source: IDC
10
Windows Azure
• Platform as a Service
– Application Platform in the Cloud
• Provides:
– Compute
• Web, Worker & VM Role
– Storage
• Blob, Table, Queue & Azure SQL Server
– Application Fabric
• Service Bus, Access Control, (Future: Cache,
Integration & Composite)
11
INSIDE WINDOWS AZURE:
THE CLOUD OPERATING
SYSTEM
12
Windows Azure
• Windows Azure is an OS for the data center
– Model: Treat the data center as a machine
– Handles resource management, provisioning, and monitoring
– Manages application lifecycle
– Allows developers to concentrate on business logic
• Provides shared pool of compute, disk and network
– Virtualized storage, compute and network
– Illusion of boundless resources
• Provides common building blocks for distributed applications
– Reliable queuing, simple structured storage, SQL storage
– Application services like access control and connectivity
Windows Azure Components
Windows Azure PaaS
Applications Windows Azure Service Model
Runtimes .NET 3.5/4, ASP .NET, PHP
Operating System Windows Server 2008/R2-Compatible OS
Virtualization Windows Azure Hypervisor
Server Microsoft Blades
Database SQL Azure
Storage Windows Azure Storage (Blob, Queue,
Table)
Networking Windows Azure-Configured Networking
14
Modeling Cloud Applications
• A cloud application is typically made up of different
components
– Front end: e.g. load-balanced stateless web servers
– Middle worker tier: e.g. order processing, encoding
– Backend storage: e.g. SQL tables or files
– Multiple instances of each for scalability and availability
15
The Windows Azure Service Model
• A Windows Azure application is called a “service”
– Definition information
– Configuration information
– At least one “role”
• Roles are like DLLs in the service “process”
– Collection of code with an entry point that runs in its own
virtual machine
• There are currently three role types:
– Web Role: IIS7 and ASP.NET in Windows Azure-supplied OS
– Worker Role: arbitrary code in Windows Azure-supplied OS
– VM Role: uploaded VHD with customer-supplied OS
Role Contents
• Definition:
– Role name
– Role type
– VM size (e.g. small, medium, etc.)
– Network endpoints
• Code:
– Web/Worker Role: Hosted DLL
and other executables
– VM Role: VHD
• Configuration:
– Number of instances
– Number of update and fault domains
Service Model Files
• Service definition is in
ServiceDefinition.csdef
• Service configuration is in
ServiceConfiguration.cscfg
• CSPack program Zips
service binaries and
definition into service
package file (service.cscfg)
Availability: Update Domains
• Purpose: Ensure service stays up
while updating and Windows Azure
OS updates
• System considers update domains
when upgrading a service
– Update domains/Instance count =
percent of service that will be offline
– Default and max is 5, but you can
override with upgradeDomainCount
service definition element
• The Windows Azure SLA is based on
at least two update domains and two
role instances in each role
19
Availability: Fault Domains
• Purpose: Avoid single points of
failures
– Similar concept to update domains
– But you don’t control the updates
• Unit of failure based on data center
topology
– E.g. top-of-rack switch on a rack of
machines
• Windows Azure considers fault
domains when allocating service roles
– E.g. don’t put all roles in same rack
Deploying a Service
The 10,000 foot view
• Service package uploaded to portal
– Windows Azure Portal Service passes
service package to “Red Dog Front
End” (RDFE) Azure service
– RDFE converts service package to
native “RD” version
• RDFE sends service to Fabric
Controller (FC) based on target
region
• FC stores image in repository and
deploys and activates service
21
The Fabric Controller (FC)
• The “kernel” of the cloud operating system
– Manages datacenter hardware
– Manages Windows Azure services
• Four main responsibilities:
– Datacenter resource allocation
– Datacenter resource
provisioning
– Service lifecycle management
– Service health management
• Inputs:
– Description of the hardware and network resources it will control
– Service model and binaries for cloud applications
22
Datacenter Architecture
Node
s
TOR
LB LB
Agg
PDU
LB LB
Agg
LB LB
Agg
LB LB
Agg
LB LB
Agg
LB LB
Agg
Racks
Datacenter
Routers
Aggregation
Routers and
Load Balancers
Node
s
TOR
PDU
Node
s
TOR
PDU
Node
s
TOR
PDU
Node
s
TOR
PDU
Node
s
TOR
PDU
Node
s
TOR
PDU
Node
s
TOR
PDU
Node
s
TOR
PDU
Node
s
TOR
PDU
Node
s
TOR
PDU
Node
s
TOR
PDU
Node
s
TOR
PDU
Node
s
TOR
PDU
Node
s
TOR
PDU
…
… …
… … …
Top of Rack
Switches
Power Distribution
Units
23
Windows Azure Datacenters
24
Inside a Role VM
Resource Volume
OS Volume
Role Volume
Guest Agent
Role Host
Role Entry Point
25
Update Types
• There are two update types:
– In-place update:
• Supports changes to configuration or
binaries, not service definition
• Role instances upgraded one update
domain at a time
• Two modes: automatic and manual
– VIP swap update:
• Service definition can change, but
external endpoints must remain the same
• New version of service deployed, external
VIP/DIP mapping swapped with old
• Changes to external endpoint count require a
new deployment
26
Node and Role Health Maintenance
• FC maintains service availability by monitoring the
software and hardware health
– Based primarily on heartbeats
– Automatically “heals” affected roles
Problem How Detected Fabric Response
Role instance crashes FC guest agent monitors role termination FC restarts role
Guest VM or agent crashes FC host agent notices missing guest agent
heartbeats
FC restarts VM and hosted role
Host OS or agent crashes FC notices missing host agent heartbeat Tries to recover node
FC reallocates roles to other nodes
Detected node hardware
issue
Host agent informs FC FC migrates roles to other nodes
Marks node “out for repair”
27
Azure Architecture Summary
• Platform as a Service is all about reducing
management and operations overhead
• The Windows Azure Fabric Controller is the
foundation for Windows Azure’s PaaS
– Provisions machines
– Deploys services
– Configures hardware for services
– Monitors service and hardware health
– Performs service healing
28
THE WINDOWS AZURE
MANAGEMENT PORTAL
Let’s play with it
128692851-Introducing-Windows-Azure.ppt

More Related Content

Similar to 128692851-Introducing-Windows-Azure.ppt

Understanding The Azure Platform March 2010
Understanding The Azure Platform   March 2010Understanding The Azure Platform   March 2010
Understanding The Azure Platform March 2010
DavidGristwood
 
Mahika cloud services
Mahika cloud servicesMahika cloud services
Mahika cloud services
Somnath Sen
 
Sky High With Azure
Sky High With AzureSky High With Azure
Sky High With Azure
Clint Edmonson
 
Salesforce - classification of cloud computing
Salesforce - classification of cloud computingSalesforce - classification of cloud computing
Salesforce - classification of cloud computing
Vibrant Technologies & Computers
 
Connect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft AzureConnect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft Azure
K.Mohamed Faizal
 
AWS Architecture Fundamentals - Houston
AWS Architecture Fundamentals - HoustonAWS Architecture Fundamentals - Houston
AWS Architecture Fundamentals - Houston
Nicole Maus
 
Cloud computing
Cloud computingCloud computing
Cloud computing
abaletigiste
 
AWS Webinar: How to architect and deploy a multi tier share point server farm...
AWS Webinar: How to architect and deploy a multi tier share point server farm...AWS Webinar: How to architect and deploy a multi tier share point server farm...
AWS Webinar: How to architect and deploy a multi tier share point server farm...
Amazon Web Services
 
Ukfs Snr Dev Arch Forum Pres2 St
Ukfs Snr Dev Arch Forum Pres2 StUkfs Snr Dev Arch Forum Pres2 St
Ukfs Snr Dev Arch Forum Pres2 St
AllyWick
 
Containers as Infrastructure for New Gen Apps
Containers as Infrastructure for New Gen AppsContainers as Infrastructure for New Gen Apps
Containers as Infrastructure for New Gen Apps
Khalid Ahmed
 
Introduction to DevOps on AWS
Introduction to DevOps on AWSIntroduction to DevOps on AWS
Introduction to DevOps on AWS
Shiva Narayanaswamy
 
Wisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows AzureWisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows Azure
Wade Wegner
 
Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010
DavidGristwood
 
.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles
VMware Tanzu
 
Cloud application architecture with sql azure and windows azure
Cloud application architecture with sql azure and windows azureCloud application architecture with sql azure and windows azure
Cloud application architecture with sql azure and windows azure
Eduardo Castro
 
Cloud Computing E-Lect.ppt
Cloud Computing E-Lect.pptCloud Computing E-Lect.ppt
Cloud Computing E-Lect.ppt
arunimaarunima1
 
Azure IAAS.pptx
Azure IAAS.pptxAzure IAAS.pptx
Azure IAAS.pptx
Will674982
 
Build on AWS: Migrating And Platforming
Build on AWS: Migrating And PlatformingBuild on AWS: Migrating And Platforming
Build on AWS: Migrating And Platforming
Amazon Web Services
 
Cloud Foundry Technical Overview
Cloud Foundry Technical OverviewCloud Foundry Technical Overview
Cloud Foundry Technical Overview
cornelia davis
 
MNAssociationEnterpriseArchitectsCloudFoundryJuly2017
MNAssociationEnterpriseArchitectsCloudFoundryJuly2017MNAssociationEnterpriseArchitectsCloudFoundryJuly2017
MNAssociationEnterpriseArchitectsCloudFoundryJuly2017
Andrew Ripka
 

Similar to 128692851-Introducing-Windows-Azure.ppt (20)

Understanding The Azure Platform March 2010
Understanding The Azure Platform   March 2010Understanding The Azure Platform   March 2010
Understanding The Azure Platform March 2010
 
Mahika cloud services
Mahika cloud servicesMahika cloud services
Mahika cloud services
 
Sky High With Azure
Sky High With AzureSky High With Azure
Sky High With Azure
 
Salesforce - classification of cloud computing
Salesforce - classification of cloud computingSalesforce - classification of cloud computing
Salesforce - classification of cloud computing
 
Connect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft AzureConnect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft Azure
 
AWS Architecture Fundamentals - Houston
AWS Architecture Fundamentals - HoustonAWS Architecture Fundamentals - Houston
AWS Architecture Fundamentals - Houston
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
AWS Webinar: How to architect and deploy a multi tier share point server farm...
AWS Webinar: How to architect and deploy a multi tier share point server farm...AWS Webinar: How to architect and deploy a multi tier share point server farm...
AWS Webinar: How to architect and deploy a multi tier share point server farm...
 
Ukfs Snr Dev Arch Forum Pres2 St
Ukfs Snr Dev Arch Forum Pres2 StUkfs Snr Dev Arch Forum Pres2 St
Ukfs Snr Dev Arch Forum Pres2 St
 
Containers as Infrastructure for New Gen Apps
Containers as Infrastructure for New Gen AppsContainers as Infrastructure for New Gen Apps
Containers as Infrastructure for New Gen Apps
 
Introduction to DevOps on AWS
Introduction to DevOps on AWSIntroduction to DevOps on AWS
Introduction to DevOps on AWS
 
Wisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows AzureWisconsin .NET UG - Windows Azure
Wisconsin .NET UG - Windows Azure
 
Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010
 
.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles
 
Cloud application architecture with sql azure and windows azure
Cloud application architecture with sql azure and windows azureCloud application architecture with sql azure and windows azure
Cloud application architecture with sql azure and windows azure
 
Cloud Computing E-Lect.ppt
Cloud Computing E-Lect.pptCloud Computing E-Lect.ppt
Cloud Computing E-Lect.ppt
 
Azure IAAS.pptx
Azure IAAS.pptxAzure IAAS.pptx
Azure IAAS.pptx
 
Build on AWS: Migrating And Platforming
Build on AWS: Migrating And PlatformingBuild on AWS: Migrating And Platforming
Build on AWS: Migrating And Platforming
 
Cloud Foundry Technical Overview
Cloud Foundry Technical OverviewCloud Foundry Technical Overview
Cloud Foundry Technical Overview
 
MNAssociationEnterpriseArchitectsCloudFoundryJuly2017
MNAssociationEnterpriseArchitectsCloudFoundryJuly2017MNAssociationEnterpriseArchitectsCloudFoundryJuly2017
MNAssociationEnterpriseArchitectsCloudFoundryJuly2017
 

Recently uploaded

42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
vaishalijagtap12
 
Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...
Paul Brebner
 
Cost-Effective Strategies For iOS App Development
Cost-Effective Strategies For iOS App DevelopmentCost-Effective Strategies For iOS App Development
Cost-Effective Strategies For iOS App Development
Softradix Technologies
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
Alberto Brandolini
 
What is Continuous Testing in DevOps - A Definitive Guide.pdf
What is Continuous Testing in DevOps - A Definitive Guide.pdfWhat is Continuous Testing in DevOps - A Definitive Guide.pdf
What is Continuous Testing in DevOps - A Definitive Guide.pdf
kalichargn70th171
 
Streamlining End-to-End Testing Automation
Streamlining End-to-End Testing AutomationStreamlining End-to-End Testing Automation
Streamlining End-to-End Testing Automation
Anand Bagmar
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
gapen1
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
Alina Yurenko
 
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery FleetStork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
Vince Scalabrino
 
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data PlatformAlluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio, Inc.
 
Beginner's Guide to Observability@Devoxx PL 2024
Beginner's  Guide to Observability@Devoxx PL 2024Beginner's  Guide to Observability@Devoxx PL 2024
Beginner's Guide to Observability@Devoxx PL 2024
michniczscribd
 
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Paul Brebner
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
kalichargn70th171
 
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
kalichargn70th171
 
Transforming Product Development using OnePlan To Boost Efficiency and Innova...
Transforming Product Development using OnePlan To Boost Efficiency and Innova...Transforming Product Development using OnePlan To Boost Efficiency and Innova...
Transforming Product Development using OnePlan To Boost Efficiency and Innova...
OnePlan Solutions
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
kgyxske
 
Orca: Nocode Graphical Editor for Container Orchestration
Orca: Nocode Graphical Editor for Container OrchestrationOrca: Nocode Graphical Editor for Container Orchestration
Orca: Nocode Graphical Editor for Container Orchestration
Pedro J. Molina
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
Zycus
 

Recently uploaded (20)

42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
 
Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...
 
Cost-Effective Strategies For iOS App Development
Cost-Effective Strategies For iOS App DevelopmentCost-Effective Strategies For iOS App Development
Cost-Effective Strategies For iOS App Development
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
 
What is Continuous Testing in DevOps - A Definitive Guide.pdf
What is Continuous Testing in DevOps - A Definitive Guide.pdfWhat is Continuous Testing in DevOps - A Definitive Guide.pdf
What is Continuous Testing in DevOps - A Definitive Guide.pdf
 
Streamlining End-to-End Testing Automation
Streamlining End-to-End Testing AutomationStreamlining End-to-End Testing Automation
Streamlining End-to-End Testing Automation
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
 
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery FleetStork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
 
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data PlatformAlluxio Webinar | 10x Faster Trino Queries on Your Data Platform
Alluxio Webinar | 10x Faster Trino Queries on Your Data Platform
 
Beginner's Guide to Observability@Devoxx PL 2024
Beginner's  Guide to Observability@Devoxx PL 2024Beginner's  Guide to Observability@Devoxx PL 2024
Beginner's Guide to Observability@Devoxx PL 2024
 
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
 
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
 
Transforming Product Development using OnePlan To Boost Efficiency and Innova...
Transforming Product Development using OnePlan To Boost Efficiency and Innova...Transforming Product Development using OnePlan To Boost Efficiency and Innova...
Transforming Product Development using OnePlan To Boost Efficiency and Innova...
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
 
Orca: Nocode Graphical Editor for Container Orchestration
Orca: Nocode Graphical Editor for Container OrchestrationOrca: Nocode Graphical Editor for Container Orchestration
Orca: Nocode Graphical Editor for Container Orchestration
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
 

128692851-Introducing-Windows-Azure.ppt

  • 3. 3 Add text title Add text title Arnon Rotem Gal-Oz has more than 20 years of experience managing, architecting and developing large scale, mission critical, distributed systems. Before joining CodeValue as VP product management, Arnon worked as VP R&D for xsights, a visual search SaaS provider. Prior to that, he worked in various technical and managerial roles in large corporations including Microsoft, Amdocs and Matrix. Arnon published articles for various online and printed journals such as InfoQ, Dr. Dobb’s and MSDN. Alon Fliess got his BSc degree in electrical & computer engineering from the Technion, the Israel Institute of Technology. Alon recognized as a Microsoft Regional Director (MRD) as well as Microsoft MVP. Alon is an expert in many Microsoft technologies, be it Windows internals, C++ Win32 programming, .NET with C# or C++/CLI. Alon is the co-author of the Introducing Windows 7 for Developers book. Alon gives lectures in conferences worldwide.
  • 4. 4 Agenda • Hello Azure Application • Introduction to Cloud Computing • The Building Blocks of Azure • Web Role, Worker Role & VM Role • Service Bus, Queues & Access Control • Azure Storage – Table Storage, Queue & SQL Azure • Architecting Cloud Applications • Porting to the cloud
  • 5. 5 Show me the Wizard…
  • 6. 6 Cloud Computing A Game Changing Technology • Location independent computing • Shared servers  resources, software, and data • Elasticity • Total Cost of Operation • Natural evolution of: – Virtualization – Service-Oriented Architecture – Utility computing • Details are abstracted from consumers
  • 7. Cloud Fundamentals • Infrastructure as a Service (IaaS): basic compute and storage resources – On-demand servers – Amazon EC2, VMWare vCloud • Platform as a Service (PaaS): cloud application infrastructure – On-demand application-hosting environment – E.g. Google AppEngine, Salesforce.com, Windows Azure, Amazon • Software as a Service (SaaS): cloud applications – On-demand applications – E.g. GMail, Microsoft Office Web Companions
  • 8. The Benefits of the Cloud • The Cloud is about cheap, on-demand capacity = Managed for You Standal one Servers IaaS PaaS SaaS Applications Runtimes Database Operating System Virtualization Server Storage Networking
  • 10. 10 Windows Azure • Platform as a Service – Application Platform in the Cloud • Provides: – Compute • Web, Worker & VM Role – Storage • Blob, Table, Queue & Azure SQL Server – Application Fabric • Service Bus, Access Control, (Future: Cache, Integration & Composite)
  • 11. 11 INSIDE WINDOWS AZURE: THE CLOUD OPERATING SYSTEM
  • 12. 12 Windows Azure • Windows Azure is an OS for the data center – Model: Treat the data center as a machine – Handles resource management, provisioning, and monitoring – Manages application lifecycle – Allows developers to concentrate on business logic • Provides shared pool of compute, disk and network – Virtualized storage, compute and network – Illusion of boundless resources • Provides common building blocks for distributed applications – Reliable queuing, simple structured storage, SQL storage – Application services like access control and connectivity
  • 13. Windows Azure Components Windows Azure PaaS Applications Windows Azure Service Model Runtimes .NET 3.5/4, ASP .NET, PHP Operating System Windows Server 2008/R2-Compatible OS Virtualization Windows Azure Hypervisor Server Microsoft Blades Database SQL Azure Storage Windows Azure Storage (Blob, Queue, Table) Networking Windows Azure-Configured Networking
  • 14. 14 Modeling Cloud Applications • A cloud application is typically made up of different components – Front end: e.g. load-balanced stateless web servers – Middle worker tier: e.g. order processing, encoding – Backend storage: e.g. SQL tables or files – Multiple instances of each for scalability and availability
  • 15. 15 The Windows Azure Service Model • A Windows Azure application is called a “service” – Definition information – Configuration information – At least one “role” • Roles are like DLLs in the service “process” – Collection of code with an entry point that runs in its own virtual machine • There are currently three role types: – Web Role: IIS7 and ASP.NET in Windows Azure-supplied OS – Worker Role: arbitrary code in Windows Azure-supplied OS – VM Role: uploaded VHD with customer-supplied OS
  • 16. Role Contents • Definition: – Role name – Role type – VM size (e.g. small, medium, etc.) – Network endpoints • Code: – Web/Worker Role: Hosted DLL and other executables – VM Role: VHD • Configuration: – Number of instances – Number of update and fault domains
  • 17. Service Model Files • Service definition is in ServiceDefinition.csdef • Service configuration is in ServiceConfiguration.cscfg • CSPack program Zips service binaries and definition into service package file (service.cscfg)
  • 18. Availability: Update Domains • Purpose: Ensure service stays up while updating and Windows Azure OS updates • System considers update domains when upgrading a service – Update domains/Instance count = percent of service that will be offline – Default and max is 5, but you can override with upgradeDomainCount service definition element • The Windows Azure SLA is based on at least two update domains and two role instances in each role
  • 19. 19 Availability: Fault Domains • Purpose: Avoid single points of failures – Similar concept to update domains – But you don’t control the updates • Unit of failure based on data center topology – E.g. top-of-rack switch on a rack of machines • Windows Azure considers fault domains when allocating service roles – E.g. don’t put all roles in same rack
  • 20. Deploying a Service The 10,000 foot view • Service package uploaded to portal – Windows Azure Portal Service passes service package to “Red Dog Front End” (RDFE) Azure service – RDFE converts service package to native “RD” version • RDFE sends service to Fabric Controller (FC) based on target region • FC stores image in repository and deploys and activates service
  • 21. 21 The Fabric Controller (FC) • The “kernel” of the cloud operating system – Manages datacenter hardware – Manages Windows Azure services • Four main responsibilities: – Datacenter resource allocation – Datacenter resource provisioning – Service lifecycle management – Service health management • Inputs: – Description of the hardware and network resources it will control – Service model and binaries for cloud applications
  • 22. 22 Datacenter Architecture Node s TOR LB LB Agg PDU LB LB Agg LB LB Agg LB LB Agg LB LB Agg LB LB Agg Racks Datacenter Routers Aggregation Routers and Load Balancers Node s TOR PDU Node s TOR PDU Node s TOR PDU Node s TOR PDU Node s TOR PDU Node s TOR PDU Node s TOR PDU Node s TOR PDU Node s TOR PDU Node s TOR PDU Node s TOR PDU Node s TOR PDU Node s TOR PDU Node s TOR PDU … … … … … … Top of Rack Switches Power Distribution Units
  • 24. 24 Inside a Role VM Resource Volume OS Volume Role Volume Guest Agent Role Host Role Entry Point
  • 25. 25 Update Types • There are two update types: – In-place update: • Supports changes to configuration or binaries, not service definition • Role instances upgraded one update domain at a time • Two modes: automatic and manual – VIP swap update: • Service definition can change, but external endpoints must remain the same • New version of service deployed, external VIP/DIP mapping swapped with old • Changes to external endpoint count require a new deployment
  • 26. 26 Node and Role Health Maintenance • FC maintains service availability by monitoring the software and hardware health – Based primarily on heartbeats – Automatically “heals” affected roles Problem How Detected Fabric Response Role instance crashes FC guest agent monitors role termination FC restarts role Guest VM or agent crashes FC host agent notices missing guest agent heartbeats FC restarts VM and hosted role Host OS or agent crashes FC notices missing host agent heartbeat Tries to recover node FC reallocates roles to other nodes Detected node hardware issue Host agent informs FC FC migrates roles to other nodes Marks node “out for repair”
  • 27. 27 Azure Architecture Summary • Platform as a Service is all about reducing management and operations overhead • The Windows Azure Fabric Controller is the foundation for Windows Azure’s PaaS – Provisions machines – Deploys services – Configures hardware for services – Monitors service and hardware health – Performs service healing
  • 28. 28 THE WINDOWS AZURE MANAGEMENT PORTAL Let’s play with it