Hide menu Last updated: Mar 08 2017
Area: Episerver DXC Service Applies to versions: Not applicable

Deployment process

With Episerver DXC Service you can deploy solutions from your development environment to the Integration environment, while Episerver manages the deployment into production when going live. This topic describes the high-level steps performed by Episerver's deployment automation engine, when pushing code changes to Preproduction and Production environments.

Deployment steps

When you are ready to push your changes from one environment to another, Integration to Preproduction, or Preproduction to Production, Episerver's deployment automation engine will perform the following steps:

1. Packaging of code from source environment

In this step a deployment package of the code is created in the source environment.

Notice the following:

  • No files with the .log-extension will be included.
  • If a file with extension .txt cannot be read, for example if it is locked by another process, it will be skipped.
  • Any locked files under wwwroot\App_Data\ will be ignored.
  • Everything under wwwroot\App_Data\Blobs will be excluded (should not be used in Azure).

2. A new slot is created on the target environment

This slot will always have the same configuration as the current production slot. Other settings, such as logging to Blob storage, will also be configured according to DXC Service standards. At this stage, the slot is in a stopped state.

3. Code is deployed to the new slot

The code package created in step one is now deployed to the new slot.

4. Monitoring and extensions are prepared

Extensions like New Relic for application performance monitoring, are installed on the slot and configured according to DXC Service standards.

5. Configuration transforms are applied

Any configuration transforms included in the code package matching the target environment will now be applied on the target. See Environment configurations.

6. Warmup is configured for the target slot

The deployment engine checks if an applicationInitialization section exists in web.config, if not it will automatically be created. See Warming up sites.

7. The slot is started and a warmup process is triggered

This allows the site and all its instances to be initiated in preparation for the swap.

8. The first stage of a swap is triggered

At this stage, a "swap with preview" is started, and the deployment engine monitors the site until it has completely started.

9. Manual validation of the site

A manual "smoke test" is performed to verify that the site works as expected.

10. Go Live/Reset

If the site works as expected, it is now swapped into the site's "production slot" of the current target environment (Preproduction or Production) and the old slot is stopped. If the site in the slot does not behave as expected, the swap is aborted and the slot site stopped. The files are saved for troubleshooting purposes, or until a new deployment is attempted.

Comments