Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... ·...
Transcript of Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... ·...
![Page 1: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/1.jpg)
| Basel
Windows AzureHybrid+Mixed CloudMario Szpuszta
Senior Program Manager
Technical Evangelism & Development, Microsoft Corp. HQ
![Page 2: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/2.jpg)
Imagine you want to…
Move to the public cloud with your appGlobal scale, new customers / reach, dealing with peaks and growth
You want to get max of the advantages of the cloudSimplest possible scale, automated operations management, no manual processes
But: parts of your app do have special requirementsLegacy components, special SQL Server functionality, other OS platforms (e.g. Linux, Oracle)...
![Page 3: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/3.jpg)
![Page 4: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/4.jpg)
Starting Point – Decision to go Cloud
You are a software vendor (ISV)Web-based software product
Data is partially sensitive (personally identifyable)
Generating lots of documents in the background
You are local leader – global growth desiredGrowth on the local market is limited
Business goals from the CEO: Growth to US and APAC
No resource for HW/SW investmentsYour budget for additional hardware and software is limited, nevertheless
![Page 5: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/5.jpg)
Current Application Architecture
Web Server
ASP.NETMVC App
DocumentGeneration
Service
SQL Server Cluster
SQL Server Cluster
Storage Cluster System
![Page 6: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/6.jpg)
Your decision for Windows Azure
Primary reason: Platform-as-a-ServiceFast and flexible scaleability
Lowest-possible effort for managing the deployments
Options for PaaS in Windows AzureCloud Services = highly scalable multi-tier applications
Web Sites = scalable web applications with database backends
Mobile Services = scalable backend framework for mobile apps (tablet, phone)
Globally available data centersEurope 2x, USA 4x, Asia/Pacific 4x, China 1x, Austrialia 1x – continous extension
![Page 7: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/7.jpg)
![Page 8: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/8.jpg)
Analyzing the application architecture...
Web Server
ASP.NETMVC App
DocumentGeneration
Service
SQL Server Cluster
SQL Server Cluster
Storage Cluster System
![Page 9: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/9.jpg)
Analysis Results for this example...
Web application:Is stateless and manages sessions through ASP.NET state provider
Must be able to scale extremly fast
Document generation runs async in the background
SQL Server Cluster:SQL Server 2008 R2 with latest service packs
Usage of SQL Server Encryption for sensitive data
Storage ClusterHighly available storage system used as network file share
!!!
![Page 10: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/10.jpg)
Results for the architecture on Azure:
![Page 11: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/11.jpg)
Results for this example in Azure:
Web App & Document Generation ServiceWindows Azure Cloud Services
Enables Web App & Backend Service in one deployment package
Web Role for the web app as front-end
Worker Role for the document generation in the backend
AutoScaling possible (since mid 2013)
Database backend systemSQL Server 2008 or 2012 in Windows Azure Virtual Machines
Enables leveraging full feature-set of SQL Server
Disadvantage: you have to do the operations management for your VM
But: management can be automated through PowerShell Scripts
![Page 12: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/12.jpg)
![Page 13: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/13.jpg)
Implementing a PaaS/IaaS Mix
Networking & CommunicationsCreation of a Windows Azure Virtual Network
Enables „private“ communication between Virtual Machines & Web/Worker Roles
Deploy and configure VMs in AzureOperating database with full SQL Server in Windows Azure
Configuration of Firewall Rules, Ports, disks etc. necessary
Develop and connect the Cloud ServiceWeb-Role for the web front-end tier in our example
Worker-Role for operting the document generation service
![Page 14: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/14.jpg)
Deploy and configure VMs in Azure
99.95% SLA be sure you have 2+ VMsSQL Server AlwaysOn Availability Groups are fully supported (since GA 2013)
SQL AlwaysOn Availability Group Listeners are fully supported (since 09-2013)
Data Disks and SQL Server in VMsEach data disk has ~500 IOPS
Store logs and data files on separate data disks
Use SQL Server files and file groups or storage pools to distribute load
DON‘T use RAID striping!!!
Options for SQL Server „licensing“Bring your own SQL license
Alternative: use per-hour billing by selecting images from gallery
![Page 15: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/15.jpg)
Cloud Services – Important Details
Highest degree of elasticity & scaleScaling through portal, management API or AutoScale (!!)
You focus on app package and logic, not infrastructure
OS and hosts are fully automatically managed
e.g. automated Windows Updates, app-updates without downtime etc.
But – be prepared for that automationRound-Robin Load Balancing, automated start/shutdown of instances…
SLA – 99.95% ensure 2 instances / role
![Page 16: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/16.jpg)
In Summary
![Page 17: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/17.jpg)
VM / Cloud Services Mix Deployments
Mixed cloud app = IaaS + PaaSParts run in Platform-as-a-Service, others in Infrastructure-as-a-Service
„Private“ communication via virtual networks
Cloud Services (Platform-as-a-Service)Whatever possible do in PaaS and not IaaS!
Fastest scale, lowest operations management overhead
Virtual Machines (Infrastructure-as-a-Service)You do have full control of the VM
Optimum for components with lots of customization efforts etc.
![Page 18: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/18.jpg)
More Use Cases for PaaS/IaaS-Mix
Linux-based ComponentsThese run in Azure VMs (CentOS, SuSE, Ubuntu, Oracle Linux)
Real world stuff: Linux-based video encoder of partner, partner in Spain with MongoDB in Linux
Special SQL Server requirementsSQL Server in VMs whenever Azure SQL DB cannot be used
Real-world sample: SQL CLR usage of a partner in Austria, high-memory DB requirements
Oracle Database is neededOfficially supported backed by announcement in June 2013
Oracle DB on linux is GA and supported, Oracle DB on Windows is in Preview
![Page 19: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/19.jpg)
Windows Azure Virtual Networkshttp://www.windowsazure.com/en-us/manage/services/networking/?fb=de-de
http://www.windowsazure.com/en-us/manage/services/networking/create-a-virtual-network/
Windows Azure Virtual Machineshttp://www.windowsazure.com/en-us/manage/windows/?fb=de-de
http://www.windowsazure.com/en-us/manage/linux/?fb=de-de
Windows Azure Cloud Serviceshttp://www.windowsazure.com/en-us/manage/services/cloud-services/?fb=de-de
http://www.windowsazure.com/en-us/manage/services/cloud-services/what-is-a-cloud-service/?fb=de-de
http://www.windowsazure.com/en-us/manage/services/cloud-services/how-to-create-and-deploy-a-cloud-service/?fb=de-de
http://www.windowsazure.com/en-us/manage/services/cloud-services/how-to-scale-a-cloud-service/?fb=de-de
Free 3-Month Trialhttp://www.windowsazure.com/de-de/pricing/free-trial/
Resources & Links
![Page 20: Windows Azure Hybrid+Mixed Clouddownload.microsoft.com/download/3/0/E/30E8E435-33D1-47B0... · 2018. 10. 13. · Results for this example in Azure: Web App & Document Generation Service](https://reader035.fdocuments.in/reader035/viewer/2022063018/5fdd53c2f1b21e79fa4114a9/html5/thumbnails/20.jpg)