SlideShare ist ein Scribd-Unternehmen logo
1 von 47
C# Corner Kolkata presents
 Nitesh Luharuka
 Kolkata,IN
 //Website/Blog Goes here//
 MVP and Lead at C# Corner
 Focus on web
 …
 //Contact//
 Introduction to C# corner Kolkata Chapter
and Leader
 //Chapter Description Goes here//
 Sumantro
 Kolkata,In
 C# Corner Kolkata [Chapter Executive]
 Microsoft SpecialistC#,HTML5,CSS3,JS
 eloquentlyfoss3d.blogspot.com
 Saggy.zone@gmail.com
 Windows Azure 101
 The Fabric Controller
 Deploying a service
 Updating a service
 Host OS upgrades
A quick introduction
 Consumer view:
 On-demand
 Self-service
 Pay-for-use
 Scalable
 + Service provider
view:
 Multi-tenant
 Cost-effective
 What you get?
 Anything the service
provider has to offer!
▪ Compute
▪ Storage
▪ CDN
▪ Integration
▪ VPN
▪ ...
 Resources
= Managed forYou Standalone
Servers
IaaS PaaS SaaS
Applications
Runtimes
Database
Operating System
Virtualization
Server
Storage
Networking
Windows Azure
Standardization & Efficiency
Customization & Control
 Windows Azure is an OS for the data center
 Takes care of the machine = data center
 You concentrate on business logic
▪ Not on fail-over clustering, provisioning, load balancing, ...
 Provides shared pool of compute, disk and
network
 Illusion of unlimited capacity
 Provides building blocks for applications
 Automated OS updates & patches
 Automated application updates
 Automated configuration changes
 Designed to scale out
 You should
 Design for costs
 Design for scale out (instead of scale up)
 Design for failure
▪ Idempotent operations
▪ Short timeouts & retries
▪ Stateless (with state on durable storage)
 Application consists of
 Actual application in one or multiple roles
▪ Role = isolation boundary (~= DLL)
 Service model
▪ ITPro-as-an-XML
 Configuration
 Defines
 Which roles there are
 Role names & types
 VM size (x-small, small, medium, ...)
 Network endpoints required
 What configuration values to expect
 # update domains
 Can not be changed for a deployment
 Contains
 # instances
 Configuration values
 Certificates
 …
 Can be changed at runtime
Front-
End-2
Middle
Tier-2
Front-
End-1
Middle
Tier-1 Ensure service stays up
during updates
 Update domains =
percentage of service that
will be offline
 Default and max is 5
 Can be overridden
Front-
End-1
Front-
End-2
Update
Domain 1
Update
Domain 2
Middle
Tier-1
Middle
Tier-2
Middle
Tier-3
Update
Domain 3
Middle
Tier-3
 Similar to upgrade
domains
 “Unit of failure”
 Considered byWA when
provisioning
 >= 2 fault domains per
service
Front-
End-1
Fault
Domain 1
(eg 1 rack)
Fault
Domain 2
(eg 1 rack)
Front-
End-2
Middle
Tier-2
Middle
Tier-1
Fault
Domain 3
(eg 1 rack)
Middle
Tier-3
Your
Service
L
B
L
B
D
N
S
Fabric
Controller
Web Portal
(API)
Model
DNSconfig
ServiceServiceService
WindowsAzure’s kernel
 Windows Azure kernel
 Manages hardware &
services
 Uses description of
hardware & network
resources it will control
 Service model and
binaries for applications
 Responsibilities
 Resource allocation
 Resource provisioning
 Service lifecycle & health
management
Server Datacenter
TOR
LB LB
Agg
PDU
LB LB
Agg
LB LB
Agg
LB LB
Agg
Racks
Datacenter
Routers
Aggregation
Routers and
Load Balancers
TOR
PDU
TOR
PDU
TOR
PDU
TOR
PDU
TOR
PDU
TOR
PDU
TOR
PDU
TOR
PDU
TOR
PDU
TOR
PDU
TOR
PDU
…… …
Top of Rack
Switches
Power Distribution
Units
…
Nodes
Nodes
Nodes
Nodes
Nodes
Nodes
Nodes
Nodes
Nodes
Nodes
Nodes
Nodes
 Distributed application running
