Date post: | 18-Jan-2015 |
Category: |
Technology |
Upload: | mohab-el-shishtawy |
View: | 1,586 times |
Download: | 0 times |
Introduction to Microsoft Windows Azure
Source: Lynn Langit
Modified By @MohabTarek
It’s an Operating System In the Could.Simple Answer?
Microsoft Data CentersVision Go Inside Energy EfficientContainers
San Antonio
Chicago
Dublin
Amsterdam
Hong Kong
Singapore
North American Data Centers European Data Centers Asian Data Centers
DemoLive Windows Azure Applications In The Cloud
• http://bingmapsupdates.cloudapp.net/• http://montage.cloudapp.net/gallery• http://70gigapixel.cloudapp.net/• https://h1n1.cloudapp.net/
IaaS, PaaS and SaaS
• Infrastructure as a Service• Platform as a Service• Software as a Service
InfrastructureServers · Storage · Network
IaaSPlatform
OS & Application Stack
InfrastructureServers · Storage · Network
PaaSApplications
Packaged Software
PlatformOS & Application Stack
InfrastructureServers · Storage · Network
SaaS
Upgrades
Patching
Zero downtime
Memory
Hard drive failure
Network
Server acquisition
Environments
Routers
Load balancers
Installing OS
Storage
Where the Cloud is Compelling
App Characteristic Example
Massive scale Outback promo on Facebook
High reliability eCommerce apps (Coke, Dominos)
Variable load Online tax preparation (CCH)
Unpredictable lifetime Hurricane relief site
Requiring parallel processing Genome sequencing
Scale fast or fail fast Web sites (Kelley Blue Book)
Not good fit for in-house data center Frequently updated app
Needing external storage Online video archive
No desire to manage infrastructure SaaS apps (Quark’s Promote app)
Main Components
Cloud Fabric Web RolesWorker RolesStorage (Including SQL Azure)Dev FabricApp Fabric (Access Control, Service Bus)
Windows Azure Cloud Fabric
• Multiple virtual instances• Easy provision of applications• Detect failures• Spin up new instances to replace the failed ones• How many instances and what role they will play• Load balances and DNS• Elasticity of the service… scaling up/down number of instances
Windows Azure Features
ComputeDatabaseStorageCDNVirtual NetworkMarketplace
Compute
• Windows Azure provides developers an internet-scale hosting environment with a runtime execution environment for managed code.
• Administration
Windows Azure automatically takes care of things such as load balancing and failover thereby reducing the effort and cost of administering the application environment• Availability
designed to let developers build applications that are continuously available, even in the face of software upgrades and hardware failures
Compute (cont..)
• Scalability
Windows Azure enables developers to build scalable applications that run in Microsoft’s global data centers. Just as important, it allows developers to scale down applications when necessary, letting them use just the resources they need.
Windows Azure Roles• Web Role
– for web application programming in ASP.NET or PHP• Worker Role
– is used for generalized development, and may perform background processing for a web role.
– may be written in .NET, Ruby, Java– to improve scalability by increasing parallelism and
asynchronicity
Windows Azure Roles
Windows Azure Roles (cont..)
Virtual Machine (VM) role• Runs an image (a VHD) of a Windows Server 2008 R2
virtual machine.• Customers can configure and maintain the OS and use
Windows ServicesCompute Instance Size
CPU MemoryInstance Storage
I/O Performance
Extra Small 1.0 GHz 768 MB 20 GB Low
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
Developer Experience
• Leverage Existing Skills in .NET, SQL Server, WCF• Use Familiar tools – Visual Studio, SSMS• RESTful HTTP cloud services, supports PHP,
Python• Cloud apps can be developed locally / offline• SDK Cloud Simulator – Dev Fabric, Dev Storage
The Windows Azure SDK
Storage
• Blobs – Large Data Store• Queues – Background work processing• Tables – Very Fast / Scalable Storage• Drives – NTFS Formatted Page Blobs • SQL Azure – Relational SQL in the Cloud
Microsoft® SQL Azure• Is a highly available, and scalable cloud database
service.• Built on SQL Server technologies• High availability and fault tolerance is built-in and no
physical administration is required.• Create, access, and manipulate tables, views, indexes,
roles, stored procedures, triggers, and functions.• Insert, .Update, and Delete.• Integration with SQL Server and tooling including Visual
Studio®• No physical administration required – software
installation and patching is included, as this is a platform as a service (PAAS)%
Programmability and Tools
• Managed ADO.NET data access• Native ODBC• Support for PHP• JDBC Support
Tools• SQL Server Management Studio: an integrated
environment with graphics tools for accessing• SQL Azure Database account portal• Visual Studio 2010 cloud toolkit.
Windows Azure SDK Features
• C# and VB Visual Studio project templates– Windows Azure Cloud Service solution with multiple roles.
• Tools to manage and configure roles• Local Development Fabric• Local Development Storage services• Local Cloud Service debugging support• Cloud Service package and deployment builderNote:• No SDK Required for SQL Azure
Windows Azure Virtual Network
• Windows Azure Connect provides a simple and easy-to-manage mechanism to setup IP-based network connectivity between on-premises and Windows Azure resources.
• Migrate their existing applications to the cloud by enabling direct IP-based network.
• Simple for developers to setup direct connectivity to their cloud-hosted virtual machines.
• Enabling remote administration and troubleshooting
Windows Azure Marketplace
• An online marketplace for developers to share, find, buy and sell building block components.
• An Applications section - includes finished applications, service templates and building block components• DataMarket section - include data, imagery, and real-time web services from leading commercial data providers and authoritative public data sources such as demographic, environmental, financial, retail, weather and sports.
MSDN / BizSpark Offer
Mobile Applications
• Cloud services and phone applications are a powerful combination.
• You can now use the Windows Azure platform as a backend for your next phone application.
• Windows Azure provides you scalability so you can focus on your application as opposed to the infrastructure.
• Windows Azure Toolkits for Devices. With support for Windows Phone 7, iOS and Android.
Windows Azure DevFabricLocal Developer Simulation of AppFabric
• Simulated “Cloud Experience” for Development– Routes cloud requests to local machine– Simulates data storage with local SQL server database– Azure SQL simulated with local SQL Server database
Compute Storage Management ManagementRelational data Connectivity Access control
Windows Azure AppFabric
• Service Bus• Access Control Service• Management
Compute Storage Management ManagementRelational data Connectivity Access control
Time to try!!
• Try Windows AzureTM Free for 30 Days• Windows Azure
3 Small Compute Instances; 3 GB of Storage; 250,000 Storage Transactions.
• AppFabric100,000 Access Control Transactions; 2 Service Bus Connections.
• SQL Azure2 One-GB Web Edition Databases
• Data Transfers3 GB In; 3 GB Out.
Steps to try
• Must have live/Hotmail account, sign in• Got to http://windowsazurepass.com/• Enter “NEXTBIGAPPMO” for a promo code.• After completing sign up for account.• You have to wait 4 days at max to confirm your request.• Access every thing via one site https://
windows.azure.com/default.aspx
Tools you will need
• Microsoft Visual Studio 2010 from your MSDNaa account• SQL Server 2008 R2 management tools to write
statements free @ http://www.microsoft.com/express/Database/
• Tools and SDK for visual studio 2010 http://www.microsoft.com/windowsazure/sdk/
• Videos, training and Quick start codes http://www.microsoft.com/windowsazure/tutorials/
Summary
What is AzureInfrastructure Web RolesWorker RolesStorage (Including SQL Azure)Cloud Fabric, Dev Fabric, App FabricHow to Start
Microsoft Confidential
Q&A
Demo
Building Our First Cloud Application
With Microsoft Windows Azure