SlideShare a Scribd company logo
02 | Hosting Services in Windows Azure 
Bruno Terkaly | Technical Evangelist 
Bret Stateham | Technical Evangelist
Module Overview 
• Windows Azure Overview 
• Windows Azure Web Sites 
• Windows Azure Cloud Service Web Roles 
• Windows Azure Cloud Service Worker Roles
Azure Overview
Windows Azure Overview 
For me, “the cloud”, at it’s heart is about 
running your code, 
and storing your data 
in somebody else's data center 
and leveraging their platform and services
Windows Azure Overview
ALL ITEMS Software as a Services (SaaS) 
WEB SITES 
VIRTUAL MACHINES 
MOBILE SERVICES 
CLOUD SERVICES 
SQL DATABASES 
STORAGE 
HDINSIGHT 
MEDIA SERVICES 
SERVICE BUS 
BIZTALK SERVICES 
SQL REPORTING 
NETWORKS 
TRAFFIC MANAGER 
MANAGEMENT SERVICES 
ACTIVE DIRECTORY 
ADD-ONS2 
SETTINGS 
Platform as a Services (PaaS) 
Infrastructure as a Services (IaaS)
Azure from a Web Services Perspective…. 
Virtual Machines 
Persistent 
Windows or Linux 
Virtual Machines 
Cloud Services 
Scalable, Configurable 
Windows Server 
Instances 
Web Sites 
Scalable Web Sites. 
No OS config needed 
Storage Services 
File (blob) storage, 
No-SQL Tables and 
Queues 
SQL Database 
Convenient, scalable 
SQL Databases 
Service Bus 
Expand your services 
reach beyond the 
firewall
Web Services in Azure Web Sites
02 hosting servicesinwindowsazure
Supported Publishing Methods
DEMO 
Deploying a Web Service to a Windows Azure Web Site
Windows Azure Cloud Services
What is a Cloud Service?
A “Platform as a Service” (PaaS) solution 
Preconfigured Virtual Machines (VMs) 
Running Windows Server 2012 R2, 2012, or 2008 
You DO NOT need to install the OS 
You DO NOT need to maintain the OS 
They are STATELESS 
When a VM is recycled, no data is preserved 
Data in local storage (local to the VM) will be lost 
Persist data in Table or Blob Storage or SQL Azure
Server Rack 
VM VM 
VM VM VM 
VM 
VM VM 
VM VM 
Server Rack 
VM VM 
VM VM 
VM VM VM 
VM 
VM VM VM 
Server Rack 
VM VM 
VM VM VM 
VM 
VM VM 
VM 
Server Rack 
VM 
VM 
VM VM 
VM VM 
VM VM VM 
VM 
VM 
VM 
VM 
VM
Cloud Services 
Windows Azure Data Center 
Cloud Service (cloudservicename.cloudapp.net) 
Firewall 
Load Bal. 
Web Role 
Web Role 
Worker 
Role 
Worker 
Role 
Virtual 
Machine 
80 
8081 
1433 
Storage (accountname.*.core.windows.net) 
SQL Database (server.database.windows.net) 
Lot’s of other cool stuff they can use….
Web Roles 
• Pre-configured Windows Server 
• IIS Pre-Installed 
• Firewall open for port 80 
• Default Endpoint for port 80 
• You can run pretty much any IIS workload on it 
• Customizable with startup scripts 
• Run hybrid workloads with WebRole.cs
WCF Web Services in Web Roles 
• Pretty Easy! 
• You write the web service the same 
• IIS deals with hosting it 
• Unless you ports other than 80, they are setup 
• WCF Service / code has access to Azure runtime
DEMO 
Running and Deploying a WCF Service to a Web Role
Worker Roles 
• Pre-configured Windows Server 
• Nothing else installed 
• No default Azure endpoints 
• Run custom workloads that don’t require IIS 
• Install additional software, etc. using scripts 
• Implement Logic in the WorkerRole.cs class
WCF Web Services in Worker Roles 
• Not “Hard”, but not as easy as Web Roles 
• You need to write code for the Service Host 
• You need to create Azure Endpoints 
• You can create the WCF endpoints in code 
• Can also create WCF endpoints in config 
• Again, WorkerRole.cs is where you code
DEMO 
Running and Deploying a WCF Service to a Worker Role
©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in 
the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because 
Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information 
provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related Content