on nodes spread across fault domains
 Installed by “Utility” FC
 One primary FC
 Supports rolling upgrade
 If FC fails, your apps are
unaffected
Node
Windows
Azure
OS
FC
Host
Agent
Windows Azure Hypervisor
 Power on node
 Network (PXE) boot
of Maintenance OS (WinPE)
 Agent formats disk
& downloads Host OS
 Host OS boots,
runs Sysprep & reboots
 FC connects with
the Host Agent
Fabric Controller
Role
Images
Role
Images
Role
Images
Role
Images
Image Repository
Maintenanc
e OS
Parent
OS
Maintenance
OS
PXE
Server
Windows
Azure
OS
Fabric Controller
(Primary)
FC Host Agent
(trusted)
Host Partition
Guest
Partition
Guest
Agent
Guest
Partition
Guest
Agent
Guest
Partition
Guest
Agent
Guest
Partition
Guest
Agent
Physical Node
Fabric Controller
(Replica)
Fabric Controller
(Replica)
…
Role
Instance
Role
Instance
Role
Instance
Role
Instance
Trust boundary
27
What happens when I click “Upload”?
 Process service model files
 Determine resource requirements
 Create role images
 Allocate compute and network resources
 Prepare nodes
 Place role images on nodes
 Create & startVM
 Configure networking
 Dynamic IP addresses (DIPs) assigned to blades
 Virtual IP addresses (VIPs) + ports allocated
 Programs load balancers to allow traffic
 Goals:
 Allocate service components to available
resources
 Satisfy constraints (VM size, fault domains)
 Optionally: satisfy soft constraints
 Prefer simplified deployments
▪ Instances from same update domain on same host
 Optimize networking
▪ Put nodes closer together
Role B
Count: 2
Update Domains: 2
Fault Domains: 2
Size: Medium
Role A
Count: 3
Update Domains: 3
Fault Domains: 3
Size: Large
LB
my.cloudapp.net
 FC pushes role files & configuration to host
agent
 Host agent creates threeVHDs:
 DifferencingVHD for OS image (D:)
▪ Host agent injects FC guest agent intoVHD for Web/Worker
roles
 ResourceVHD for temporary files (C:)
 RoleVHD for role files (first available drive letter e.g.
E:, F:)
 Host agent createsVM, attachesVHDs, and
startsVM
 Guest agent starts role host & calls role entry
point
 Starts health heartbeat to and gets commands
from host agent
 Load balancer only routes to external
endpoint when it responds to simple HTTP
GET (LB probe)
DEMOLet’s get some evidence...
What happens when I click “Upgrade”?
 SwapVirtual IPs between the two slots
 Production becomes Staging
 Staging becomes Production
 Instances are not affected
 DNS and LB remains intact
 Happens very fast
 Can only use when the service model hasn’t
changed
Load Balancer:
Stage
Prod
Worker Role
VM
Worker Role
VM
VM
VM
 “Rolling upgrades”
 Difficult to do in traditional IT
 Leverages Upgrade Domains
 Service model must be identical
 No new roles, no changes in .csdef, etc.
 For Each Upgrade Domain
 Stop instances
 Update
 Start instances
Load Balancer
Worker Role Worker Role
#1
#2
#1
#2
What happens on “patchTuesday”?
 Initiated by theWindows Azure team
 Goal: update all machines ASAP not violating SLA
 Your role instance keeps the sameVM andVHDs,
preserving cached data in the resource volume.
 Update domains are allocated to 1 host node
 Don’t make things confusing
 Allows rebooting a complete host without violating SLA
 Allows updating all hosts for UDx at once
