Taking it to the cloud version 3


Published on

I presented this slide deck at PrairieDevCon.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Agility – Rapid and Inexpensive re-provisioning of Infrastructure Resources.Reliability – Improves through Redundancy among instances of servers in the cloud.Sustainability – improved resource utilization, more efficient Systems, and Carbon Neutrality.Security – Always Controversial, gained by Security Focused Resources, and possibly by Data centralization. But Sensitive data is now out of your control, and sitting in the cloud.Scalability – Near real-time, on-demand provisioning of resources on a self-serving basis during peak hours of use.Maintenance – Cloud Applications are easier to maintain and support. There is no need for each user to install the application on their own machine, and improvements to the system reach the client instantly.Centralization – All of your data, and applications can run from the cloud allowing them to be accessible where ever they are needed.Cost – Cost is based on actual usage, not operating hours. Costs are also shared with many users as Servers are Virtualized in Server Farm boxes.
  • App Fabric- Windows Server AppFabric provides caching capabilities, as well as workflow and service hosting capabilitiesDallas - An Open Data Platform that uses the Odata Protocol - Dallas APIs allow developers and information workers to consume this premium content with virtually any platform, application or business workflow. - Discover and license valuable data to improve existing applications or reports - Consumable via REST Based API (Odata)WIF – Is meant to Abstract Security from your application to allow for greater flexibility - If you’re already running a Windows Environment, WIF allows for Active directory or Windows Cardspace IntegrationMicrosoft Pinpoint – A listing service that allows Consumers find services that fill their needs. - Which gives ISVs or Developers a centralized that consumers will focus on.Storage Services - Tables Appeal to the NoSQL Crowd, You can persist data in the cloud without a database - Queues Allow the developer to move data away from their UI for further processing on another thread (thread is rather loose term, it’s Worker Role). - Blobs Allows you to store files to the cloud for use or distribution from your applicationManagement API - REST Based Management API allows you to Programmatically Manage your Resources in the cloud. - You can also use it to Query the Resources to Monitor your Instances running in the cloud.
  • Familiar Development Environment ASP.NET Web Project VB.NET C# Minimal Learning Curve Interoperable with Common Web Languages Infrastructure Ease No Configuration No Updates to Run No Confusing Load Balancing work On Demand Scalability Reliability Redundancy Auto-Failover RecoveryCost Benefits Reduce Utility Bills – Put away the Generators Licenses & Hardware costs minimized
  • Compute Sizes: Transactional Costs [N. America] SQL AzureSmall 0.12/hr$0.15 / GB Outgoing Data Transfer 1 GB – 9.99Medium 0.24/hr$0.10 / GB Incoming Data Transfer 10 GB – 99.99Large 0.48/hr 50 GB – In Beta, No PricingX-Large 0.96/hrCompute Instance Size CPU Memory Instance Storage I/O Performance Small 1.6 GHz 1.75 GB 225 GB Moderate Medium 2 x 1.6 GHz 3.5 GB 490 GB High Large 4 x 1.6 GHz 7 GB 1,000 GB High Extra large 8 x 1.6 GHz 14 GB 2,040 GB High AppFabricAccess Control: $1.99 per 100k transactions Service Bus: $3.99 per connection on a “pay-as-you-go” basis, or: Pack of 5 connections $9.95 Pack of 25 connections $49.75 Pack of 100 connections $199.00 Pack of 500 connections $995.00
  • Story TimeGuelph Coffee & Code – Azure Technology Focus GroupCTP Account8 Other DevelopersTook me 8 Hours to DeployRan into Storage Account IssueEarly Adoption – Lack of Blog Posts
  • cd "C:Program FilesWindows Azure SDKv1.0indevstore“DSInit.exe /sqlinstance:<YourDatabaseName>/forceCreateIf it errors out remove the ./ that is in front of the instance name
  • Azure Works on the Concept of Roles Web Role Exposes 1 HTTP End-point & 1 HTTPS End-Point Web Application Server Configured for ASP.NET Can Deploy PHP, Ruby, Java or Python Worker RoleMay Expose many Endpoints using HTTP, HTTPS, TCPEach Endpoint must be exposed on a unique portBackground Processing or Generalized Development
  • Blob StorageTypesPage [Max Size: 1TB]Random Access Read/WriteBlock[Max Size: 200GB]Optimized for StreamingContainers Keep Logical Separation between File Groups.Queue StorageGreat for Task SchedulingString Based Messages [Max Size: 8MB]Table StorageEntity Storage SystemPartitionKey + RowKey = Unique Entity KeyNot Relational, Relationships need to be managed in Code.1000 Entities can be returned at a time, a token is granted to pick up where you left off
  • PowershellAdd-PSSnapInAzureManagementToolsSnapInGET-Command -PSSnapInAzureManagementToolsSnapInPre – ReqsUpload an API CertificateCan Create in IIS7 – Self-Signed CertificateSave Certificate in .cer formatUpload to Windows Azure in Account SettingsSubscriptionID: 88488948-29f4-493d-8522-8bff4982fbf5
  • Taking it to the cloud version 3

    1. 1.
    2. 2. Taking it to the Cloud withWindows Azure<br />Cory Fowler<br />Intermediate Web Developer<br />cory@syntaxc4.net<br />http://blog.syntaxc4.net<br />Twitter: @SyntaxC4<br />LinkedIn:CoryFowler<br />http://gettag.mobi<br />
    3. 3. What is Cloud Computing ?<br />“Cloud computing describes a new supplement, consumption and delivery model for IT services based on the Internet, and it typically involves the provision of dynamically scalable and often virtualized resources as a service over the Internet”<br />-- Wikipedia<br />
    4. 4. Why is it so great?<br />Agility<br />Cost<br />Sustainability<br />Scalability<br />Centralization<br />Reliability<br />Maintenance<br />Security<br />
    5. 5. What is Windows Azure?<br />PowershellCommandlets<br />Sync<br />Windows Azure Drive<br />Queue Storage<br />Windows Identity Foundation<br />Microsoft Pinpoint<br />Azure Management API<br />Blob Storage<br />AppFabric<br />Enterprise Service Bus<br />Dallas<br />Interoperability<br />Storage Services<br />Table Storage<br />Access Control Service<br />SQL Azure<br />Open Data Protocol<br />
    6. 6. Why would I use Azure?<br /><ul><li>Familiar Development Environment
    7. 7. Infrastructure Ease
    8. 8. Reliability
    9. 9. Cost Benefits</li></li></ul><li>What’s it going to cost me?<br />Storage Services<br />Compute Time<br />Core Costs<br />Disk Usage<br />Compute Size<br />Data Transfer<br />Transactions<br />SQL Azure<br />App Fabric<br />Simultaneous<br />Staging Environment<br />
    10. 10. You’re going to love my Cloud!<br />
    11. 11. <ul><li>Visual Studio 2008?
    12. 12. ASP.NET 3.5 SP1
    13. 13. Windows Azure SDK
    14. 14. Visual Studio 2010?
    15. 15. Windows Azure SDK
    16. 16. WCF Activation
    17. 17. Enable ASP.NET and/or CGI in IIS
    18. 18. Set up a Database for Storage Service Emulator
    19. 19. Configure the Database for Storage ServicesPlatform Installer – Does Everything for You!</li></ul>Preparing your environment<br />
    20. 20. Preparing your environment (Con’t)<br />Turn On/Off Windows Features<br />Enabling WCF Activation<br />Enabling ASP.NET & CGI<br />Internet Information Services<br />World Wide Web Services<br />Application Development<br />ASP.NET<br />CGI<br />Microsoft .NET Framework<br />WCF HTTP Activation<br />WCF Non-HTTP Activation<br />
    21. 21. Demo 1: Setting up Storage Services <br />http://is.gd/bXgmC<br />
    22. 22. We’re on a Role!<br />
    23. 23. Demo 2: Creating a Web Role<br />
    24. 24. Demo 3: Creating a Worker Role<br />
    25. 25. Demo 4: Working with Storage Services<br />Blob Storage<br />Queue Storage<br />Table Storage<br />
    26. 26. Demo 5: Deploying your App<br />
    27. 27. Managing your Application<br />
    28. 28. How Do I Get Started?<br />Tools<br />Visual Studio Web Express - tinyurl.com/GetVSExpress<br />Windows Azure Tools - tinyurl.com/GetAzureTools<br />Knowledge<br />My Blog – tinyurl.com/GetStartedWithAzure<br />Account<br />Windows Azure Offers - tinyurl.com/AzureOffers<br />Website Spark – http://tinyurl.com/WebSpark<br />
    29. 29. Azure Information<br />http://www.microsoft.com/windowsazure<br />http://windows.azure.com<br />http://www.delicious.com/syntaxc4<br />http://blog.syntaxc4.net<br />API<br />http://tinyurl.com/AzureManagedLibrary<br />http://tinyurl.com/AzureOSSAPIs<br />Resources<br />
    30. 30. TelerikDeliver More Than Expected<br />New<br />New<br /><ul><li>Telerik Premium Collectiondeveloper license worth $1299. The Telerik Premium Collection includes eight control suites.
    31. 31. JustCodeLicenses (make sure you run updates) </li></ul>www.facebook.com/Telerik<br />http://twitter.com/telerik<br />Follow us at:<br />