260 likes | 448 Views
Module 8: Web Application & Platform with Windows Server 2012 R2. Rick Claus Microsoft Sr. Technical Evangelist Corey Hynes Lead Technical Architect, holSystems. Jump Start Target Agenda. Web Application & Platform with Windows Server 2012 R2. Talk with our Experts in Chat tool.
E N D
Module 8: Web Application & Platform with Windows Server 2012 R2 Rick Claus Microsoft Sr. Technical Evangelist Corey Hynes Lead Technical Architect, holSystems
Jump Start Target Agenda • Web Application & Platform with Windows Server 2012 R2
Talk with our Experts in Chat tool. #WS2012R2JS Hands-On Labs DOWNLOAD System Center 2012 R2 Preview aka.ms/sc2012r2 DOWNLOAD Windows Server 2012 R2 Preview aka.ms/ws2012r2 http://www.microsoftvirtualacademy.com System Center 2012 R2 Jumpstart July 15th - http://aka.ms/SCR2JS
Web Hosting with Windows Server 2012 R2 Preview 1
Modern Web Hosting Scenarios Enterprise Web Hosting A dedicated infrastructure to optimize performance for a single enterprise tenant Shared Web Cloud Hosting A PaaS infrastructure to optimize resource utilization for multiple tenants Characteristics • Small number of apps per tenant • Highly customizable • Enterprise applications (e.g. SharePoint) Characteristics • Highly shared / multi-tenant • Dev/ops optimization • Simple self-service deployment / scale
Just the facts Supporting Features Deployment Scenarios & Features CONSISTENT AND REPEATABLE CONFIGURATIONS Enterprise Web hosting ECOSYSTEM AND EXTENSIBILITY Shared Web Cloud Hosting Application Initialization improves user experience of first requests CPU throttling helps ensure that no single web application affects the performance of others Shared configuration helps ensure consistency across web farms Dynamic FTP and IP restrictions set policies to block unwanted access Embraces web standards to work more easily with PHP and node.js Configuration Editor provides a rich, visual method to edit web configurations and create repeatable actions Provides a common development platform across clouds Centralized SSL store dynamically maps sites to certificates Non-Uniform Memory Architecture (NUMA) for hardware with complex specifications Server Name Indication (SNI) allows high-density sites that are more secure Windows Azure Pack delivers web sites as a service
Defining the goal Shared Web Cloud Hosting A PaaS infrastructure to optimize resource utilization for multiple tenants Enterprise Web Hosting A dedicated infrastructure to optimize performance for a single enterprise tenant Characteristics • Small number of apps per tenant • Highly customizable • Enterprise applications (e.g. SharePoint) Characteristics • Highly shared / multi-tenant • Dev/ops optimization • Simple self-service deployment / scale
CPU Throttling Enterprise Web HostingHigh-performance web applications Application Initialization Dynamic FTP and IP restrictions • Help ensure that no single web application affects the performance of others Set policies to block unwanted access Improve user experience of first requests
CPU Throttling Earlier scenario Windows Server 2012 R2 Preview Tenant A Tenant B Tenant N Tenant A Tenant B Tenant N • Benefits • Prevents one tenant’s application from monopolizing CPU resources • Sets maximum CPU consumption per application pool • Sandboxing process controls resource consumption per site • By defining different-sized sandboxes for different tenants, hosters can create additional business opportunities based on resource consumption Out of resources Internet Information Services 8 throttles CPU to prevent any monopolization Monopolizing CPU cycles CPU 0 CPU 1 CPU 2 CPU 3 CPU 0 CPU 1 CPU 0 CPU 1 CPU 2 CPU 3 CPU 2 CPU 3 Application pool Application pool
Application Initialization • Benefits • Helps to manage the end-user experience when the site starts loading • Returns static content as a splash page until an application has completed its initialization tasks • Proactively performs initialization tasks for an application when it starts, to improve performance of first requests User requests ASP.NET application Drivers ASP.NET application Models Libraries Application loads drivers, models, libraries, and helpers in the background Internet Information Services 8 Helpers Packages Scripts
Dynamic IP Restrictions • Benefits • Protects servers from denial of service attacks • Filters and blocks IP address dynamically • Specifies action when Internet Information Services blocks requests • With Logging Only Mode, helps to determine potential impact for legitimate users • Rules can be configured as static or dynamic You can configure dynamic IP restrictions to help reduce the impact of a denial of service attack • Dynamic IP restriction is an optional feature that must be explicitly installed using Server Manager
Restriction of FTP logon attempts • Benefits • Reduces vulnerability to attack • Dynamically limits the number of logon attempts • Server blocks access from malicious users • Log files track suspicious logon attempts FTP network security can be configured to help reducethe impact of a denial of service attack
Defining the goal Shared Web Cloud Hosting A PaaS infrastructure to optimize resource utilization for multiple tenants Enterprise Web Hosting A dedicated infrastructure to optimize performance for a single enterprise tenant Characteristics • Small number of apps per tenant • Highly customizable • Enterprise applications (e.g. SharePoint) Characteristics • Highly shared / multi-tenant • Dev/ops optimization • Simple self-service deployment / scale
High-density websites • Features for enabling and managing the multitenant environment • Server Name Indicator • Centralized SSL Certificate Support • NUMA scalability Challenges for running high-density websites Isolation and security Scalability Centralized support Simplified management Extensibility Windows Server 2012 R2 Preview Shared infrastructure Site A Site B Site N ns ns ns SQL SQL SQL
Server Name Indicator • Benefits • Easier certificate management • Reduced hosting costs • Increased site density • Single, shared IP address Network endpoints with a single, public IP address Tenant N Tenant A Tenant B Virtual domain name 1 Virtual domain name 2 Virtual domain name 3 Multiple websites hosted on a single web server Hosting-friendlyweb sever platform Internet Information Services 8 “Web hosting certificate store” can contain thousands of SSL certificates
NUMA scalability • Starts scaling NEGATIVELY when the number of cores increases beyond the point where memory synchronization outweighs the benefits of any additional cores Previous Internet Information Services versions on NUMA hardware • Non-Uniform Memory Architecture • Processors can access local memory faster than remote memory • A significant percentage of new servers have NUMA • Designed for scale-up • Scales POSITIVELY with increasing cores, allowing organizations to benefit from their NUMA hardware investments Internet Information Services on NUMA hardware
Centralized SSL Certificate Support • Certificate management • Shared SSL certificates are stored centrally • New servers do not need certificate import • SSL binding is implied by naming convention • Only one implicit SSL binding to manage, regardless of number of configured SSL sites • Certificate is updated by copying and replacing the existing file SSL binding configuration Certificates are stored in a file share Internet Information Services is configurable to automatically bind to SSL certificates stored in the shared folder
FlexibleSupport for PHP, Node.js, and ASP.NET Best platformfor .NET “Just works” with PHP (and Node.js) Embraces web standards • Innovations with “Dev11” and ASP.NET MVC 4 • ASP.NET “webpages” and Razor syntax • WebMatrix provides simple on-ramp and integrates deeply with open source. • First-class support for FastCGI/PHP • Popular open source software apps–WordPress, Joomla!, Drupal, Umbraco and DotNetNuke • Node.js pre-configured • Standards-based support • Great for asynchronous operations and client-driven web apps. • Excellent choice for rich HTML5 applications.
Consistent and repeatable configurations Shared configurations Configuration Editor Help ensure consistency across web farms Script generator Provide a rich, visual method to edit web configurations and create repeatable actions
Consistency through shared configuration • Benefits • IT can maintain a consistent configuration across web servers • Reduces time to operational readiness • IT can automatically share encryption keys across servers for session state load distribution Specify a shared location to store configurations
Repeatability with Configuration Editor • Benefits • Visual editor makes advanced configuration settings easier to edit • IT pros can create repeatable actions for consistent and automated processes • Internet Information Services configuration editor can generate managed code (C#), JavaScript scripts, command line (AppCmd), and Windows PowerShell scripts Use the Configuration Editor to manage advanced configurations
Ecosystem and extensibility Common development platform Embraces web standards Work more easily with PHP and node.js Provide a common development platform across clouds
Build symmetrical and hybrid apps on-premises and in the cloud • Uses the same development tools across Windows Server 2012 R2 Preview and Windows Azure Programming symmetry • Benefits • Reduces your training costs and takes advantage of existing development skill sets • Engages with a large ecosystem of partners and solution offerings • Creates applications that run on best-fit platforms • Offers Microsoft .NET developers a complete environment to build applications that span across clouds for a rich development experience Common development tools
Support for multiple development languages Microsoft .NET for apps with the new Windows UI • A subset of the Microsoft .NET Framework is available for building apps with the new Windows UI using C# or Visual Basic Windows Presentation Foundation • Ribbon control hosts a Quick Access Toolbar, Application Menu, and tabs • Repositioning of data as values change (live shaping) • Better integration with Win32 user interface components Core new features and improvements • Support for common language runtime and for .NET Framework classes • Support for Managed Extensibility Framework • Support for asynchronous file operations Windows Communication Foundation • Simplification of generated configuration files • Support for contract-first development and asynchronous streaming • Configurable ASP.NET compatibility mode • HTTPS protocol mapping with Microsoft Internet Information Services Web • Support for HTML5 form types and WebSockets protocol • Support for reading and writing HTTP requests and responses asynchronously • Support for content distribution network (CDN) fallback Windows Workflow Foundation • Ability to create state machine workflows • Support for C# expressions and versioning enhancements • Enhanced workflow designer features Networking • Improved internationalization and IPv6 support • RFC-compliant URI support • Support for internationalized domain name (IDN) parsing and email address internationalization (EAI)
Talk with our Experts in Chat tool. #WS2012R2JS Hands-On Labs DOWNLOAD System Center 2012 R2 Preview aka.ms/sc2012r2 DOWNLOAD Windows Server 2012 R2 Preview aka.ms/ws2012r2 http://www.microsoftvirtualacademy.com System Center 2012 R2 Jumpstart July 15th - http://aka.ms/SCR2JS