What happens when nothing happens?
 LB “probes” guest agent every 15 seconds
 Miss 2 probes? LB stops forwarding traffic
 Role can report “busy” to guest agent
 Guest agent stops responding probes
public class WebRole : RoleEntryPoint {
public override bool OnStart() {
RoleEnvironment.StatusCheck += (sender, args) =>
{
if (DateTime.UtcNow.Second > 20)
args.SetBusy();
};
return base.OnStart();
}
}
 Based on heartbeats, typically 15
seconds
 Used for status and recovery
 Health state sampler resets the index on
successful poll
 Once index falls below zero, FC attempts
to heal node
 Host agent timeout is 10 minutes
 Worst-case reaction time is timeout
interval + heartbeat interval
Missed
Heartbeat
Recovery
Initiated
Application
VM level
Host level
Datacenter
level
Fabric
Controller
Host Agent
Guest
Agent
Your
application
Load
Balancer
 Similar to a service update
 Source node:
 Role instances stopped
 VMs stopped
 Node reprovisioned
 Destination node:
 Same steps as initial role instance deployment
 Warning: ResourceVHD is not moved
 (that’s why you should consider it volatile)
What to remember?
 Windows Azure & PaaS
 The Fabric Controller
 Deploying a service
 Updating a service
 Host OS upgrades
 Health
Azure webinar kolkata

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to Amazon Web Services (AWS)
Introduction to Amazon Web Services (AWS)Introduction to Amazon Web Services (AWS)
Introduction to Amazon Web Services (AWS)Jason "JP" Pomerleau
 
Zero Downtime JEE Architectures
Zero Downtime JEE ArchitecturesZero Downtime JEE Architectures
Zero Downtime JEE ArchitecturesAlexander Penev
 
Introduction to EC2
Introduction to EC2Introduction to EC2
Introduction to EC2Mark Squires
 
Database mirroring setup
Database mirroring setupDatabase mirroring setup
Database mirroring setupK Singh
 
Mirroring in SQL Server 2012 R2
Mirroring in SQL Server 2012 R2Mirroring in SQL Server 2012 R2
Mirroring in SQL Server 2012 R2Mahesh Dahal
 
Weblogic Domain Activity
Weblogic Domain ActivityWeblogic Domain Activity
Weblogic Domain Activitysubash prakash
 
Microsoft Windows Shared Storage on AWS
Microsoft Windows  Shared Storage on AWSMicrosoft Windows  Shared Storage on AWS
Microsoft Windows Shared Storage on AWSJulien Lecadou,MSc.
 
Designing Stateful Apps for Cloud and Kubernetes
Designing Stateful Apps for Cloud and KubernetesDesigning Stateful Apps for Cloud and Kubernetes
Designing Stateful Apps for Cloud and KubernetesEvan Chan
 
How to set up a Windows Domain on AWS
How to set up a Windows Domain on AWS How to set up a Windows Domain on AWS
How to set up a Windows Domain on AWS Julien Lecadou,MSc.
 
Introduction to Elastic Beanstalk
Introduction to Elastic BeanstalkIntroduction to Elastic Beanstalk
Introduction to Elastic BeanstalkWolfgang Schell
 
Aws elastic beanstalk
Aws elastic beanstalkAws elastic beanstalk
Aws elastic beanstalkSusanAli16
 
AWS Elastic Container Service (ECS) with a CI Pipeline Overview
AWS Elastic Container Service (ECS) with a CI Pipeline OverviewAWS Elastic Container Service (ECS) with a CI Pipeline Overview
AWS Elastic Container Service (ECS) with a CI Pipeline OverviewWyn B. Van Devanter
 
Java script anywhere. What Nombas was doing pre-acquisition.
Java script anywhere. What Nombas was doing pre-acquisition.Java script anywhere. What Nombas was doing pre-acquisition.
Java script anywhere. What Nombas was doing pre-acquisition.Brent Noorda
 
