690 likes | 1.22k Vues
Windows A z ure. Vijay Rajagopalan Principal Program Manager Windows Azure Runtime. Windows A z ure. flexible. open. solid. Application Scenarios. Windows Azure Cloud Services (Web Role) are ideal for:. Windows Azure Web Sites are ideal for:.
E N D
Windows Azure Vijay Rajagopalan Principal Program Manager Windows Azure Runtime
Windows Azure flexible open solid
Application Scenarios Windows Azure Cloud Services (Web Role) are ideal for: Windows Azure Web Sites are ideal for: Windows Azure Virtual Machines are ideal for: Multi-tier applications: Cloud-based applications that separate application logic into multiple tiers (i.e. caching middle tier, asynchronous background processes like order processing) using both Web and Worker Roles Modern web apps Perfect if your app consists of client side markup and scripting, server side scripting and a database. Powerful capability to scale out and up as needed. Enterprise server applications Run your existing enterprise applications in the cloud, such as SQL Server, SharePoint Server or Active Directory. Continuous delivery Deploy directly from your source code repository, using Git or Team Foundation Service. Apps that require advanced administration Cloud-based applications that require admin access, remote desktop access or elevated permissions Porting existing line of business apps Choose an image from the library or upload your own VHD. Popular open source apps Launch a professional looking site with a few clicks using apps like WordPress, Joomla!, Drupal, DotNetNuke and Umbraco Apps that require advanced networking Cloud-based applications that require network isolation for use with Windows Azure Connect or Windows Azure Virtual Network Windows or Linux operating system Support for Windows Server, along with community and commercial versions of Linux. Connect virtual machines with cloud services to take full advantage of PaaS services.
Windows Server and Linux Flexible Workload Support Virtual Private Networking virtual machines
Windows Azure Virtual Machines • IT Pro experience • Support for key server applications • Easy storage manageability • High availability features • Advanced networking • Integration with compute PaaS If it requires a developer, it’s not IaaS
Images Available at Preview Windows Server 2008 R2 Windows Server 2008 R2 with SQL Server 2012 Evaluation Windows Server 2012 Release Candidate • OpenSUSE 12.1 • CentOS 6.2 • Ubuntu 12.04 • SUSE Linux Enterprise Server SP2 Available at Preview
Getting Started with Virtual Machines • Create new VMs from Platform supplied “stock images” from VM Image Gallery Create new VMs from Platform supplied “stock images” from VM Image Gallery Tools:- Azure Management Portal / APIs / PowerShell cmdlets Customize a platform stock image and “capture” for future usage Tools:- Management Portal / APIs / PowerShell cmdlets Bring your own VMs from on-premises Tools:- Azure SDK Authoring Tools, System Center App Controller (Future), Open Source Authoring Tools (Linux) Tips Ensure VHD is Fixed and Upload as PageBlob Enable DHCP and RDP/SSH before Upload • Tools:- Azure Management Portal / APIs / PowerShell cmdlets • Customize a platform stock image and “capture” for future usage • Tools:- Management Portal / APIs / PowerShell cmdlets • Bring your own VMs from on-premises • Tools:- Management Portal / APIs / PowerShell cmdlets&
Virtual Machine Sizes Each Persistent Data Disk Can be up to 1 TB
Disk Caching Modify using Set-AzureOSDisk or Set-AzureDataDisk
Windows Azure Your Data Center
Windows Azure Your Data Center
Windows Azure Other Service Providers Your Data Center
Windows Azure Other Service Providers no lock-in Your Data Center
demo Getting Started with Virtual Machines VM Portability
VM with persistent drive Windows Azure Storage
VM with persistent drive Windows Azure Storage
VM with persistent drive Windows Azure Storage
VM with persistent drive reliable and always on Windows Azure Storage
WEST DC EAST DC > 500 miles continuous storage geo-replication Windows Azure Storage
What Does Persistent really mean? Windows Azure Storage
demo VM Perisistence
Virtual Machine Names and DNS Full control over machine names Windows Azure provided DNS Resolves VMs by name within the same cloud service Machine names are modeled explicitly and registered in the DNS service Bring your own DNS server Use your on-premise DNS servers Deploy a DNS server in Windows Azure Use public DNS services
Protocols and Endpoints UDP Traffic Supported in WA Load-balanced incoming traffic and allows outbound traffic Support for All IP-Based Protocols (VM to VM) Instance-to-instance communication TCP, UDP and ICMP, dynamic ports Port Forwarded Endpoints Direct communication to multiple VMs in the same cloud app Custom Load Balancer Health Probes Health check with probe timeouts HTTP based probing, allowing granular control of health checks
Service Level Agreements 99.9% for single role instances 8.75 hours of downtime per year 99.95% for multiple role instances 4.38 hours of downtime per year What’s included Compute Hardware failure (disk, cpu, memory) Datacenter failures - Network failure, power failure Hardware upgrades, Software maintenance – Host OS Updates Planned downtime – 6 day notice, 6 hour window, 25 minute downtime What is not included VM Container crashes, Guest OS Updates
Service Management REST APIs- “A Bird’s eye View” Entity Reference Parent – Child Reference C - Create R - Read U - Update D - Delete Management.core.windows.net/ Subscription(R) Images(CRUD) Disks(CRUD) Hosted Service (CRUD) Storage Account (CRUD) Location(CRUD) OSFamily(CRUD) OS(R) Operations(R) Service Certificate (CRUD) Deployment (CRUD) Virtual Machine(CRUD) Data Disk(CRUD) Configuration Set(CRUD)
Application Scenarios Windows Azure Cloud Services (Web Role) are ideal for: Windows Azure Web Sites are ideal for: Windows Azure Virtual Machines are ideal for: Modern web apps Perfect if your app consists of client side markup and scripting, server side scripting and a database. Powerful capability to scale out and up as needed. Multi-tier applications:- Cloud-based applications that separate application logic into multiple tiers (i.e. caching middle tier, asynchronous background processes like order processing) using both Web and Worker Roles Enterprise server applications Run your existing enterprise applications in the cloud, such as SQL Server, SharePoint Server or Active Directory. Continuous delivery Deploy directly from your source code repository, using Git or Team Foundation Service. Apps that require advanced administration Cloud-based applications that require admin access, remote desktop access or elevated permissions Porting existing line of business apps Choose an image from the library or upload your own VHD. Popular open source apps Launch a professional looking site with a few clicks using apps like WordPress, Joomla!, Drupal, DotNetNuke and Umbraco Apps that require advanced networking Cloud-based applications that require network isolation for use with Windows Azure Connect or Windows Azure Virtual Network Windows or Linux operating system Support for Windows Server, along with community and commercial versions of Linux. Connect virtual machines with cloud services to take full advantage of PaaS services.
Build with ASP.NET, Node.js or PHP Deploy in seconds with FTP, Git or TFS Start for free, scale up as your traffic grows web sites
web sites reserved shared shared Shared instanceS :-) 1
web sites reserved shared shared Shared instanceS :-) :-) 2
web sites reserved shared reserved Shared instanceS RESERVED instance :-) :-) :-) 1 0
web sites reserved shared reserved RESERVED instance RESERVED instance :-) :-) 2
web sites reserved shared reserved RESERVED instance RESERVED instance :-) :-) :-) :-) :-) :-) :-) :-) 2
demo web sites
Build infinitely scalable apps and services Support rich multi-tier architectures Automated application management cloud services
Application Scenarios Windows Azure Cloud Services (Web Role) are ideal for: Windows Azure Web Sites are ideal for: Windows Azure Virtual Machines are ideal for: Modern web apps Perfect if your app consists of client side markup and scripting, server side scripting and a database. Powerful capability to scale out and up as needed. Multi-tier applications :- Cloud-based applications that separate application logic into multiple tiers (i.e. caching middle tier, asynchronous background processes like order processing) using both Web and Worker Roles Enterprise server applications Run your existing enterprise applications in the cloud, such as SQL Server, SharePoint Server or Active Directory. Continuous delivery Deploy directly from your source code repository, using Git or Team Foundation Service. Apps that require advanced administration Cloud-based applications that require admin access, remote desktop access or elevated permissions Porting existing line of business apps Choose an image from the library or upload your own VHD. Popular open source apps Launch a professional looking site with a few clicks using apps like WordPress, Joomla!, Drupal, DotNetNuke and Umbraco Apps that require advanced networking Cloud-based applications that require network isolation for use with Windows Azure Connect or Windows Azure Virtual Network Windows or Linux operating system Support for Windows Server, along with community and commercial versions of Linux. Connect virtual machines with cloud services to take full advantage of PaaS services.
demo cloud services: developer experience
Modeling Cloud Applications • A cloud application is typically made up of different components • Front end: e.g. load-balanced stateless web servers • Middle worker tier: e.g. order processing, encoding • Backend storage: e.g. SQL tables or files • Multiple instances of each for scalability and availability Front-End Windows Azure Storage (or)SQL Azure HTTP/HTTPS Front-End Middle-Tier Load Balancer Cloud Service Application on Windows Azure
Role Types • There are currently three role types: • Web Role: IIS7 and PHP/ASP.NET in Windows Azure-supplied OS • Worker Role: Arbitrary Java Code in Windows Azure-supplied OS • VM Role: uploaded VHD with customer-supplied OS • VM Role: is it a VM? • No, because it is stateless • Good for: • Long install (5+ minutes) • Manual install/config • Fragile install/config
Service Model Files • Service definition is in ServiceDefinition.csdef • Service configuration is in ServiceConfiguration.cscfg • CSPack program Zips service binaries and definition into service package file (service.cscfg)
Deploying a Java Service to Windows AzureThe 10,000 foot view Java Service • Service definition is in ServiceDefinition.csdef • Service configuration is in ServiceConfiguration.cscfg • CSPack program Zips service binaries and definition into service package file (service.cspkg) Windows Azure Portal Management REST APIs US-North Central Datacenter Fabric Controller
servicepackage servicepackage
Provision Role Instances Deploy App Code Configure Network servicepackage virtual machine virtual machine virtual machine virtual machine Server Rack 1 Server Rack 2
Provision Role Instances Deploy App Code Configure Network servicepackage Windows Azure Datacenter
Provision Role Instances Deploy App Code Configure Network servicepackage Windows Azure Datacenter
Provision Role Instances Deploy App Code Configure Network Network Load Balancer Network load-balancer configured for traffic Windows Azure Datacenter
Network Load Balancer Windows Azure Datacenter
Web Sites Capabilities Cloud Services Web Role vs. * * Cloud Apps (Web or Worker roles) can integrate with ClearDB’s MySQL as a Service via connection string but not via seamless portal/provisioning workflow
demo cloud services: management