Loading...
Area: Episerver DXC Service
Applies to versions: Not applicable

Deploying an existing CMS site

This topic describes first-time onboarding deployment of an existing CMS website to the Integration environment, as part of the Episerver DXC Service

When is this applicable?
This is an onboarding scenario for an existing site which you want to move to a cloud-based environment for the first time, for further development and maintenance there. In this case, you already have a database with content, and you will need to get that restored to the correct application, which will be done by Episerver.

Before you start

This topic uses Visual Studio with the Episerver extensions and publish profiles. However, you can also use other deployment methods.

  • See Requirements for recommended versions of software, tools and services to use when deploying.
  • See Getting started for information needed to deploy.

1. Creating the output files

To deploy from your local development environment, create the following set of output files, and provide these to Episerver for deployment:

  • The web application in a zip file.
  • The database as a bacpac file.
  • The media/BLOB files in a zip file.

Application

  1. In Visual Studio:
    1. Right-click on your project and select the Publish tab.
    2. Select Custom. 
    3. Enter a name for the publish profile.
    4. Click OK. 

  2. On the Connection tab:
    1. Select File system as the Publish method
    2. Select a target location for the files
    3. Click Next.
         

         
  3. On the Settings tab:
    1. Select Release for publishing Configuration.
    2. Click Publish.
         

         
  4. Locate the application files in the target folder you selected in step 3, and zip them using a zip tool of your choice. 

Database

  1. In MS SQL Server Studio:
    1. Connect to the database to use.
    2. Select and right-click on the database.
    3. Select Tasks > Export Data-tier Application...
          

         

  2. In the Export Settings tab:
    1. Select Save to local disk
    2. Select a target location for the files
    3. Enter a name for the bacpac file
    4. Click Next.
  3. After the export, verify the results and click Close.

Media/BLOB

  1. In Visual Studio, right-click on your project and select Open folder in File Explorer.
  2. Locate the blobs folder under App_Data, and zip the content of the blobs folder using a zip tool of your choice. 
       

2. Uploading the output files

When you have created the output files, you can deploy the code yourself. For the bacpac and media/BLOB files, contact Episerver and follow the instructions provided. You will receive the keys to upload the bacpac and media/BLOB files to the upload container on the storage account, and Episerver will finalize the deployment.

Do you find this information helpful? Please log in to provide feedback.

Last updated: Jan 31, 2018