Webinar Slides: High Noon at AWS — Amazon RDS vs. Tungsten Clustering with My...
Webinar Slides: High Noon at AWS — Amazon RDS vs. Tungsten Clustering with My...Webinar Slides: High Noon at AWS — Amazon RDS vs. Tungsten Clustering with My...
Webinar Slides: High Noon at AWS — Amazon RDS vs. Tungsten Clustering with My...Continuent
 

Was ist angesagt? (18)

Introduction to Amazon Web Services (AWS)
Introduction to Amazon Web Services (AWS)Introduction to Amazon Web Services (AWS)
Introduction to Amazon Web Services (AWS)
 
Zero Downtime JEE Architectures
Zero Downtime JEE ArchitecturesZero Downtime JEE Architectures
Zero Downtime JEE Architectures
 
Introduction to EC2
Introduction to EC2Introduction to EC2
Introduction to EC2
 
Database mirroring setup
Database mirroring setupDatabase mirroring setup
Database mirroring setup
 
Aws elastic compute cloud
Aws   elastic compute cloudAws   elastic compute cloud
Aws elastic compute cloud
 
Mirroring in SQL Server 2012 R2
Mirroring in SQL Server 2012 R2Mirroring in SQL Server 2012 R2
Mirroring in SQL Server 2012 R2
 
Weblogic Domain Activity
Weblogic Domain ActivityWeblogic Domain Activity
Weblogic Domain Activity
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
 
Microsoft Windows Shared Storage on AWS
Microsoft Windows  Shared Storage on AWSMicrosoft Windows  Shared Storage on AWS
Microsoft Windows Shared Storage on AWS
 
Designing Stateful Apps for Cloud and Kubernetes
Designing Stateful Apps for Cloud and KubernetesDesigning Stateful Apps for Cloud and Kubernetes
Designing Stateful Apps for Cloud and Kubernetes
 
How to set up a Windows Domain on AWS
How to set up a Windows Domain on AWS How to set up a Windows Domain on AWS
How to set up a Windows Domain on AWS
 
Developer workflow with docker
Developer workflow with dockerDeveloper workflow with docker
Developer workflow with docker
 
Introduction to Elastic Beanstalk
Introduction to Elastic BeanstalkIntroduction to Elastic Beanstalk
Introduction to Elastic Beanstalk
 
Aws elastic beanstalk
Aws elastic beanstalkAws elastic beanstalk
Aws elastic beanstalk
 
AWS Elastic Container Service (ECS) with a CI Pipeline Overview
AWS Elastic Container Service (ECS) with a CI Pipeline OverviewAWS Elastic Container Service (ECS) with a CI Pipeline Overview
AWS Elastic Container Service (ECS) with a CI Pipeline Overview
 
Java script anywhere. What Nombas was doing pre-acquisition.
Java script anywhere. What Nombas was doing pre-acquisition.Java script anywhere. What Nombas was doing pre-acquisition.
Java script anywhere. What Nombas was doing pre-acquisition.
 
Webinar Slides: High Noon at AWS — Amazon RDS vs. Tungsten Clustering with My...
Webinar Slides: High Noon at AWS — Amazon RDS vs. Tungsten Clustering with My...Webinar Slides: High Noon at AWS — Amazon RDS vs. Tungsten Clustering with My...
Webinar Slides: High Noon at AWS — Amazon RDS vs. Tungsten Clustering with My...
 
ecs-presentation
ecs-presentationecs-presentation
ecs-presentation
 

Ähnlich wie Azure webinar kolkata

MS Cloud Day - Deploying and monitoring windows azure applications
MS Cloud Day - Deploying and monitoring windows azure applicationsMS Cloud Day - Deploying and monitoring windows azure applications
MS Cloud Day - Deploying and monitoring windows azure applicationsSpiffy
 
Microsoft Windows Azure - Cloud Computing Hosting Environment Presentation
Microsoft Windows Azure - Cloud Computing Hosting Environment PresentationMicrosoft Windows Azure - Cloud Computing Hosting Environment Presentation
Microsoft Windows Azure - Cloud Computing Hosting Environment PresentationMicrosoft Private Cloud
 
