Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia
Thomas Edison Samuel Insull Nikola Tesla
An approach to computing that’s about internet scale and connecting to a variety of devices and endpoints
TIME IT CAPACITY Actual Load Allocated IT-capacities Too Much Power Not Enough Power Load Forecast
Actual Load Capacity on Demand Lower Capex No capital laying idle No screaming customers Knob goes up... And... down TIME IT CAPACITY Load Forecast
Cloud Computing Patterns Usage Compute Average Inactivity Period On and Off On & off workloads (e.g. batch job) Over provisioned capacity is wasted Time to market can be cumbersome Unpredictable Bursting Unexpected/unplanned peak in demand Sudden spike impacts performance Can’t over provision for extreme cases Compute Average Usage Growing Fast Successful services needs to grow/scale Keeping up w/ growth is big IT challenge Cannot provision hardware fast enough Average Usage Compute Predictable Bursting Services with micro seasonality trends Peaks due to periodic increased demand IT complexity and wasted capacity Compute
Software-as-a-Service SaaS Platform-as-a-Service PaaS Infrastructure-as-a-Service IaaS
Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure (as a Service) Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime Managed by vendor You manage Platform (as a Service) Managed by vendor You manage Storage Servers Networking O/S Middleware Virtualization Applications Runtime Data Software (as a Service) Managed by vendor Storage Servers Networking O/S Middleware Virtualization Applications Runtime Data
ComputeStorageDatabase
Windows Azure Overview Domagoj Pavlešić dizzy.hr
Hello Windows Azure demo
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…
Environments for your apps Machines, rack space, switches, connectivity Automated deployment & configuration Isolation, redundancy, load balancing Abstraction & Flexibility Windows Azure provided…
Windows Azure is Microsoft’s Cloud Platform for Developers Operating System for the Cloud Runs applications in the cloud Provides Storage Application Management Windows Azure ideal for applications needing: Scalability Availability Fault Tolerance On-Demand Computing Performance
Web RoleWorker RoleVM Role
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 Service A role definition specifies: VM size Communication Endpoints Local storage resources etc.
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
All features of a worker role + IIS 7 or 7.5 ASP.NET 3.5 SP1 or 4.0 – 64bit Hosts Webforms or MVC FastCGI applications (e.g. PHP) Multiple Websites Http(s) Web/Worker Hybrid Can optionally implement RoleEntryPoint
Authn support using multiple identity providers Easily integrate Live ID, Facebook, Yahoo, Google, & AD Support for industry standards and existing.NET APIs Messaging & connectivity for building distributed and loosely-coupled apps in the cloud Enables hybrid apps across both on-premises & the cloud Queues & Topics for persistence & pub/sub messaging Distributed, in-memory cache for Windows Azure apps Session state provider for Windows Azure applications.NET client library for caching data Access Control Caching Service Bus
Synchronize data from on-premises SQL Server to/from SQL Azure in the cloud Synchronize 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 control Web Service interface to render & manage reports Reporting Data Sync
North America Region Europe Region Asia Pacific Region 6 datacenters across 3 continents Simply select your data center of choice when deploying an application
Browse to cdn.customer.com GET foo.jpg Windows Azure Storage Windows Azure Customer Container ECN NODE 1 - LONDON EDGE CACHING SERVERS ECN NODE 2 - TOKYO ECN NODE…
Compute $ /hour + Variable Instance Sizes Per service hour Storage Per GB stored and transactions $0.15 GB/month $0.01/10k transactions Caching 128MB cache for $45/month Per Message Operation $1.99/10k transactions Per Message Operation Access Control $3.99/month per connection Per Message Operation Service Bus 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 )
Small (moderate IO) 1.75 GB memory 250 GB storage (instance storage) Medium (high IO) 3.5 GB memory 500 GB storage (instance storage) Small Medium X-Large Large (high IO) 7.0 GB memory 1000 GB storage (instance storage) X-Large (high IO) 14 GB memory 2000 GB (instance storage) Extra Small (low IO) 768 MB memory 20 GB storage (instance storage)
International Availability 1. Australia 2. Austria 3. Belgium 4. Brazil 5. Canada 6. Chile 7. Colombia 8. Costa Rica 9. Czech Republic 10. Cyprus 11. Denmark 12. Finland 13. France 14. Germany 15. Greece 16. Hong Kong 17. Hungary 18. Ireland 19. Israel 20. India 21. Italy 22. Japan 23. Luxembourg 24. Malaysia 25. Mexico 26. Netherlands 27. New Zealand 28. Norway 29. Peru 30. Philippines 31. Poland 32. Portugal 33. Puerto Rico 34. Romania 35. Singapore 36. Spain 37. Sweden 38. Switzerland 39. Trinidad/Tobago 40. UK 41. USA
ULTIMATEPREMIUMPROFESSIONAL Compute 1500 hrs of small instances 1500 hrs of x-small instances 750 hrs of x-small instances Storage 30GB25GB20GB Transactions 2M1M250K Bandwidth 35GB out / free in30GB out / free in25GB out / free in Databases 5GB Web Edition1GB Web Edition Caching 128MB cache Access Control 500K200K100K Service Bus 5 connections 2 connections
Hvala na pažnji! Pitanja? Domagoj