Modern DevOps - What does automation look like in a composable world?

A presentation at SUGCON ANZ 2022 in September 2022 in Melbourne VIC, Australia by Rob Earlam

Slide 1

Slide 1

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.

Slide 2

Slide 2

Rob Earlam Snr. Developer

  • Sitecore Software Developer, Movie Lover, Music Listener, Pizza Eater, Meat Smoker living in @RobEarlam https://robearlam.com © 2022 Sitecore User Group Conference ANZ and its respective speakers. All rights reserved.

Slide 3

Slide 3

A real world example

Slide 4

Slide 4

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.

Slide 5

Slide 5

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.

Slide 6

Slide 6

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.

Slide 7

Slide 7

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

Slide 8

Slide 8

Development Flow

Slide 9

Slide 9

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

Slide 10

Slide 10

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.

Slide 11

Slide 11

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

Slide 12

Slide 12

Deployment Flow

Slide 13

Slide 13

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.

Slide 14

Slide 14

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.

Slide 15

Slide 15

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.

Slide 16

Slide 16

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.

Slide 17

Slide 17

Thank you!