ES19 – Under the Hood: Inside the Cloud Computing Hosting Environmnent
ES19 – Under the Hood: Inside the Cloud Computing Hosting EnvironmnentES19 – Under the Hood: Inside the Cloud Computing Hosting Environmnent
ES19 – Under the Hood: Inside the Cloud Computing Hosting Environmnentbutest
 
128692851-Introducing-Windows-Azure.ppt
128692851-Introducing-Windows-Azure.ppt128692851-Introducing-Windows-Azure.ppt
128692851-Introducing-Windows-Azure.pptSaraNawghare
 
Introducing Windows Azure
Introducing Windows Azure Introducing Windows Azure
Introducing Windows Azure Mohamed Samy
 
TopStack Product Architecture 2013-Q3
TopStack Product Architecture 2013-Q3TopStack Product Architecture 2013-Q3
TopStack Product Architecture 2013-Q3TranscendComputing
 
Discovery Day 2019 Sofia - Big data clusters
Discovery Day 2019 Sofia - Big data clustersDiscovery Day 2019 Sofia - Big data clusters
Discovery Day 2019 Sofia - Big data clustersIvan Donev
 
Windows Azure ile Kesintisiz İş Süreci
Windows Azure ile Kesintisiz İş SüreciWindows Azure ile Kesintisiz İş Süreci
Windows Azure ile Kesintisiz İş Süreciİbrahim ATAY
 
Cloud Foundry Technical Overview
Cloud Foundry Technical OverviewCloud Foundry Technical Overview
Cloud Foundry Technical Overviewcornelia davis
 
Velocity 2018 preetha appan final
Velocity 2018   preetha appan finalVelocity 2018   preetha appan final
Velocity 2018 preetha appan finalpreethaappan
 
vCloud Automation Center 6.0 -My Notes on Architecture
vCloud Automation Center 6.0 -My Notes on ArchitecturevCloud Automation Center 6.0 -My Notes on Architecture
vCloud Automation Center 6.0 -My Notes on Architecturetechstarts
 
Server Farms and XML Web Services
Server Farms and XML Web ServicesServer Farms and XML Web Services
Server Farms and XML Web ServicesJorgen Thelin
 
High volume real time contiguous etl and audit
High volume real time contiguous etl and auditHigh volume real time contiguous etl and audit
High volume real time contiguous etl and auditRemus Rusanu
 
Java & SOA Cloud Service for Fusion Middleware Administrators
Java & SOA Cloud Service for Fusion Middleware AdministratorsJava & SOA Cloud Service for Fusion Middleware Administrators
Java & SOA Cloud Service for Fusion Middleware AdministratorsSimon Haslam
 
E2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane ThirionE2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane Thirionsthirion
 
Scaling asp.net websites to millions of users
Scaling asp.net websites to millions of usersScaling asp.net websites to millions of users
Scaling asp.net websites to millions of usersoazabir
 
HashiStack. To the cloud and beyond...
HashiStack. To the cloud and beyond...HashiStack. To the cloud and beyond...
HashiStack. To the cloud and beyond...Oleg Lobanov
 

Ähnlich wie Azure webinar kolkata (20)

MS Cloud Day - Deploying and monitoring windows azure applications
MS Cloud Day - Deploying and monitoring windows azure applicationsMS Cloud Day - Deploying and monitoring windows azure applications
MS Cloud Day - Deploying and monitoring windows azure applications
 
Microsoft Windows Azure - Cloud Computing Hosting Environment Presentation
Microsoft Windows Azure - Cloud Computing Hosting Environment PresentationMicrosoft Windows Azure - Cloud Computing Hosting Environment Presentation
Microsoft Windows Azure - Cloud Computing Hosting Environment Presentation
 
