1 / 37

Introduction to Cloud Computing

Introduction to Cloud Computing. Tomislav Tipurić Technology Specialist Microsoft Croatia totipu@microsoft.com http://tipuric.com. Thomas Edison. Samuel Insull. Nikola Tesla. An approach to computing that’s about internet scale and connecting to a variety of devices and endpoints.

Download Presentation

Introduction to Cloud Computing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to CloudComputing Tomislav Tipurić TechnologySpecialist Microsoft Croatia totipu@microsoft.com http://tipuric.com

  2. Thomas Edison SamuelInsull Nikola Tesla

  3. An approach to computing that’s about internet scale and connecting to a variety of devices and endpoints What is the cloud?

  4. Allocated IT-capacities Load Forecast Not Enough Power Too Much Power IT CAPACITY ActualLoad TIME

  5. Load Forecast No screaming customers Capacity on Demand IT CAPACITY No capital laying idle Knob goes up... And... down Lower Capex ActualLoad TIME

  6. Cloud Computing Patterns On and Off • On & off workloads (e.g. batch job) • Over provisioned capacity is wasted • Time to market can be cumbersome Inactivity Period Compute Usage Average Growing Fast • Successful services needs to grow/scale • Keeping up w/ growth is big IT challenge • Cannot provision hardware fast enough Compute Average Usage Unpredictable Bursting • Unexpected/unplanned peak in demand • Sudden spike impacts performance • Can’t over provision for extreme cases Compute Predictable Bursting Average Usage • Services with micro seasonality trends • Peaks due to periodic increased demand • IT complexity and wasted capacity Compute

  7. Cloud Services IaaS PaaS SaaS Infrastructure-as-a-Service Platform-as-a-Service Software-as-a-Service build consume host

  8. Cloud Services • Packaged Software • Platform • (as a Service) • Software • (as a Service) • Infrastructure • (as a Service) • You manage Applications Applications Applications Applications • You manage Data Data Data Data Runtime Runtime Runtime Runtime • Managed by vendor Middleware Middleware Middleware Middleware • You manage • Managed by vendor O/S O/S O/S O/S Virtualization Virtualization Virtualization Virtualization • Managed by vendor Servers Servers Servers Servers Storage Storage Storage Storage Networking Networking Networking Networking

  9. Windows Azure Comprehensive set of services that enable you to build, host and scale applications in Microsoft datacenters Open & Flexible Leverage Existing Investments Designed for next generation apps

  10. Windows Azure Core Services Database Compute Storage

  11. Windows Azure Overview Domagoj Pavlešić dizzy.hr

  12. Hello Windows Azure demo

  13. What you saw… 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

  14. Windows Azure provided… Environments for your apps Machines, rack space, switches, connectivity Automated deployment & configuration Isolation, redundancy, load balancing Abstraction & Flexibility

  15. Windows Azure is Microsoft’s Cloud Platform for Developers Windows Azure • 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

  16. What is Windows Azure Compute? Virtual Machines in the CloudThree Flavors: Web Role Worker Role VM Role

  17. What Can It Run? • General Rule • If it runs in Windows it runs in Windows Azure • Choice of Language • C#, VB, C++, Java, PHP, Ruby, Node.js, Phython, etc. • Choice of Frameworks • .NET, ExpressJS, Rails, Zend, etc.

  18. Roles and Instances • Roles are defined in a Hosted Service • A role definition specifies: • VM size • Communication Endpoints • Local storage resources • etc. • 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

  19. Roles and InstancesExample Hosted Service configuration with a single web role and a single worker role Hosted Service Web Role Worker Role VM1 • VM2 • VM3 • VM4 VM1 • VM2 • VM3 • VM4 • VM5 • VM6 • VM7 • VM8 • VM5 • VMn • … • VM9 • VMn • …

  20. 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

  21. The High Scale Application ArchetypeWindows Azure provides a ‘pay-as-you-go’ scale out application platform Intelligent Network Load Balancer Network Activation Stateless Web and/or Application Servers Stateless ‘Worker’ Machines Async Activation State Tier Queues Key/ValueDatastores Partitioned RDBMS Shared Filesystem

  22. 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

  23. Web Role 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

  24. Windows Azure Storage Scalable storage in the cloud 100tb per storage account Auto-scale to meet massive volume and throughput Accessible via REST services Access from Windows Azure Compute Access from anywhere via internet Supporting .NET Client Library Various storage types Table - group of entities (name/value pairs) Queue - Simple non-transactional message queue Blob - Large binary storage Drives - NTFS VHD mounted into Compute instance

  25. SQL Azure Database SQL Server relational database model delivered as a service Support for existing APIs & tools Built for the cloud with high availability & fault tolerance Easily provision and manage databases across multiple datacenters SQL Azure provides logical server Gateway server that understands TDS protocol Looks like SQL Server to TDS Client Actual data stored on multiple backend data nodes

  26. SQL Azure Database Logical optimizations supported Indexes, Query plans etc.. Physical optimizations not supported File Groups, Partitions etc… Transparently manages physical storage

  27. Building BlockServices Distributed, in-memory cache for Windows Azure apps Session state provider for Windows Azure applications .NET client library for caching data Caching Authn support using multiple identity providers Easily integrate Live ID, Facebook, Yahoo, Google, & AD Support for industry standards and existing .NET APIs Access Control 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 Service Bus

  28. Data Services 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 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 Data Sync

  29. Windows Azure Scenarios Ideal for Applications Needing: Scalability Availability Fault Tolerance Common Application Uses: Web Sites Compute Intensive apps Device Applications Web APIs Social Games

  30. Windows Azure Data Centers North America Region Europe Region Asia Pacific Region North Central US South Central US Northern Europe Western Europe East Asia South East Asia • 6 datacenters across 3 continents Simply select your data center of choice when deploying an application

  31. Windows Azure CDN • Windows Azure • Customer Enables a better user experience & global reach Broad reach with 24+ locations globally 99.95% availability ECN NODE… ECN NODE 2 - TOKYO Container Windows Azure Storage Browse tocdn.customer.comGETfoo.jpg ECN NODE 1 - LONDON EDGE CACHING SERVERS

  32. Windows Azure Consumption Prices Windows Azure SQL Azure • Elastic, scalable, secure, and highly available automated service platform • Highly available, scalable, and self managed distributed database service • Storage • Business Edition • Web Edition • Compute Per GB stored and transactions Per database/month Per service hour Per database/month Starting at $99.99/month(10-50 GB DB/month) $0.15 GB/month $0.01/10k transactions $0.04-0.96/hour + Variable Instance Sizes $9.99/month(up to 1 GB DB/month) Windows Azure Additional Services • Access Control • Caching • Service Bus $3.99/month per connection 128MB cache for $45/month Per Message Operation Per Message Operation Per Message Operation $1.99/10k transactions Prices shown in USD only. International prices are available

  33. Windows Azure Instance Sizes • Variable instance sizes to handle complex workloads of any size • Medium • X-Large • Extra Small • Small • Large $0.24 $0.96 $0.04 $0.12 $0.48 Per service hour Per service hour Per service hour Per service hour Per service hour • Unit of Compute Defined • Extra Small • Small • Medium • Large • X-Large 8 x 1.6Ghz 4 x 1.6Ghz 1 x 1.0Ghz 2 x 1.6Ghz 1 x 1.6Ghz (high IO) (high IO) (low IO) (high IO) (moderate IO) 14 GB memory 7.0 GB memory 3.5 GB memory 1.75 GB memory • 768 MB memory • 20 GB storage • (instance storage) 2000 GB (instance storage) 1000 GB storage (instance storage) 500 GB storage (instance storage) 250 GB storage (instance storage)

  34. International Availability • Australia • Austria • Belgium • Brazil • Canada • Chile • Colombia • Costa Rica • Czech Republic • Cyprus • Denmark • Finland • France • Germany • Greece • Hong Kong • Hungary • Ireland • Israel • India • Italy • Japan • Luxembourg • Malaysia • Mexico • Netherlands • New Zealand • Norway • Peru • Philippines • Poland • Portugal • Puerto Rico • Romania • Singapore • Spain • Sweden • Switzerland • Trinidad/Tobago • UK • USA

  35. Windows Azure MSDN Benefits

  36. Marketplace Discover and purchase apps & datasets: Subscription-based access to apps Apps can be paid or unpaid App qualifications: SaaS applications Must be commercially available Paid 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

  37. Hvala na pažnji!Pitanja? Domagoj Pavlešić domagoj@dizzy.hr @domagojpa www.domagoj.pavlesic.com

More Related