Taking it to the Cloud withWindows AzureCory FowlerIntermediate Web Developercory@syntaxc4.nethttp://blog.syntaxc4.netTwitter: @SyntaxC4LinkedIn:CoryFowlerhttp://gettag.mobi
What is Cloud Computing ?“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”Why is it so great?AgilityCostSustainabilityCentralizationScalabilityReliabilitySecurityMaintenance
What is Windows Azure?Microsoft PinpointPowershellCommandletsSyncWindows Identity FoundationQueue StorageWindows Azure DriveDallasAzure Management APIBlob StorageAppFabricEnterprise Service BusTable StorageStorage ServicesInteroperabilitySQL AzureAccess Control ServiceOpen Data Protocol
Why would I use Azure?
What’s it going to cost me?Core CostsData TransferStorage ServicesCompute TimeDisk UsageCompute SizeTransactionsSQL AzureApp FabricSimultaneousStaging Environment
You’re going to love my Cloud!
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!Preparing  your environment
Preparing  your environment (Con’t)Turn On/Off Windows FeaturesEnabling WCF ActivationEnabling ASP.NET & CGIMicrosoft .NET FrameworkWCF HTTP ActivationWCF Non-HTTP ActivationInternet Information ServicesWorld Wide Web ServicesApplication DevelopmentASP.NETCGI
Demo 1: Setting up Storage Services http://is.gd/bXgmC

Taking It To The Cloud Version 2

  • 1.
    Taking it tothe Cloud withWindows AzureCory FowlerIntermediate Web Developercory@syntaxc4.nethttp://blog.syntaxc4.netTwitter: @SyntaxC4LinkedIn:CoryFowlerhttp://gettag.mobi
  • 2.
    What is CloudComputing ?“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”Why is it so great?AgilityCostSustainabilityCentralizationScalabilityReliabilitySecurityMaintenance
  • 3.
    What is WindowsAzure?Microsoft PinpointPowershellCommandletsSyncWindows Identity FoundationQueue StorageWindows Azure DriveDallasAzure Management APIBlob StorageAppFabricEnterprise Service BusTable StorageStorage ServicesInteroperabilitySQL AzureAccess Control ServiceOpen Data Protocol
  • 4.
    Why would Iuse Azure?
  • 5.
    What’s it goingto cost me?Core CostsData TransferStorage ServicesCompute TimeDisk UsageCompute SizeTransactionsSQL AzureApp FabricSimultaneousStaging Environment
  • 6.
    You’re going tolove my Cloud!
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
    Set up aDatabase for Storage Service Emulator
  • 15.
    Configure the Databasefor Storage Services
  • 16.
    Web Platform Installer– Does Everything for You!Preparing your environment
  • 17.
    Preparing yourenvironment (Con’t)Turn On/Off Windows FeaturesEnabling WCF ActivationEnabling ASP.NET & CGIMicrosoft .NET FrameworkWCF HTTP ActivationWCF Non-HTTP ActivationInternet Information ServicesWorld Wide Web ServicesApplication DevelopmentASP.NETCGI
  • 18.
    Demo 1: Settingup Storage Services http://is.gd/bXgmC

Editor's Notes

  • #3 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.
  • #4 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.
  • #5  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
  • #6 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
  • #7 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
  • #10 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
  • #11 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
  • #14 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
  • #16 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