![Page 1: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/1.jpg)
Introduction to Cloud Computing
Tomislav TipurićTechnology SpecialistMicrosoft [email protected]://tipuric.com
![Page 2: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/2.jpg)
Thomas Edison
Samuel Insull
Nikola Tesla
![Page 3: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/3.jpg)
What is the cloud?
An approach to computing that’s about internet scale and connecting to a variety of devices and endpoints
![Page 4: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/4.jpg)
TIME
IT C
AP
AC
ITY
Actual Load
Allocated IT-capacities
Too Much Power
Not Enough Power
Load Forecast
![Page 5: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/5.jpg)
Actual Load
Capacity on Demand
Lower Capex
No capital laying idle
No screaming customers
Knob goes up...
And...down
TIME
IT C
AP
AC
ITY
Load Forecast
![Page 6: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/6.jpg)
Cloud Computing Patterns
UsageCom
pute
Average
Inactivity
Period
On and OffOn & off workloads (e.g. batch job)Over provisioned capacity is wasted Time to market can be cumbersome
Unpredictable BurstingUnexpected/unplanned peak in demand Sudden spike impacts performance Can’t over provision for extreme cases
Com
pute
Average Usage
Growing FastSuccessful services needs to grow/scale Keeping up w/ growth is big IT challenge Cannot provision hardware fast enough
Average Usage
Com
pute
Predictable BurstingServices with micro seasonality trends Peaks due to periodic increased demandIT complexity and wasted capacity
Com
pute
![Page 7: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/7.jpg)
Cloud Services
Software-as-a-Service
consume
SaaSPlatform-as-a-Service
build
PaaSInfrastructure-as-a-
Service
host
IaaS
![Page 8: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/8.jpg)
Cloud ServicesPackaged Software
Storage
Servers
Networking
O/S
Middleware
Virtualization
Data
Applications
Runtime
You m
anag
e
Infrastructure(as a Service)
Storage
Servers
Networking
O/S
Middleware
Virtualization
Data
Applications
Runtime
Man
ag
ed b
y v
en
dor
You m
anag
e
Platform(as a Service)
Man
ag
ed b
y v
en
dor
You m
anag
e
Storage
Servers
Networking
O/S
Middleware
Virtualization
Applications
Runtime
Data
Software(as a Service)
Man
ag
ed b
y v
en
dor
Storage
Servers
Networking
O/S
Middleware
Virtualization
Applications
Runtime
Data
![Page 9: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/9.jpg)
Windows Azure
Comprehensive set of services that enable you to build, host and scale applications in Microsoft datacenters
Designed for next generation apps
Leverage Existing Investments
Open & Flexible
![Page 10: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/10.jpg)
Windows Azure
Core Services
Compute Storage Database
![Page 11: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/11.jpg)
Windows Azure Overview
Domagoj Pavlešićdizzy.hr
![Page 12: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/12.jpg)
Hello Windows Azuredemo
![Page 13: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/13.jpg)
Simple ASP.NET MVC app
Visual Studio 2010
Roles & instances are models in XML config
Local F5 debugging
Deployed to the cloud
Simple portal experience
Staging to production
What you saw…
![Page 14: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/14.jpg)
Environments for your apps
Machines, rack space, switches, connectivity
Automated deployment & configuration
Isolation, redundancy, load balancing
Abstraction & Flexibility
Windows Azure provided…
![Page 15: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/15.jpg)
Windows Azure
Windows Azure is Microsoft’s Cloud Platform for Developers
Operating System for the CloudRuns applications in the cloudProvides StorageApplication Management
Windows Azure ideal for
applications needing:ScalabilityAvailabilityFault ToleranceOn-Demand ComputingPerformance
![Page 16: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/16.jpg)
What is Windows Azure Compute?
Virtual Machines in the CloudThree Flavors:
Web Role Worker Role VM Role
![Page 17: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/17.jpg)
What Can It Run?
![Page 18: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/18.jpg)
Roles and Instances
At runtime each Role will execute on one or more instances A role instance is a set of code, configuration, and local data, deployed in a dedicated VM
Roles are defined in a Hosted ServiceA role definition specifies:VM sizeCommunication EndpointsLocal storage resourcesetc.
![Page 19: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/19.jpg)
Roles and InstancesExample Hosted Service configuration with a single web role and a single worker role
HOSTED SERVICE
VM1 VM2 VM3 VM4
VM5 VM6 VM7 VM8
VM9 VMn
VM1 VM2 VM3 VM4
VM5 VMn
![Page 20: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/20.jpg)
Fault Domains
99.95% Uptime Guarantee•Requires 2 or more instance per role
Role instance are isolated by fault domain•Fault domains isolate VMs•Fault domains provide redundancy•At least two fault domains per role
![Page 21: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/21.jpg)
The High Scale Application ArchetypeWindows Azure provides a ‘pay-as-you-go’ scale out application platform
Async Activation
Network Activation
![Page 22: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/22.jpg)
Worker Role
Queue Polling Worker•Poll and Pop Messages within while(true) loop•E.g. Map/Reduce pattern, background image processing
Listening Worker Role•Create TcpListener or WCF Service Host•E.g. Run a .NET SMTP server or WCF Service
External Process Worker Role•OnStart or Run method executes Process.Start()•Startup Task installs or executes background/foreground process•Custom Role Entry Point (executable or .Net assembly)•E.g. Run a database server, web server, distributed cache
![Page 23: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/23.jpg)
Web Role
All features of a worker role + IIS 7 or 7.5ASP.NET 3.5 SP1 or 4.0 – 64bitHosts•Webforms or MVC•FastCGI applications (e.g. PHP)•Multiple Websites
Http(s)Web/Worker Hybrid•Can optionally implement RoleEntryPoint
![Page 24: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/24.jpg)
Windows Azure Storage
Scalable storage in the cloud100tb per storage accountAuto-scale to meet massive volume and throughput
Accessible via REST servicesAccess from Windows Azure ComputeAccess from anywhere via internetSupporting .NET Client Library
Various storage typesTable - group of entities (name/value pairs)Queue - Simple non-transactional message queueBlob - Large binary storage Drives - NTFS VHD mounted into Compute instance
![Page 25: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/25.jpg)
SQL Azure Database
SQL Server relational database model delivered as a serviceSupport for existing APIs & toolsBuilt for the cloud with high availability & fault toleranceEasily provision and manage databases across multiple datacenters
SQL Azure provides logical serverGateway server that understands TDS protocolLooks like SQL Server to TDS ClientActual data stored on multiple backend data nodes
![Page 26: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/26.jpg)
SQL Azure Database
Logical optimizations supportedIndexes, Query plans etc..
Physical optimizations not supportedFile Groups, Partitions etc…
Transparently manages physical storage
![Page 27: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/27.jpg)
Building Block Services
Authn support using multiple identity providersEasily integrate Live ID, Facebook, Yahoo, Google, & ADSupport for industry standards and existing .NET APIs
Messaging & connectivity for building distributed and loosely-coupled apps in the cloudEnables hybrid apps across both on-premises & the cloudQueues & Topics for persistence & pub/sub messaging
Distributed, in-memory cache for Windows Azure appsSession state provider for Windows Azure applications.NET client library for caching data
Access Control
Caching
Service Bus
![Page 28: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/28.jpg)
Data Services
Synchronize data from on-premises SQL Server to/from SQL Azure in the cloudSynchronize data between SQL Azure databases potentially in different data centers
SQL Server Reporting provided as a service Reports authored using existing tools (BIDS) Reports can include rich Data Visualizations (Maps, Charts, Tablix) and exported to variety of formats Directly viewed in the browser or rendered as part of an app using the Reporting Viewer controlWeb Service interface to render & manage reports
Reporting
Data Sync
![Page 29: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/29.jpg)
Windows Azure ScenariosIdeal for Applications Needing:
ScalabilityAvailabilityFault Tolerance
Common Application Uses:
Web SitesCompute Intensive appsDevice ApplicationsWeb APIsSocial Games
![Page 30: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/30.jpg)
Windows Azure Data CentersNorth America Region Europe Region Asia Pacific Region
6 datacenters across 3 continentsSimply select your data center of choice when deploying an
application
North Central US
South Central US
Northern Europe
Western Europe East Asia
South East Asia
![Page 31: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/31.jpg)
Windows Azure CDN
Enables a better user experience & global reachBroad reach with 24+ locations globally 99.95% availability
Browse tocdn.customer.comGETfoo.jpg
Windows Azure Storage
Windows AzureCustomer
Container
ECN NODE 1 - LONDON
EDGE CACHING SERVERS
ECN NODE 2 - TOKYO
ECN NODE…
![Page 32: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/32.jpg)
Windows Azure Consumption Prices
Elastic, scalable, secure, and highly available automated service platform
Compute
$0.04-0.96/hour+ Variable Instance Sizes
Per service hour
StoragePer GB stored and
transactions$0.15 GB/month
$0.01/10k transactions
Caching
128MB cache for $45/monthPer Message Operation
$1.99/10k transactionsPer Message Operation
Access Control
Prices shown in USD only. International prices are available
$3.99/month per connectionPer Message Operation
Service Bus
Windows Azure
Windows Azure Additional Services
Highly available, scalable, and self managed distributed database service
Web Edition$9.99/month
(up to 1 GB DB/month)
Per database/month
Business Edition Per database/month
Starting at $99.99/month(10-50 GB DB/month)
SQL Azure
![Page 33: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/33.jpg)
Windows Azure Instance Sizes
Unit of Compute Defined
Variable instance sizes to handle complex workloads of any size
Small1 x
1.6Ghz (moderate IO) 1.75 GB memory
250 GB storage(instance storage)
Medium2 x
1.6Ghz (high IO)3.5 GB
memory 500 GB storage(instance storage)
Small
$0.12 Per service
hour
Medium
$0.24 Per service
hour
X-Large
$0.96 Per service
hour
Large
$0.48 Per service
hour
Large 4 x
1.6Ghz (high IO) 7.0 GB
memory1000 GB storage(instance storage)
X-Large8 x
1.6Ghz(high IO)
14 GB memory2000 GB
(instance storage)
$0.04 Per service
hour
Extra Small
Extra Small1 x 1.0Ghz(low IO)
768 MB memory 20 GB storage
(instance storage)
![Page 34: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/34.jpg)
International Availability1. Australia2. Austria3. Belgium4. Brazil5. Canada6. Chile7. Colombia8. Costa Rica9. Czech Republic10.Cyprus11.Denmark
12.Finland13.France14.Germany15.Greece16.Hong Kong17.Hungary18.Ireland19.Israel20.India21.Italy22.Japan
23.Luxembourg24.Malaysia25.Mexico26.Netherlands27.New Zealand28.Norway29.Peru30.Philippines31.Poland32.Portugal33.Puerto Rico
34.Romania35.Singapore36.Spain37.Sweden38.Switzerland39.Trinidad/
Tobago40.UK41.USA
![Page 35: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/35.jpg)
Windows Azure MSDN BenefitsULTIMATE PREMIUM PROFESSIONAL
Compute 1500 hrs of small instances
1500 hrs of x-small instances
750 hrs of x-small instances
Storage 30GB 25GB 20GB
Transactions 2M 1M 250K
Bandwidth 35GB out / free in 30GB out / free in 25GB out / free in
Databases 5GB Web Edition 1GB Web Edition 1GB Web Edition
Caching 128MB cache 128MB cache 128MB cache
Access Control 500K 200K 100K
Service Bus 5 connections 5 connections 2 connections
![Page 36: Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e665503460f94b60a55/html5/thumbnails/36.jpg)
MarketplaceDiscover and purchase apps & datasets:Subscription-based access to appsApps can be paid or unpaid
App qualifications:SaaS applicationsMust be commercially availablePaid apps need to provide endpoints for provisioning & cancelation
Now available in 26 countries with support for 17 currencies
App Publishing Kit available with guidance for integrating apps in the marketplace
http://marketplace.windowsazure.com