PPTX
Overview of Azure and Cloud Computing
PPTX
azure track -05- windows azure pack deep dive
PPTX
SharePoint Saturday Philly - To the Cloud
PPTX
App fabric hybrid computing
PPTX
Automation 2.0 - Automation Tools for Hybrid Cloud Environments
PPTX
Microsoft azure pack overview
PPTX
Scu2016 Azure Best practices
PPTX
MSDN - Converting an existing ASP.NET application to Windows Azure
Overview of Azure and Cloud Computing
azure track -05- windows azure pack deep dive
SharePoint Saturday Philly - To the Cloud
App fabric hybrid computing
Automation 2.0 - Automation Tools for Hybrid Cloud Environments
Microsoft azure pack overview
Scu2016 Azure Best practices
MSDN - Converting an existing ASP.NET application to Windows Azure

What's hot (20)

PPTX
DV03 Smooth Migration to Windows Azure
PPTX
Introduction into Windows Azure Pack and Service Management Automation
PPTX
Become an Automation Ninja in 60 Minutes
PPTX
Service Management Automation (SMA) from zero to hero
PPTX
Cnam cours azure iaas
PPTX
Cnam cours azure cloud services
PDF
SharePoint on Imaginary Hardware - IndyTechFest 2010
PPTX
5 things you need to know about Windows Azure
PDF
The Modern Web Part 4: Cloud Computing
PPTX
BizSpark Startup Night Windows Azure March 29, 2011
PPTX
Cnam cours azure web sites
PPTX
The Essentials of Building Cloud-Based Web Apps with Azure
PPTX
Codestrong 2012 breakout session building your own custom cloud services
PDF
Don't Be a Lopsided Web Developer
PDF
NDev Talk - Serverless Design Patterns
PPTX
Migrating Customers to Microsoft Azure: Lessons Learned From the Field
PPTX
CTU June 2011 - Microsoft System Center Virtual Machine Manager 2012
PDF
Windows 8 and the Cloud
PDF
Tomasz Janczuk - Webtaskalifragilistexpialidocious
PDF
EUGM 2013 - Gabor Guta (ChemAxon) - JChem Web Services
DV03 Smooth Migration to Windows Azure
Introduction into Windows Azure Pack and Service Management Automation
Become an Automation Ninja in 60 Minutes
Service Management Automation (SMA) from zero to hero
Cnam cours azure iaas
Cnam cours azure cloud services
SharePoint on Imaginary Hardware - IndyTechFest 2010
5 things you need to know about Windows Azure
The Modern Web Part 4: Cloud Computing
BizSpark Startup Night Windows Azure March 29, 2011
Cnam cours azure web sites
The Essentials of Building Cloud-Based Web Apps with Azure
Codestrong 2012 breakout session building your own custom cloud services
Don't Be a Lopsided Web Developer
NDev Talk - Serverless Design Patterns
Migrating Customers to Microsoft Azure: Lessons Learned From the Field
CTU June 2011 - Microsoft System Center Virtual Machine Manager 2012
Windows 8 and the Cloud
Tomasz Janczuk - Webtaskalifragilistexpialidocious
EUGM 2013 - Gabor Guta (ChemAxon) - JChem Web Services
Ad

Viewers also liked (6)

PPTX
1. WCF Services - Exam 70-487
PPTX
06 web api
PPTX
07 advanced topics
PPTX
05 entity framework
PPTX
03 data storage
PPTX
04 data accesstechnologies
1. WCF Services - Exam 70-487
06 web api
07 advanced topics
05 entity framework
03 data storage
04 data accesstechnologies
Ad

Similar to 02 hosting servicesinwindowsazure (20)

PPTX
CTU June 2011 - Hybrid Cloud Management with Microsoft System Center - Concero
PPTX
Windows Azure
PPTX
Microsoft Azure
PPTX
Global Azure Bootcamp: Azure service fabric
PDF
Developing and deploying windows azure applications
PPTX
SPT15 To the Cloud! Utilizing AWS and Azure as Cloud Hosting Providers for Sh...
PPTX
Global Windows Azure Bootcamp - San Diego
PPTX
Best of Microsoft Dev Camp 2015
PPTX
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
PPTX
Azure Web Jobs
PPTX
Cloud computing
PPTX
Using Nano Server for Hyper-V Training 0
PDF
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
PPTX
2020-02-10 Java on Azure Solution Briefing
PPT
Windows Azure for .NET Developers
PPTX
Microsoft Windows Azure Virtual Machines
PPTX
Windows azure pack overview
PPTX
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid Model
PPTX
Deploying couchbaseserverazure cihanbiyikoglu_microsoft
PPTX
Azure rev002
CTU June 2011 - Hybrid Cloud Management with Microsoft System Center - Concero
Windows Azure
Microsoft Azure
Global Azure Bootcamp: Azure service fabric
Developing and deploying windows azure applications
SPT15 To the Cloud! Utilizing AWS and Azure as Cloud Hosting Providers for Sh...
Global Windows Azure Bootcamp - San Diego
Best of Microsoft Dev Camp 2015
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Azure Web Jobs
Cloud computing
Using Nano Server for Hyper-V Training 0
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
2020-02-10 Java on Azure Solution Briefing
Windows Azure for .NET Developers
Microsoft Windows Azure Virtual Machines
Windows azure pack overview
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid Model
Deploying couchbaseserverazure cihanbiyikoglu_microsoft
Azure rev002

