Azure Deploy of CM + Reporting

Sitecore Asked by Dave G on February 6, 2021

I’d like to build a deployment of CM and Reporting in a single App Service.
Is the best approach to take the XP0 files and try to remove what isn’t needed ?
Or try and combine The CM and Reporting from XP Scaled ?
Is there any kind of walk through for this type of customization ?


2 Answers

It depends a lot on expected load as to what the best scaling configuration is, but I will not go into that here.

To specifically answer your question, you can take the XP Scaled configuration and modify as follows:

  • infrastructure.json: remove resource sections for the Reporting Microsoft.Web/sites and Reporting Microsoft.Web/serverfarms and any references / dependencies to those resources
  • application.json: remove the deployment of the Reporting site and any references / dependencies. It should still be setting the reporting DB connection string on your CM.
  • Sitecore xxx (Cloud) alter the web.config <add key="role:define" value="ContentManagement,Reporting" />. Or ContentManagement,Reporting,Indexing if on 9.2+

I would like to note though that it's possible Sitecore haven't tested this specific configuration before.

Answered by Mark Gibbons on February 6, 2021

It's best to keep them separate azure web apps, but group CM and Reporting to the same app hosting plan. This way you don't have to regenerate the sitecore provided packages.

More information on Azure App Hosting plans can be found here

Answered by Vincent Lui on February 6, 2021

Add your own answers!

Related Questions

Show current date in yy/MM/dd format

0  Asked on November 20, 2021


Using Model in Scriban template

1  Asked on November 7, 2021


Using List in SXA rendering variant

1  Asked on November 4, 2021


How do I query GraphQL using SPE?

1  Asked on August 23, 2021 by bic


LowerCaseKeywordAnalyzer does not work

0  Asked on August 23, 2021 by vivek-venugopalan


Add a Buyer Role to a User programatically

0  Asked on August 23, 2021 by shrad


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP