1 / 110

TechTalk February 2013

TechTalk February 2013. Windows Azure A-Z Gerry Keune gerry.keune@trivadis.com. Trivadis – tolle Preise zu gewinnen!. ½ Tag Azure Consulting for free. TechTalk February 2013. Windows Azure Features Gerry Keune gerry.keune@trivadis.com. AGENDA. Overview

emera
Download Presentation

TechTalk February 2013

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. TechTalkFebruary 2013 Windows Azure A-Z Gerry Keune gerry.keune@trivadis.com Windows Azure A-Z

  2. Trivadis – tolle Preise zu gewinnen! ½ Tag Azure Consulting forfree Windows AzureTechTalk

  3. TechTalkFebruary 2013 Windows Azure Features Gerry Keune gerry.keune@trivadis.com Windows Azure A-Z

  4. AGENDA • Overview • Application building blocks • Web Sites • Cloud Services • Virtual Machines • Media Services • Big Data Windows Azure A-Z

  5. Cloud Computing Pattern “Growing Fast“ “On and Off “ Inactivity Period Compute Compute Average Usage Usage Average Time Time “Unpredictable Bursting“ “Predictable Bursting“ Compute Compute Average Usage Average Usage Time Time Windows Azure A-Z

  6. Cloud Services XaaS IaaS PaaS SaaS Infrastructure-as-a-Service Platform-as-a-Service Software-as-a-Service build consume host Windows Azure A-Z

  7. Cloud Service Stack • On-Premise • Software • (as a Service) • Platform • (as a Service) • Infrastructure • (as a Service) • You manage Applications Applications Applications Applications Data Data Data Data • Managed by vendor • You manage 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 Servers Servers Servers Servers Storage Storage Storage Storage Networking Networking Networking Networking Windows Azure A-Z

  8. Cloud Variants • Public Cloud • Open to anyone • Private Cloud • Highly virtualized cloud data center located behind company’s firewall. • A private space dedicated to your company within a cloud vendor • Privacy and security of data • Hybrid Cloud • Mix of Private/Public Windows Azure A-Z

  9. Cloud Computing Advantages • Lower Costs • Infrastructure, Client PC, Software • Billing and metering of services • High Elasticity and Scalability • High Availability • Optimized infrastructure • No maintenance • Application programming interfaces (APIs) • Security Windows Azure A-Z

  10. Cloud Computing Disadvantages • Stored data might not be secure • …what if the Cloud looses your data !!!! • Requires (fast) Internet connection • Features might be limited by provider • There is a lack of Cloud standards • Migrating to another provider is complicated Windows Azure A-Z

  11. Windows Azure “The Microsoft Cloud” • Provides open and flexible Services • Supports for various platforms and devices • Is running in Microsoft Data Centers • 99.95 % SLA* • Microsoft Data Centers are globally distributed • USA • Asia • Europe • Dublin, Amsterdam • Data Center is organized in ~12 meters shipping containers Windows Azure A-Z

  12. Performance 200ms 100ms 50ms Windows Azure A-Z

  13. Traffic Manager Windows Azure A-Z

  14. Demo Traffic Manager Windows Azure A-Z

  15. Windows Azure Traffic Manager Direct users to the service in the closest region with the Windows Azure Traffic Manager (Performance) appusa.cloudapp.net Traffic Manager appworld.cloudapp.net appasia.cloudapp.net Monitoring Policies DNS response 1.2.3.4 appeurope.cloudapp.net Windows Azure A-Z

  16. Traffic Manager Policy’s Performance Failover Geomapping Ratio • Directs the user to the “best”/”closest” deployment • One deployment is primary • Traffic is redirected to another deployment if the primary goes down • Allows users from defined geographic locations to be directed to particular deployment • Sends traffic to different deployments based on fixed ratio (N/M) • Example: • Direct the user to the “best” deployment between US South and West Europe • Example: • All traffic is directed to US North; if it goes down, send all traffic to US South • Example: • all users from US -> US North, all users from Asia -> US North, all users from Europe ‑> West Europe • Example: • Direct 20% of user traffic to US South and 80% to US North. Windows Azure A-Z

  17. Windows AzurePlatform Services Windows Azure A-Z

  18. Applicationbuildingblocks Big data Database Media Storage Traffic Messaging Identity Caching CDN Networking Windows Azure A-Z

  19. Storage • Rich Data Abstractions designed for the Cloud • Blobs • Tables • Queues • Drives • High Accessibility and Scalability • Geo-location support • Data is automatically partitioned and load balanced across servers • Managed by Storage Account • 100 TB Data per account • Easy administration and monitoring Windows Azure A-Z

  20. CDN (Content Delivery Network) • Provides high-bandwidth global blob content delivery • 18 locations globally (US, Europe, Asia, Australia and South America), and growing • Blob service URL vs. CDN URL • Blob URL: http://<account>.blob.core.windows.net/ • CDN URL: http://<id>.vo.msecnd.net/ • Support for custom domain names • Access details • Blobs are cached in CDN until the TTL passes • Use per-blob HTTP Cache-Control policy for TTL (new) • CDN provides only anonymous HTTP access Windows Azure A-Z

  21. Caching • A distributed, in-memory cache for applications running in Windows Azure • Simple administration • End-user doesn’t bother with configuration, deployment, or management • Highlight scalable solution with low latency and high throughput Windows Azure A-Z

  22. Networking • Secure network connectivity between on-premises and cloud • Supports standard IP protocols • Enables hybrid apps access to on-premises servers • Simple setup and management • Integrated with WA Service Model • Cloud Services and VM’s supported Windows Azure Enterprise Windows Azure A-Z

  23. Messaging - Azure Service Bus • Provides secure messaging and connectivity across different network topologies • Enables hybrid applications that span on-premises and the cloud Windows Azure A-Z

  24. Identity-Access Control Service (ACS) • Integration Single Sign On and centralized authorization into your web applications • Standards-based identity providers • Enterprise directories (e.g. Active Directory Federation Server v2.0) • Web identities (e.g. Windows Live ID, Google, Yahoo!, …) • Windows Azure AD includes the Access Control Service (ACS) • Projection of your AD in the cloud • Federation provider Security Token Service (identity provider) • Security Token Service in the Cloud Windows Azure A-Z

  25. Claims-based Solution • Stop building custom identification and user account databases into every new application • One approach to identity that works in various scenarios • Factoring out authentication of applications • Easy upgrade to stronger authentication methods • Identity Federation • WIF (Windows Identity Foundation) Framework simplifies implementing claims-based identity in your applications Windows Azure Best Practices

  26. Claims-basedIdentity Model • User identity to your application is a set of claims • Claim is a statement about a user made from an authority • Example:email address, username, roles) • If you trust the authority (issuer) you will trust the claim • Releases Application from • Authenticating users, storing user accounts and passwords • Calling to enterprise directories to look up user identity details. • Integrating with identity systems from other platforms or companies. User Name: Email: Roles: IsSpeaker: Gerry gerry.keune@trivadis.com Consultant, Trainer true Web App Windows Azure Best Practices

  27. Security Token Service (STS) • STS builds, signs, and issues security tokens • SAML (Security Assertion Markup Language) tokens are most common • Claims, Tokens, and STSs are the foundation of claims-based identity Claim Authority (Web App) STS Relying Party (Web App) List ofTrusted STS Identity Lib (WIF) Token Authenticateuser, returntoken Verfifytoken’s signature and STS istrusted 4 1 2 3 Submittoken Useclaims in token Token Browser Windows Azure Best Practices

  28. Access Control Service • Allows you to integrate single sign on (SSO) and centralized authorization into your web applications ADSF 2 LiveID Azure ACS STS Relying Party Google Local STS Facebook Windows Azure Best Practices

  29. Database • SQL Database • Familiar SQL Server relational database model delivered as a service • Support for existing APIs & tools • SQL Azure provides logical server • Looks like SQL Server to TDS Client • Actual data stored on multiple backend data nodes • Max database size 150 GB • SQL Data Sync (Preview) • Synchronize selected data through a Windows Azure SQL Database instance • Reporting Services • SQL Server Reporting provided as a service Windows Azure A-Z

  30. Mobile Services (Preview) • Simplifies common development tasks for mobile devices • Storage • Push Notifications • User authentication • Build scalable and high available back end solutions Windows Azure A-Z

  31. Windows AzureComputeOverview Quickly and easy deployment to highly scalable cloud environment Web Sites High available, scalable applications and services using rich PaaS environment, Advanced mult-tierscenarios CloudServices Eeasily deploy and run durable Windows Serverand Linux VM’s using IaaS environment VirtualMachines Windows Azure A-Z

  32. Windows Azure Web Sites (Preview) • Provides easy and flexible web sitehostingfor web projects • Static Sites, Custom build web applications • Built-in support for various open source applications • WordPress, Joomla, Composite C1 CMS …… • GoodScalingoptions • Startingfreeofcharge (limited Quotas) • Scale-Uppossibleanytime • On-Premise applications can be moved with no changes Windows Azure A-Z

  33. Windows Azure Web Sites • Supported Developer Frameworks • ASP.NET • Classic ASP • Node.js • PHP • Easy Deploymentoptions • GIT, FTP, TFS, Web Deploy Windows Azure A-Z

  34. Windows Azure Web Sites AzureLB VM VM IIS Azure Web Site Management Code TFS FTP WebDeploy GIT Windows Azure A-Z

  35. Demo Web Sites Windows Azure A-Z

  36. Windows Azure Web Sites Scale • Scale Out (SharedInstances) • Instancesofapplicationarerunning on different web workers • Sharedcapacityconstrainedapplied • Ideal for statelessapplications • ScaleUp (ReservedInstances) • Applicationisrunning on dedicated box • NoSharedresourcecapacitylimitations RESERVED instance Shared instances :-) :-) :-) :-) Windows Azure A-Z

  37. Azure Web Site Quotas Windows Azure A-Z

  38. Windows AzureCloud Services • Cloud Services provides Platform as a Service (Paas) to build high available and scalable applications • Most advanced compute option • Supports multi-tier architectures • Automated application management Windows Azure A-Z

  39. Windows AzureCloud Services VM TCP / HTTP(S) Azure LB Azure LB Azure LB Queue(Storage) VM (Web Role) VM (Web Role) VM (Web Role) VM (Worker Role) VM (Worker Role) VM (Worker Role) IIS App App Windows Azure A-Z

  40. Worker Role Patterns • 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 • E.g. Run a database server, web server, distributed cache Windows Azure A-Z

  41. Windows AzureCloud Services • Windows Server 2008/R2, 2012 (64bit) • .NET 4.0 and .NET 4.5 • Full Trust* • IIS7 - 8 Web Sites (ASP.NET, FastCGI) • Web Services (WCF) • Stateless Servers • HTTP(S), TCP Windows Azure A-Z

  42. RoleTypes • Web Role : The role is hosted on IIS • Worker Role : The role is an executable (you can create your own web server, host a database, …) • VM Role : The role is a non persistence VM. • Use Windows services, scheduled tasks, etc. • You configure and maintain the OS. VM Role Web / Worker Role Admin Web / Worker Role AbstractionControl (i.e. Less IT & Less Plumbing Code) Windows Azure A-Z

  43. Cloud Services vs Web Sites • Cloud Services allows administrative access to your application’s VMs. • Install arbitrary software that your application needs • Cloud Services allow Remote Desktop connections directly to an application’s VMs • Cloud Services provides separate staging and production environments. • Application updates somewhat smoother than Web Sites. • Cloud Services allow networking technologies such as Windows Azure Virtual Network and Windows Azure Connect to hook on-premises computers to Cloud Services applications. Windows Azure A-Z

  44. Windows Azure Virtual Machines (Preview) • Creation and use of virtual machines in the Cloud (truly IaaS) • Windows Server, Linux • Persistent VM roles • Bring your own or use Microsoft provided • You update and maintain them !!! • Possible to host: • Active Directory, SharePoint 2010, SQL Server and more… • 99.9% SLA on single-instance • Connect to on-premise using • Windows Azure Virtual Network Windows Azure A-Z

  45. Virtual Machines Sizes Each Persistent Data Disk Can be up to 1 TB Windows Azure A-Z

  46. Windows Azure Virtual Machines RDP VM VM VM Virtual Machine Management (Portal / REST API) VHD(Gallery) VHD(User) BlobStorage Windows Azure A-Z

  47. GroupingVM‘s VIP VM VM VM VM VM VM VIP VIP VM’s in Cloud Service Windows Azure A-Z

  48. LoadBalancing (VM’s in Cloud Service) VM’s in Cloud Service AzureLB VM VM VM Port 80 Port 80 Port 80 VIP Port 80 Windows Azure A-Z

  49. Virtual Machines Scenarios • Enterprise Application running in the Cloud • Test Environment and Development • Fast and cheap way to emulate • Private / Hybrid Cloud • DisasterRecovery Windows Azure A-Z

  50. Demo Virtual Machines Windows Azure A-Z

More Related