Language

Scenario: Configuring a Production Environment for Web Deployment

By Jason Lee|

Download PDF

This topic describes a typical web deployment scenario for a production environment and explains the tasks you need to complete in order to set up a similar environment.

The production environment is the final destination for a web application or a website. By this point, your application has been through testing, has been deployed to a staging environment, and is ready to "go live." The characteristics of a production environment can vary widely according to the nature and purpose of your web content, the size of your organization, your target audience, and lots of other factors. In an enterprise-scale scenario, the production environment may have these characteristics:

  • The environment consists of multiple load-balanced web servers and one or more database servers, often with failover clustering and database mirroring.
  • If the environment is Internet-facing, it's likely to be segregated from your internal network. It may be on a different subnet in a perimeter network, it may be on a different domain, and it may be on an entirely different network infrastructure.
  • Developers and build server process accounts are highly unlikely to have administrator privileges on the production servers.
  • Changes to applications are deployed on a less frequent basis than test or staging deployments.

Note: Scaling out a database deployment across multiple servers is beyond the scope of this tutorial. For more information on this area, please consult SQL Server Books Online.

For example, in our tutorial scenario, a Team Build server includes build definitions that let users build the Contact Manager solution and deploy it to a staging environment in a single step. When the application is ready to be deployed to production, due to the constraints imposed by security requirements and the network infrastructure, the production environment administrator must manually copy the web package onto a production web server and import it through Internet Information Services (IIS) Manager.

Solution Overview

In this scenario, you can deduce these facts from an analysis of the deployment requirements:

  • Due to security restrictions and the network configuration, you can’t configure the production environment to support one-click or automated deployment. Offline deployment is the only viable approach in this scenario.
  • The production environment includes multiple web servers, so you can use the Web Farm Framework (WFF) to create a server farm. Using this approach, the administrator only needs to import the application onto one web server (the primary server), and WFF will replicate the deployment on all the other web servers in the production environment.

These topics provide all the information you need in order to complete these tasks:

Further Reading

For guidance on configuring a typical developer test environment, see Scenario: Configuring a Test Environment for Web Deployment. For guidance on configuring a typical staging environment, see Scenario: Configuring a Staging Environment for Web Deployment.

Author Information

Jason Lee

Jason Lee – Jason Lee is a principal technologist with Content Master where he has been working with Microsoft products and technologies, especially SharePoint and ASP.NET, for several years. Jason holds a PhD in computing and is currently MCPD and MCTS certified.