Environment

An environment identifies a CDN network that has a specialized purpose. Rules Engine allows a deploy request to be submitted to either of the following environments:

Only a single policy per environment may be active at any given time.

Production

The Production environment identifies the traditional CDN network that is responsible for a live site's content delivery. All CDN settings (e.g., customer origin and edge CNAMEs), with the exception of deploy requests to the Staging environment, are applied to this environment.

Purge requests are applied to both the Staging and Production environments.

Deploy Request Best Practice

The recommended workflow for pushing a new Rules Engine configuration to the Production environment is described below.

  1. Submit a deploy request to the Staging environment.
  2. Once it is deployed, test and validate the new configuration with mock site traffic.
  3. Fine-tune the configuration by duplicating the policy, making the desired changes to the draft, and then repeating steps 1 and 2.
  4. Submit a deploy request to the Production environment.

Staging

The Staging environment provides a sandbox through which end-to-end tests of new CDN configurations may be performed without impacting live site traffic. This means that it allows mock site traffic to flow through our Staging network to an origin server. This environment emulates the architecture of the Production environment on a much smaller scale. It also replicates your CDN configuration (e.g., customer origins, edge CNAMEs, Token-based Authentication, etc.).

This environment allows:

Key information:

Using the Staging Environment

Requests may be directed to the Staging environment by prepending staging. to the hostname defined in a CDN URL.

Sample CDN URL (Production):

http://wpc.0001.omegacdn.net/800001/myorigin/marketing/brochure.pdf

Sample CDN URL (Staging):

http://staging.wpc.0001.omegacdn.net/800001/myorigin/marketing/brochure.pdf

Edge CNAME URLs

Alternatively, traffic may be directed to the Staging environment via an edge CNAME URL.

This requires performing the following steps:

  1. Create an edge CNAME configuration.
  2. From your DNS service provider, create a CNAME record that points the above edge CNAME to:

    staging.CDNHostname

    Example:

    staging.wpc.0001.omegacdn.net