Modern DevOps What does automation look like in a composable world Rob Earlam August 18-19 2022 #sugcon © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved.
A presentation at SUGCON ANZ 2022 in September 2022 in Melbourne VIC, Australia by Rob Earlam
Modern DevOps What does automation look like in a composable world Rob Earlam August 18-19 2022 #sugcon © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved.
Rob Earlam Snr. Developer
A real world example
What is the project? • Real world example • Migration & Green-field • Work in progress - all subject to change! • Available publicly now – Not accepting contributions yet! © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved.
Existing Setup Sitecore v9 – Azure WebApps • SUGCON Events • SUGCON India • SUGCON ANZ • MVP Review Portal Sitecore v10 – AKS • MVP Site – including application • SUGCON EU © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved.
Target Setup • One set of infrastructure powered by XM Cloud • All SUGCON Sites • All MVP Functionality • Migration complete to our target “long-term architecture” © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved.
Project requirements Content Migration Development Flow Ability to choose Ability to migrate content Smooth development Smooth deployment flow headless served from a development technology from existing sites and flow for all sites for all sites regardless of single XM Cloud instance. per site. between environments regardless of technology cloud hosting used Multi-Site Multi-Technology All sites need to be chosen. © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved. Deployment Flow
Development Flow
Full Local Development • Running everything containers locally • Very similar to XM v10 development – but leaner! • Appealing for traditional Sitecore (.NET) developers in the team. SUGCON ANZ SUGCON EU MVP Site Content Management Databases • Less appealing for JS developers not familiar with Sitecore development history. • Requires Windows machine © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved. Indexes
Edge Development with Docker • Run all heads locally against Experience Edge • Appealing for both .NET & JS developers in the team. SUGCON ANZ SUGCON EU MVP Site • Shared environment has the possibility to introduce issues in larger teams. • Test prod issues really easily. • Good if you want to smoke test all heads at once. • Requires Windows machine • No Experience Editor XM Cloud © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved.
Edge Development without Docker • Run individual heads locally against Experience Edge • Appealing for both .NET & JS developers in the team SUGCON ANZ SUGCON EU • Shared environment has the possibility to introduce issues in larger teams • Test prod issues really easily • Super fast developer cycles • Use OS of choice • No Experience Editor © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved. XM Cloud MVP Site
Deployment Flow
Target Architecture Replicated For Production and Non-Production? SSR MVP Site SSG XM Cloud SUGCON EU SSG SUGCON ANZ © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved.
CI/CD configuration • Built using GitHub Actions • Started with single pipeline – too inefficient! • Split pipeline out by target system • Deploy_XM_Cloud.yml • Deploy_MVP.yml • Deploy_SUGCON_EU.yml • Deploy SUGCON_ANZ.yml © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved.
Conclusion ▪ XM Cloud opens up a variety of development approaches • Use the best development language for your use case! ▪ Super simplified architecture compared to v10 ▪ XM Cloud opens a variety of deployment approaches • Use the best hosting platform & CI/CD tooling for your use case! ▪ Checkout the repo and follow our progress • https://github.com/Sitecore/XM-Cloud-Introduction © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved.
Questions? I am a proud community member! Please contact me on the following handles: @RobEarlam @RobEarlam Rob Earlam sitecorechat.slack.com twitter sitecore.stackexchange.com © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved.
Thank you!