ES19 – Under the Hood: Inside the Cloud Computing Hosting Environmnent
ES19 – Under the Hood: Inside the Cloud Computing Hosting EnvironmnentES19 – Under the Hood: Inside the Cloud Computing Hosting Environmnent
ES19 – Under the Hood: Inside the Cloud Computing Hosting Environmnent
 
128692851-Introducing-Windows-Azure.ppt
128692851-Introducing-Windows-Azure.ppt128692851-Introducing-Windows-Azure.ppt
128692851-Introducing-Windows-Azure.ppt
 
Introducing Windows Azure
Introducing Windows Azure Introducing Windows Azure
Introducing Windows Azure
 
TopStack Product Architecture 2013-Q3
TopStack Product Architecture 2013-Q3TopStack Product Architecture 2013-Q3
TopStack Product Architecture 2013-Q3
 
Discovery Day 2019 Sofia - Big data clusters
Discovery Day 2019 Sofia - Big data clustersDiscovery Day 2019 Sofia - Big data clusters
Discovery Day 2019 Sofia - Big data clusters
 
Windows Azure ile Kesintisiz İş Süreci
Windows Azure ile Kesintisiz İş SüreciWindows Azure ile Kesintisiz İş Süreci
Windows Azure ile Kesintisiz İş Süreci
 
XenApp Load Balancing
XenApp Load BalancingXenApp Load Balancing
XenApp Load Balancing
 
SQL under the hood
SQL under the hoodSQL under the hood
SQL under the hood
 
Cloud Foundry Technical Overview
Cloud Foundry Technical OverviewCloud Foundry Technical Overview
Cloud Foundry Technical Overview
 
Velocity 2018 preetha appan final
Velocity 2018   preetha appan finalVelocity 2018   preetha appan final
Velocity 2018 preetha appan final
 
vCloud Automation Center 6.0 -My Notes on Architecture
vCloud Automation Center 6.0 -My Notes on ArchitecturevCloud Automation Center 6.0 -My Notes on Architecture
vCloud Automation Center 6.0 -My Notes on Architecture
 
Server Farms and XML Web Services
Server Farms and XML Web ServicesServer Farms and XML Web Services
Server Farms and XML Web Services
 
High volume real time contiguous etl and audit
High volume real time contiguous etl and auditHigh volume real time contiguous etl and audit
High volume real time contiguous etl and audit
 
Java & SOA Cloud Service for Fusion Middleware Administrators
Java & SOA Cloud Service for Fusion Middleware AdministratorsJava & SOA Cloud Service for Fusion Middleware Administrators
Java & SOA Cloud Service for Fusion Middleware Administrators
 
Azure migration
Azure migrationAzure migration
Azure migration
 
E2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane ThirionE2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane Thirion
 
Scaling asp.net websites to millions of users
Scaling asp.net websites to millions of usersScaling asp.net websites to millions of users
Scaling asp.net websites to millions of users
 
HashiStack. To the cloud and beyond...
HashiStack. To the cloud and beyond...HashiStack. To the cloud and beyond...
HashiStack. To the cloud and beyond...
 

Kürzlich hochgeladen

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 

