HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In


Note

These Additional Deployment Environment features are currently only applicable to those provisioned on or after July 20, 2022.

You can use Additional Deployment Environments (ADEs) to add more environments to the standard set of environments (integration, preproduction, production) in Optimizely Content Management System (CMS) and Optimizely Customized Commerce.

## Benefits

ADEs support:

  • The deployment API

  • Content sync from other environments

  • Quality of life features in the paasportal (such as database exports, application logs and purging CDN cache)

ADEs give you more flexibility during deployment since they allow an indefinite number of deployment environments. You can also reuse these environments for other purposes.

## Use ADEs

You can direct deploy using ADEs. Follow these steps:

  1. Add API credentials to the ADEs. Go to **API** > **Add API Credentials** and select the ADE(s).

  2. Upload the NuGet package.

  3. Set the **TargetEnvironment** to the ADE.

  4. Start the **DirectDeploy**. `Start-EpiDeployment -DeploymentPackage cms.app.1.0.0.nupkg -TargetEnvironment ADE1`

  5. Go to **Deployments** and see the confirmation.

You can also copy content from one environment to the ADE. Follow these steps:

  1. Go to **Deployments**.

  2. Click **Copy Content**.

  3. Select the **Target Environment**. `Start-EpiDeployment -SourceEnvironment Production -TargetEnvironment ADE1 -IncludeBlob -IncludeDb`

  4. Click **Start Now**.

Use the **Troubleshoot** tab to further tweak your ADEs.

  • **Restart Site**

  • Clear cache using **CDN Cache**

  • **Export Database**

  • View **Application Logs** through **Log Stream** or a download link.

## Other Resources

[Deploying an existing CMS site](🔗)

[Deployment API](🔗)