Platform Administration and Architecture

Content Delivery (CD)

Abstract

Overview of Sitecore Content Delivery supported infrastructure, references, scaling and privacy and security.

The Content Delivery (CD) role handles requests from visitors across channels, determines which content to serve, and renders output in the relevant format for the channel.

You can configure one or more content delivery servers for improved scalability and better performance. If you expect to have high numbers of visitors or want to configure servers in different geographic locations, you can arrange content delivery servers into clusters.

Supported infrastructure

The CD role can be hosted on:

Refer to the Sitecore compatibility table for compatible versions.

References

The CD role references the following application roles, storage roles, indexes and cloud services.

content-delivery.png

Storage roles

Role name

Connection string name

Port

Type

Notes

Core database

core

1433

SQL

Web database

web

1433

SQL

Forms database

experienceforms

1433

SQL

Message Bus

messaging

1433

SQL

If you install Sitecore using SIF, SQL is the default provider. Not applicable to Experience Manager.

Private Session State Store

session

1433

SQL

Optional, for SQL session state provider

6379

HTTP

Optional, for Redis session state provider

Shared Session State Store

sharedsession

1433

SQL

Optional, for SQL session state provider

6379

HTTP

Optional, for Redis session state provider

Application roles

Role name

Connection string name

Default Port

Type

Notes

xConnect Collection service

xconnect.collection

HTTPS

If collection and search are on dedicated servers, you will need to configure xconnect.collection and xconnect.search separately.

Reference Data service

xdb.referencedata.client

HTTPS

Marketing Automation Operations service

xdb.marketingautomation.operations.client

HTTPS

Generally the same as reporting, unless you split the operations and reporting roles. Used to trigger live events.

Shops

5000

HTTPS

Configured in the /sitecore/commerceEngineConfiguration/shopsServiceUrl config element

The following client certificates are required in a secure production environment:

Used for, role

Connection string name

Type

Notes

xConnect Collection service

xconnect.collection.certificate

Certificate

Reference Data service

xdb.referencedata.client.certificate

Certificate

Marketing Automation Operations service

xdb.marketingautomation.operations.client.certificate

Certificate

Shops

N/A

Certificate

Configured in the /sitecore/commerceEngineConfiguration/certificateThumbprint config element

Search indexes

Note

The Content Search provider determines how the CD role connects to the indexes. Sitecore supports Azure Search, Solr and Lucene.

Lucene is recommended for developer environments only. Not recommended or supported in a production environment.

Index

Port, Solr

Port, Azure Search

Type

Notes

Web index

8983

443

HTTPS

FXM Web index

8983

443

HTTPS

Only for XP installations

Web Marketing Definitions index

8983

443

HTTPS

Web Marketing Assets index

8983

443

HTTPS

For more information, see:

Cloud Services

Role Name

Port

Type

Endpoint URL

IP Geolocation

443

HTTPS

geoip-ces.cloud.sitecore.net

Device Detection

443

HTTPS

devicedetection-ces.cloud.sitecore.net

For more information, see:

Scaling

The Content Delivery role can be scaled horizontally into a load balanced content delivery cluster or across multiple data center to provide geographic scaling or data center level fail-over.

For more information on horizontal scaling the CD server, see the Scaling Guide.

In a scenario with multiple Content Delivery clusters, be aware of the following:

Supported combinations

In a production environment, the CD role should not be combined with any other role. The CD role can only be combined with other roles in the following circumstances:

  • Combined Content Delivery, Content Management, Processing, Reporting - this topology is known as XP Single.

  • Combined Content Delivery and Content Management in an “Experience Manager only” environment. This assumes that analytics is disabled, and that your topology does not include the Processing and Reporting roles.

Note

In a developer environment, all core roles can be combined into a single instance. This includes Content Management, Content Delivery, xDB Processing, xDB Reporting, and EXM Dispatch. This setup is not recommended in production.

Privacy and security

The CD role handles personal data in the following ways:

  • Reads and utilizes the contact information from the Sitecore Experience Database.

  • Handles user logins (for example, via federated authentication).

  • Data submission (for example, via Experience Forms).

Refer to the Security Guide for steps to secure the Content Delivery role.