Kürzlich hochgeladen (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

Azure webinar kolkata

  • 1. C# Corner Kolkata presents
  • 2.  Nitesh Luharuka  Kolkata,IN  //Website/Blog Goes here//  MVP and Lead at C# Corner  Focus on web  …  //Contact//
  • 3.  Introduction to C# corner Kolkata Chapter and Leader  //Chapter Description Goes here//
  • 4.  Sumantro  Kolkata,In  C# Corner Kolkata [Chapter Executive]  Microsoft SpecialistC#,HTML5,CSS3,JS  eloquentlyfoss3d.blogspot.com  Saggy.zone@gmail.com
  • 5.  Windows Azure 101  The Fabric Controller  Deploying a service  Updating a service  Host OS upgrades
  • 7.  Consumer view:  On-demand  Self-service  Pay-for-use  Scalable  + Service provider view:  Multi-tenant  Cost-effective  What you get?  Anything the service provider has to offer! ▪ Compute ▪ Storage ▪ CDN ▪ Integration ▪ VPN ▪ ...  Resources
  • 8. = Managed forYou Standalone Servers IaaS PaaS SaaS Applications Runtimes Database Operating System Virtualization Server Storage Networking Windows Azure Standardization & Efficiency Customization & Control
  • 9.
  • 10.  Windows Azure is an OS for the data center  Takes care of the machine = data center  You concentrate on business logic ▪ Not on fail-over clustering, provisioning, load balancing, ...  Provides shared pool of compute, disk and network  Illusion of unlimited capacity  Provides building blocks for applications
  • 11.  Automated OS updates & patches  Automated application updates  Automated configuration changes  Designed to scale out
  • 12.  You should  Design for costs  Design for scale out (instead of scale up)  Design for failure ▪ Idempotent operations ▪ Short timeouts & retries ▪ Stateless (with state on durable storage)
  • 13.  Application consists of  Actual application in one or multiple roles ▪ Role = isolation boundary (~= DLL)  Service model ▪ ITPro-as-an-XML  Configuration
  • 14.  Defines  Which roles there are  Role names & types  VM size (x-small, small, medium, ...)  Network endpoints required  What configuration values to expect  # update domains  Can not be changed for a deployment
  • 15.  Contains  # instances  Configuration values  Certificates  …  Can be changed at runtime
  • 16. Front- End-2 Middle Tier-2 Front- End-1 Middle Tier-1 Ensure service stays up during updates  Update domains = percentage of service that will be offline  Default and max is 5  Can be overridden Front- End-1 Front- End-2 Update Domain 1 Update Domain 2 Middle Tier-1 Middle Tier-2 Middle Tier-3 Update Domain 3 Middle Tier-3
  • 17.  Similar to upgrade domains  “Unit of failure”  Considered byWA when provisioning  >= 2 fault domains per service Front- End-1 Fault Domain 1 (eg 1 rack) Fault Domain 2 (eg 1 rack) Front- End-2 Middle Tier-2 Middle Tier-1 Fault Domain 3 (eg 1 rack) Middle Tier-3
  • 20.  Windows Azure kernel  Manages hardware & services  Uses description of hardware & network resources it will control  Service model and binaries for applications  Responsibilities  Resource allocation  Resource provisioning  Service lifecycle & health management Server Datacenter
  • 21. TOR LB LB Agg PDU LB LB Agg LB LB Agg LB LB Agg Racks Datacenter Routers Aggregation Routers and Load Balancers TOR PDU TOR PDU TOR PDU TOR PDU TOR PDU TOR PDU TOR PDU TOR PDU TOR PDU TOR PDU TOR PDU …… … Top of Rack Switches Power Distribution Units … Nodes Nodes Nodes Nodes Nodes Nodes Nodes Nodes Nodes Nodes Nodes Nodes
  • 22.
  • 23.  Distributed application running on nodes spread across fault domains  Installed by “Utility” FC  One primary FC  Supports rolling upgrade  If FC fails, your apps are unaffected
  • 24. Node Windows Azure OS FC Host Agent Windows Azure Hypervisor  Power on node  Network (PXE) boot of Maintenance OS (WinPE)  Agent formats disk & downloads Host OS  Host OS boots, runs Sysprep & reboots  FC connects with the Host Agent Fabric Controller Role Images Role Images Role Images Role Images Image Repository Maintenanc e OS Parent OS Maintenance OS PXE Server Windows Azure OS
  • 25. Fabric Controller (Primary) FC Host Agent (trusted) Host Partition Guest Partition Guest Agent Guest Partition Guest Agent Guest Partition Guest Agent Guest Partition Guest Agent Physical Node Fabric Controller (Replica) Fabric Controller (Replica) … Role Instance Role Instance Role Instance Role Instance Trust boundary 27
  • 26. What happens when I click “Upload”?
  • 27.  Process service model files  Determine resource requirements  Create role images  Allocate compute and network resources  Prepare nodes  Place role images on nodes  Create & startVM  Configure networking  Dynamic IP addresses (DIPs) assigned to blades  Virtual IP addresses (VIPs) + ports allocated  Programs load balancers to allow traffic
  • 28.  Goals:  Allocate service components to available resources  Satisfy constraints (VM size, fault domains)  Optionally: satisfy soft constraints  Prefer simplified deployments ▪ Instances from same update domain on same host  Optimize networking ▪ Put nodes closer together
  • 29. Role B Count: 2 Update Domains: 2 Fault Domains: 2 Size: Medium Role A Count: 3 Update Domains: 3 Fault Domains: 3 Size: Large LB my.cloudapp.net
  • 30.  FC pushes role files & configuration to host agent  Host agent creates threeVHDs:  DifferencingVHD for OS image (D:) ▪ Host agent injects FC guest agent intoVHD for Web/Worker roles  ResourceVHD for temporary files (C:)  RoleVHD for role files (first available drive letter e.g. E:, F:)  Host agent createsVM, attachesVHDs, and startsVM
  • 31.  Guest agent starts role host & calls role entry point  Starts health heartbeat to and gets commands from host agent  Load balancer only routes to external endpoint when it responds to simple HTTP GET (LB probe)
  • 32. DEMOLet’s get some evidence...
  • 33. What happens when I click “Upgrade”?
  • 34.  SwapVirtual IPs between the two slots  Production becomes Staging  Staging becomes Production  Instances are not affected  DNS and LB remains intact  Happens very fast  Can only use when the service model hasn’t changed
  • 36.  “Rolling upgrades”  Difficult to do in traditional IT  Leverages Upgrade Domains  Service model must be identical  No new roles, no changes in .csdef, etc.  For Each Upgrade Domain  Stop instances  Update  Start instances
  • 37. Load Balancer Worker Role Worker Role #1 #2 #1 #2
  • 38. What happens on “patchTuesday”?
  • 39.  Initiated by theWindows Azure team  Goal: update all machines ASAP not violating SLA  Your role instance keeps the sameVM andVHDs, preserving cached data in the resource volume.  Update domains are allocated to 1 host node  Don’t make things confusing  Allows rebooting a complete host without violating SLA  Allows updating all hosts for UDx at once
  • 40. What happens when nothing happens?
  • 41.  LB “probes” guest agent every 15 seconds  Miss 2 probes? LB stops forwarding traffic  Role can report “busy” to guest agent  Guest agent stops responding probes public class WebRole : RoleEntryPoint { public override bool OnStart() { RoleEnvironment.StatusCheck += (sender, args) => { if (DateTime.UtcNow.Second > 20) args.SetBusy(); }; return base.OnStart(); } }
  • 42.  Based on heartbeats, typically 15 seconds  Used for status and recovery  Health state sampler resets the index on successful poll  Once index falls below zero, FC attempts to heal node  Host agent timeout is 10 minutes  Worst-case reaction time is timeout interval + heartbeat interval Missed Heartbeat Recovery Initiated
  • 43. Application VM level Host level Datacenter level Fabric Controller Host Agent Guest Agent Your application Load Balancer
  • 44.  Similar to a service update  Source node:  Role instances stopped  VMs stopped  Node reprovisioned  Destination node:  Same steps as initial role instance deployment  Warning: ResourceVHD is not moved  (that’s why you should consider it volatile)
  • 46.  Windows Azure & PaaS  The Fabric Controller  Deploying a service  Updating a service  Host OS upgrades  Health

Hinweis der Redaktion

  1. Idempotent operations (more than once)
  2. Idempotent operations (more than once)
  3. 40 blades in a rack Top router is SPOF Top switch is SPOF Fault-domain: rack!
  4. Demo: RDP into instance Show drives available (C:\, D:\ and E:\) Have a look at C:\Config Have a look at the batch files on D:\