Azure in a Day Training: Windows Azure Module 1: Windows Azure Overview Module 2: Development Environment / Portal – DEMO: Signing up for Windows Azure – DEMO: Creating a Hosted Service in the Azure Portal – DEMO: Visual Studio Development Environment Module 3: Service Management / Configuration – DEMO: Configuration in Windows Azure – DEMO: Mapping a custom URI to a hosted service vs. azureinaday.cloudapp.net – DEMO: Configuring SSL: Module 4: Diagnostics – DEMO: Diagnostics in Windows Azure
Modules 1.Windows Azure Overview 2.Development Environment / Portal
DEMO Azure Application
Windows Azure Overview: Agenda 1.Windows Azure at 50,000 feet 2.Why should you care about Windows Azure 3.Windows Azure: The cloud OS
Windows Azure Platform Platform Services Windows Azure Platform ™ Windows AzureSQL AzureAppFabric ™
Windows Azure Platform Services Service Hosting Services Table StorageBLOB StorageQueues ™ Shared Storage Services
Table Storage BLOB Storage Queues Service Hosting Services Storage Services Worker Web Non-Cloud App
Cloud Service Offerings Private (On-Premise) Private (On-Premise) Storage Server HW Networking Servers Databases Virtualization Runtimes Applications Security & Integration You manage What you want to manage Data Storage Server HW Networking Servers Databases Virtualization Runtimes Security & Integration On-Premise (none) Infrastructure as a service Platform as a service Software as a service Infrastructure (as a Service) Infrastructure (as a Service) Platform (as a Service) Platform (as a Service) You manage Applications Data Software (as a Service) Software (as a Service)
Windows Azure Overview: Agenda 1.Windows Azure at 50,000 feet 2.Why should you care about Windows Azure 3.Windows Azure: The cloud OS
Why do you care? The “ilities” – Scalability – Reliability – Durability – Availability Development Environment Utility Computing Model No Administration
Scalability “…the ability of a system, network, or process, to handle growing amounts of work in a graceful manner or its ability to be enlarged to accommodate that growth” - Wikipedia.orgWikipedia.org
Scale Up/Down to meet demand Start-ups Seasonality Time-of-day Bursts – Predictable – Unpredictable
Reliability “… the ability of a system or component to perform its required functions under stated conditions for a specified period of time” - Wikipedia.orgWikipedia.org
Durability “…property which guarantees that transactions that have committed will survive permanently” - Wikipedia.orgWikipedia.org
Why do you care? The “ilities” – Scalability – Reliability – Durability – Availability Development Environment Utility Computing Model
Windows Azure Overview: Agenda 1.Windows Azure at 50,000 feet 2.Why should you care about Windows Azure 3.Windows Azure: The cloud OS
What is Windows Azure Think of it as an operating system for the cloud Provides similar features as a traditional OS (at cloud scale) Provides cloud features like DNS Load balancing Abstracts away the details of hosting scalable services Allows you to concentrate on the service itself
Terms Fabric : network of interconnected nodes Fabric controller: Acts as the kernel for our cloud OS – Monitors the health of services – Allocates resources – Handles scaling – Deployment and upgrades – Load balancing
Service Model Defines the requirements for your service Includes things like – Size of your instance – Update/upgrade domains – Fault domains – Endpoints (internal and input) – Access to local resources – Certificates Described (partially) by.csdef file Configuration provided in.cscfg
Fault / Update Domains Fault domain – A physical unit of failure – Having data spread across fault domains protects you against a single point of failure Upgrade domain – A logical unit of upgrade – The fabric will perform in-place upgrades to 1 fault domain at a time
Compute (Role) Options Web Role – Node running Windows Server 2008 (R2) and IIS7(.5) Worker Role – Node running Windows Server 2008 (R2) VM Role – Runs an image of a Windows Server 2008 R2 Virtual Machine *** (to run in R2, specify osFamily="2" in the ServiceConfiguration.cscfg.)
Compute Instance Sizes Compute Instance Size CPUMemory Instance Storage I/O Performance Cost per hour Extra Small1.0 GHz768 MB20 GBLow$0.05 Small1.6 GHz1.75 GB225 GBModerate$0.12 Medium2 x 1.6 GHz3.5 GB490 GBHigh$0.24 Large4 x 1.6 GHz7 GB1,000 GBHigh$0.48 Extra Large8 x 1.6 GHz14 GB2,040 GBHigh$0.96 * at the time of recording
Modules 1.Windows Azure Overview 2.Development Environment / Portal
Dev Environment / Portal Agenda 1.Signing up for Azure 2.Creating a hosted service 3.Development Environment
Creating a hosted service
Region or Affinity Group You can choose to deploy by – Region – Affinity Group Affinity Groups – Named groups that map to a single datacenter – Allow you to co-locate services / storage / SQL Azure
Developer SDK and Visual Studio Tools Visual Studio Template Development Fabric Development Storage Visual Studio Deployment Tools StorageClient
Windows Azure Project Template Creates Windows Azure Project Allows you to add the following Role(s) – Web Role ASP.NET web role – classic ASP.NET Web Application ASP.NET MVC2 web role WCF Service web role CGI web role – FastCGI Applications like PHP – Worker Role – Virtual Machine Role
Windows Azure Project Add a new Role Project Associate to Role Project Start Development Storage Contains configuration – *.csdef – *.cscfg Exposes Commands – ‘Publish’ – ‘Browse to Portal’ More…
Development Fabric Compute Emulator Local Simulation Environment for the Cloud Azure equivalent to Cassini Allows for debugging and monitoring – Attach debugger – View logging and diagnostic information as it is being written to the Windows Azure log – Open the local store Auto-assigns ports
Development Storage Storage Emulator Local simulation of Blob, Queue and Table Cloud Storage Uses SQL Server (Express by default) under the hood Account Information for Development Storage – Account name: devstoreaccount1 – Account key: Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHB eksoGMGw== – UseDevelopmentStorage=true Service URIs – Blob: – Queuehttp:// :10001 – Tablehttp:// :10002 Differences between Development Storage and Cloud
Manually Starting Development Storage Start C:\Program Files\Windows Azure SDK\v1.3\bin\devstore\dsservice.exe Stop C:\Program Files\Windows Azure SDK\v1.3\bin\devstore\dsservice.exe /shutdown
Deployment Tools Allows you to deploy to the cloud directly from Visual Studio Configure certificate for authentication
END OF WINDOWS AZURE OVERVIEW