02 hosting servicesinwindowsazure

  • 1. 02 | Hosting Services in Windows Azure Bruno Terkaly | Technical Evangelist Bret Stateham | Technical Evangelist
  • 2. Module Overview • Windows Azure Overview • Windows Azure Web Sites • Windows Azure Cloud Service Web Roles • Windows Azure Cloud Service Worker Roles
  • 4. Windows Azure Overview For me, “the cloud”, at it’s heart is about running your code, and storing your data in somebody else's data center and leveraging their platform and services
  • 6. ALL ITEMS Software as a Services (SaaS) WEB SITES VIRTUAL MACHINES MOBILE SERVICES CLOUD SERVICES SQL DATABASES STORAGE HDINSIGHT MEDIA SERVICES SERVICE BUS BIZTALK SERVICES SQL REPORTING NETWORKS TRAFFIC MANAGER MANAGEMENT SERVICES ACTIVE DIRECTORY ADD-ONS2 SETTINGS Platform as a Services (PaaS) Infrastructure as a Services (IaaS)
  • 7. Azure from a Web Services Perspective…. Virtual Machines Persistent Windows or Linux Virtual Machines Cloud Services Scalable, Configurable Windows Server Instances Web Sites Scalable Web Sites. No OS config needed Storage Services File (blob) storage, No-SQL Tables and Queues SQL Database Convenient, scalable SQL Databases Service Bus Expand your services reach beyond the firewall
  • 8. Web Services in Azure Web Sites
  • 11. DEMO Deploying a Web Service to a Windows Azure Web Site
  • 13. What is a Cloud Service?
  • 14. A “Platform as a Service” (PaaS) solution Preconfigured Virtual Machines (VMs) Running Windows Server 2012 R2, 2012, or 2008 You DO NOT need to install the OS You DO NOT need to maintain the OS They are STATELESS When a VM is recycled, no data is preserved Data in local storage (local to the VM) will be lost Persist data in Table or Blob Storage or SQL Azure
  • 15. Server Rack VM VM VM VM VM VM VM VM VM VM Server Rack VM VM VM VM VM VM VM VM VM VM VM Server Rack VM VM VM VM VM VM VM VM VM Server Rack VM VM VM VM VM VM VM VM VM VM VM VM VM VM
  • 16. Cloud Services Windows Azure Data Center Cloud Service (cloudservicename.cloudapp.net) Firewall Load Bal. Web Role Web Role Worker Role Worker Role Virtual Machine 80 8081 1433 Storage (accountname.*.core.windows.net) SQL Database (server.database.windows.net) Lot’s of other cool stuff they can use….
  • 17. Web Roles • Pre-configured Windows Server • IIS Pre-Installed • Firewall open for port 80 • Default Endpoint for port 80 • You can run pretty much any IIS workload on it • Customizable with startup scripts • Run hybrid workloads with WebRole.cs
  • 18. WCF Web Services in Web Roles • Pretty Easy! • You write the web service the same • IIS deals with hosting it • Unless you ports other than 80, they are setup • WCF Service / code has access to Azure runtime
  • 19. DEMO Running and Deploying a WCF Service to a Web Role
  • 20. Worker Roles • Pre-configured Windows Server • Nothing else installed • No default Azure endpoints • Run custom workloads that don’t require IIS • Install additional software, etc. using scripts • Implement Logic in the WorkerRole.cs class
  • 21. WCF Web Services in Worker Roles • Not “Hard”, but not as easy as Web Roles • You need to write code for the Service Host • You need to create Azure Endpoints • You can create the WCF endpoints in code • Can also create WCF endpoints in config • Again, WorkerRole.cs is where you code
  • 22. DEMO Running and Deploying a WCF Service to a Worker Role
  • 23. ©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Editor's Notes