Getting Started with Windows Azure Bret Stateham Owner, Net Connex [email protected] blogs.netconnex.com twitter.com\bstateham Agenda • • • • Intro to Azure Signing Up for Azure Development Tools Running some Code.
Download ReportTranscript Getting Started with Windows Azure Bret Stateham Owner, Net Connex [email protected] blogs.netconnex.com twitter.com\bstateham Agenda • • • • Intro to Azure Signing Up for Azure Development Tools Running some Code.
Getting Started with Windows Azure Bret Stateham Owner, Net Connex [email protected] blogs.netconnex.com twitter.com\bstateham Agenda • • • • Intro to Azure Signing Up for Azure Development Tools Running some Code Requisite Azure Platform Stack Slide Slide Content Stolen from a Microsoft Slide Deck Inside the Windows Azure Platform • Computing Services •Our Code •Web Role •Worker Role •They Manage •Multiple Instances •Patching •Failure •Etc. • Cloud Storage •Our Data •Blob •Table •Queue •They Manage •Disks •Replication •Failure •Etc. Signing up for Azure • • • • Go to www.microsoft.com/azure Follow the Links to “Register for Services” Sign up with Connect Complete Azure Services Invitations Program application • Wait for token in email (days,weeks,months) • Follow the link in the email to claim the token Claimed Tokens • Go to the Azure Services Developer Portal: lx.azure.microsoft.com Stuff to Get • • • • • • Windows Azure SDK (01/19 CTP) Windows Azure tools for Visual Studio (01/09 CTP) Microsoft .Net Services SDK Microsoft SQL Data Services SDK Live Framework Documentation and Resources Azure Services Training Kit Gotchas • Have to be on Vista SP1 or Win 2008 (Win7?) • Need IIS7 & WCF HTTP Activation • Need SQL Express (05 or 08) by default Running with Full SQL Install • SDK Assumes you will be using Express (05 or 08) • Edit the following files: – %samples%\MSBuild\Microsoft.Samples.ServiceHosting.Targets file – C:\Program Files\Windows Azure SDK\v1.0\bin\DevelopmentStorage.exe.config • See the following blog post on indiangeek.net: Using Windows Azure SDK with SQL Server 2005/2008 Remember this is a CTP • • • • Some things aren’t pretty Some things will break Some things will change Cloud computing is inevitable, so jump in now! Samples • In the Azure SDK there is a samples.zip • Expand that and run the “RunDevStorage.cmd” this will prep the SQL Express instance. Service Roles • Web Role – ASP.NET Web Site – Listens on HTTP/HTTPS – Can work with storage • Worker Role – Background processing – Can work with storage – Can read requests from a queue Quick Demo Development Fabric Service Definition • The ServiceDefinition.csdef file contains the Service Definition • Defines Roles – Web Role (http/https, port) – Worker Role • Defines available Configuration Settings Service Configuration • The ServiceConfiguration.cscfg File • Instances of each role • Sets values for Configuration Settings Value Quick Demo Publishing my App Production Staging Development Deploying your App • In Visual Studio use “Publish” – Builds & Creates… – CSPkg (Basically a zip of the binaries+) – CSCfg • Go to: lx.azure.microsoft.com • Two Environments – Staging – Production • Can take a some time to initialize Example of Initializing… Cloud Storage • Blobs – Store files, etc. • Tables – Collections of items with properties • Queues – FIFO Queue • However I’ve heard it may be more like FIPFO Where P = Probably Other Sessions • My Sessions: – Today • Getting Started with SQL Data Services (11:15am in UH 335) – Tomorrow • SQL Server Integration Services Control Flows (10:15 in H 110) • SQL Server Integration Services Control Flows (11:30 in H 110) Thanks! • Stay in touch: [email protected] blogs.netconnex.com twitter: @BStateham gettag.mobi