Taking it to the Cloud withWindows Azure<br />Cory Fowler<br />Intermediate Web Developer<br />cory@syntaxc4.net<br />http...
What is Cloud Computing ?<br />“Cloud computing describes a new supplement, consumption and delivery model for IT services...
What is Windows Azure?<br />Microsoft Pinpoint<br />PowershellCommandlets<br />Sync<br />Windows Identity Foundation<br />...
Why would I use Azure?<br />
What’s it going to cost me?<br />Core Costs<br />Data Transfer<br />Storage Services<br />Compute Time<br />Disk Usage<br ...
You’re going to love my Cloud!<br />
<ul><li>Visual Studio 2008?
ASP.NET 3.5 SP1
Windows Azure SDK
Visual Studio 2010?
Windows Azure SDK
WCF Activation
Enable ASP.NET and/or CGI in IIS
Set up a Database for Storage Service Emulator
Configure the Database for Storage Services
Web Platform Installer – Does Everything for You!</li></ul>Preparing  your environment<br />
Preparing  your environment (Con’t)<br />Turn On/Off Windows Features<br />Enabling WCF Activation<br />Enabling ASP.NET &...
Demo 1: Setting up Storage Services <br />http://is.gd/bXgmC<br />
Upcoming SlideShare
Loading in...5
×

Taking It To The Cloud Version 2

883

Published on

This is my entry level talk on Windows Azure. I've presented this Material at CTTDNUG, FCDNUG, TVBUG, Confoo, PrairieDevCon.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
883
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
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 &amp; Hardware costs minimized
  • Compute Sizes: Transactional Costs [N. America] SQL AzureSmall0.12/hr$0.15 / GB Outgoing Data Transfer 1 GB – 9.99Medium0.24/hr$0.10 / GB Incoming Data Transfer 10 GB – 99.99Large0.48/hr 50 GB – In Beta, No PricingX-Large0.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 &amp; Code – Azure Technology Focus GroupCTP Account8 Other DevelopersTook me 8 Hours to DeployRan into Storage Account IssueEarly Adoption – Lack of Blog Posts
  • cd &quot;C:Program FilesWindows Azure SDKv1.0indevstore“DSInit.exe /sqlinstance:&lt;YourDatabaseName&gt;/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 &amp; 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 2

    1. 1. 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 />
    2. 2. 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 />Why is it so great?<br />Agility<br />Cost<br />Sustainability<br />Centralization<br />Scalability<br />Reliability<br />Security<br />Maintenance<br />
    3. 3. What is Windows Azure?<br />Microsoft Pinpoint<br />PowershellCommandlets<br />Sync<br />Windows Identity Foundation<br />Queue Storage<br />Windows Azure Drive<br />Dallas<br />Azure Management API<br />Blob Storage<br />AppFabric<br />Enterprise Service Bus<br />Table Storage<br />Storage Services<br />Interoperability<br />SQL Azure<br />Access Control Service<br />Open Data Protocol<br />
    4. 4. Why would I use Azure?<br />
    5. 5. What’s it going to cost me?<br />Core Costs<br />Data Transfer<br />Storage Services<br />Compute Time<br />Disk Usage<br />Compute Size<br />Transactions<br />SQL Azure<br />App Fabric<br />Simultaneous<br />Staging Environment<br />
    6. 6. You’re going to love my Cloud!<br />
    7. 7. <ul><li>Visual Studio 2008?
    8. 8. ASP.NET 3.5 SP1
    9. 9. Windows Azure SDK
    10. 10. Visual Studio 2010?
    11. 11. Windows Azure SDK
    12. 12. WCF Activation
    13. 13. Enable ASP.NET and/or CGI in IIS
    14. 14. Set up a Database for Storage Service Emulator
    15. 15. Configure the Database for Storage Services
    16. 16. Web Platform Installer – Does Everything for You!</li></ul>Preparing your environment<br />
    17. 17. Preparing your environment (Con’t)<br />Turn On/Off Windows Features<br />Enabling WCF Activation<br />Enabling ASP.NET & CGI<br />Microsoft .NET Framework<br />WCF HTTP Activation<br />WCF Non-HTTP Activation<br />Internet Information Services<br />World Wide Web Services<br />Application Development<br />ASP.NET<br />CGI<br />
    18. 18. Demo 1: Setting up Storage Services <br />http://is.gd/bXgmC<br />
    19. 19. We’re on a Role!<br />
    20. 20. Demo 2: Creating a Web Role<br />
    21. 21. Demo 3: Creating a Worker Role<br />
    22. 22. Demo 4: Working with Storage Services<br />Blob Storage<br />Queue Storage<br />Table Storage<br />
    23. 23. Demo 5: Deploying your App<br />
    24. 24. Managing your Application<br />
    25. 25. 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 />
    26. 26. 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 />
    27. 27. 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.
    28. 28. 15 JustCode Licenses (make sure you run updates) </li></ul>www.facebook.com/Telerik<br />http://twitter.com/telerik<br />Follow us at:<br />

    ×