Omran Mogbil
HomeAboutExperienceProjectsBlogContact
Omran Mogbil

Senior Software Architect & Technical Leader passionate about creating amazing web experiences.

Quick Links

  • About
  • Experience
  • Projects
  • Blog

Contact

  • Get in Touch
  • info@omranmogbil.com

Follow Me

LinkedInEmail

© 2025 Omran Mogbil. All rights reserved.

Back to Blog
Sitecore
XM Cloud
Architecture
Composable DXP
Cloud Native

Things to Be Aware of When Architecting Sitecore XM Cloud Solutions

March 5, 2025
3 min read

Sitecore XM Cloud represents a major step toward fully managed, cloud-native digital experience platforms.
Moving from on-prem or PaaS XM to XM Cloud requires a new mindset across architecture, DevOps, and integrations.

This post highlights the most important considerations when designing solutions on XM Cloud. Many of the operational details below are driven by XM Cloud's SaaS model and the recommended headless patterns (Experience Edge, CLI-based serialization, Sitecore CLI tooling).


1. Embrace Composable, Not Monolithic Thinking

XM Cloud is built to enable composable DXP strategies:

  • Treat XM Cloud as a content hub rather than a rendering engine. Render in Next.js (the recommended modern renderer) or another front-end framework using the Sitecore SDKs.
  • Integrate best-of-breed tools for search, analytics, personalization, and CDP functions rather than trying to surface every capability from inside Sitecore.

Architectural impact: design for API-first and loose coupling.


2. Understand Deployment and Serialization Differences

Key differences from on-premise:

  • Deployments are container-based and orchestrated within XM Cloud; you don’t do infrastructure deployments the same way as self-managed Kubernetes or VMs.
  • Item serialization and the Sitecore CLI (and the Sitecore Content Serialization plugin) are central to treating content and templates as code and shipping them through CI/CD. The CLI supports synchronizing items between local and remote XM Cloud instances.

Tip: Define serialization scope early (what gets serialized and who owns templates vs content) and include serialization commands in your pipeline.


3. Performance & Scaling Considerations

XM Cloud simplifies scaling but you still must design for efficiency:

  • API efficiency: minimize Layout Service / GraphQL roundtrips; prefer aggregated GraphQL queries.
  • Cache aggressively at the edge: Use CDN/edge caching for published content (Experience Edge + CDN). Avoid placing frequently changing global data into page Layout responses — fetch that data via separate GraphQL calls cached independently.
  • Use ISR/SSG strategically to reduce runtime pressure on Sitecore endpoints.

4. Security & Identity Integration

XM Cloud supports modern identity providers and token flows:

  • Enforce OAuth2/OIDC where applicable for external apps, and use token exchange patterns when a browser needs temporary access to protected APIs.
  • Move away from legacy membership providers; prefer Azure AD, Okta, or equivalent enterprise identity providers.

5. DevOps & Observability

Although Sitecore manages the platform, you own DevOps for your solution code and integration points:

  • CI/CD with GitHub Actions / Azure DevOps for your front-end, serialization pushes, and infrastructure IaC.
  • Use Sitecore CLI commands in pipelines for item sync and handle secrets (tokens) securely.
  • Observability: instrument rendering hosts with App Insights / OpenTelemetry and monitor Experience Edge usage patterns and cache hit/miss rates.

Conclusion

Architecting for XM Cloud requires a mindset shift:

  • Monolith → composable
  • Manual deployments → automated serialization & CI/CD
  • Infrastructure ops → API efficiency, CDN/edge caching, and observability

Get the fundamentals right and XM Cloud becomes an accelerator for faster delivery and reliable scale.

Share this article

Help others discover this content

More posts coming soon...