So, Should I Upgrade to AEM 6.5?April 11, 2019
Warning: I’m going to write some things that may not agree entirely with the “official recommendation” of Adobe. If any Adobe engineers are reading this, please realize I hold you in the highest regard, and am open to change my tune entirely if I say something that’s out & out wrong.
I get asked all the time: “Should I bother with upgrading to the latest AEM or just go with the one I’ve got?” After hearing it from 3 different customers today alone, I figured I’d write something about this subject, especially since today marks the general availability of Adobe Experience Manager 6.5.
For context to the uninitiated, upgrading a CQ/AEM installation has long been one of the most utterly painful parts of running a site based on AEM/CQ. The official Adobe documentation says, “Upgrading AEM is a multi-step, sometimes multi-month process.” I would have to say though, that prior to the last release or so, it’s ALWAYS been a multi-month process, and some sites I’ve worked on have taken anywhere from 6 months to nearly a full year to complete their AEM upgrade projects, especially for big version jumps like upgrading AEM 5.6.1 to AEM 6.x or upgrading AEM 6.0 to – well, ANYTHING. For one customer that I worked on for around 3 years, over half of the time was spent in the middle of either a 6.2 -> 6.3 or a 6.3 -> 6.4 upgrade.
I’m not actually trying to scare you, just provide context to the decision to upgrade. It does require discussion too, because the features, fixes and stability/performance enhancements provided in 6.4 and 6.5 are very compelling – entirely game-changing in some cases.
The rapid list of super-compelling AEM 6.5 Features
Here are the most noteworthy new AEM 6.5 features that were announced at the Adobe Summit:
- Single Page Application editor: This is the most-touted feature in AEM 6.5, and for good reason. They were slowly rolling out SPA support in 6.4.2, but it’s vastly improved and given front-and-center attention in 6.5. The main value-add is to applications developed in frameworks like Angular or React to have their content be easily edited by content editors in a familiar AEM UI as opposed to having to go to developers to edit application content. It would allow one to develop immersive and quick-responding gmail-eque marketing experiences while maintaining the editability of a normal multipage-based AEM site.
- Major Updates to AEM Assets: Assets continues to get a stream of really compelling updates, including:
- Connected Remote Assets Servers: This is a feature that so many of us have wanted for YEARS, which allows one to segregate your Sites and Assets environments, but still have your Sites environment be able to remotely search, retrieve and display digital assets from the remote server as if they were local. This will be a major boon for platform-focused engineers like me, as it allows one to build a lean and fast Sites environment, and then a purpose-built heavy-storage Assets environment, and have the two talk to each other as one – as opposed to having to spec a single, monolithic Author for both.
- EDIT on Connected Assets: after reading the documentation that’s rolling out on Connected Assets, apparently this feature is only available when talking to an AMS-hosted AEM Assets Server. After talking to Adobe, this is confirmed. Connected Assets utilizes Adobe Identification Management System (IMS) to authenticate between the AEM Sites instance and connected AEM Assets instance, and IMS only used on Adobe Managed Services. Per a source in Adobe, this feature is presently NOT planned to be rolled-out to self-hosted AEM instances. So, if this is a feature you would want to use, please email your Adobe contacts and let them know.
- Major improvements to search & discovery of assets with dynamic search facets
- Visual search to use an image as a facet to have Adobe Sensei AI find other similar or related assets
- Greatly enhanced brand portal for surfacing approved assets to agencies and fostering collab with them
- Direct sharing of assets from the AEM Assets site straight out two Twitter / Instagram / Facebook / etc.
- VIDEO SMART CROP: This Sensei-enabled feature is a huge boon for taking a single video asset like a video advert, and without having to re-edit it, have Sensei smartly and continually crop the video so that it can fit all of the relevant content into a square or portrait-aspect video window. This feature isn’t available at first GA, but should be in 6.5.1 or 6.5.2 (i.e. either mid-summer or mid-fall.)’
- Sensei-enabled Smart Tags for Video allows one to upload the video and have it automatically tag the video appropriately for later search & discovery.
- AEM Desktop App rebuilt from the ground up to allow a much-improved Mac Finder search, ability to check-out/check-in assets, handle versioning, as well as handle bulk operations vastly better.
There were a number of other big new features, including much better-integrated commerce support now that Adobe has acquired Magento, but I’ll let you read the official Adobe releases for that.
Additionally, for full details about what else has changed in other recent AEM versions (in the case that you’re looking to upgrade from AEM 6.3 or earlier releases), see the complete Adobe release notes here:
But What about the Scary AEM Upgrade Stuff?
It has not been lost at all on Adobe’s engineering teams that AEM upgrades are completely terrifying. As such, Adobe has made it an engineering priority over the last few years to make the activity of upgrading AEM more “frictionless.” I put that in scare quotes though, as much of their efforts on creating nearly push-button AEM upgrades only apply if you are an Adobe Managed Services customer, and have them host your entire AEM installation in the cloud.
Don’t ask me just now what I think of Adobe Managed Services, as that’s another blog post entirely that I’m very overdue writing. For now, let’s just say that there are some customers that are an ideal use case to have their infra managed for them by Adobe, i.e. brands that don’t already have technical & ops teams, don’t have a lot of connectivity needs, don’t have complex CI processes already, don’t have custom security or high availability needs, or don’t have aggressive SLAs that they need to be held to. Most others, however, are never going to be on a managed platform like that, and will need to confront upgrading to AEM 6.5 on either their own datacenter’s gear, or on their own self-managed AWS/Azure/GCP/etc cloud infrastructure.
If you are an Adobe Managed Services customer, Adobe did put considerable work into their Cloud Manager web application, to have it guide you through the upgrade process, including running the Pattern Detector for you, displaying a great overview of things you’ll need to fix, branching your code, deploying new infra for the upgrade, and then on a “blue-green deployment” sort of basis, upgrade your existing equipment from its current AEM version to the latest one.
It handles most parts of this seemingly well, although it seems to be best-suited to smaller less-frequently-updated sites as the go-live portion of this blue-green deployment setup does not take into account the content delta which would accrue on your “Blue” environment while the “Green” environment is being spun up on the new version. (See my article on Blue-Green Deployment in AEM for an illustration of this)
Granted, they’ve been making monthly updates to Cloud Manager over the last year, so it’s only a matter of time before they’ve got this solved, as the sales & marketing direction of Adobe is definitely leaning toward getting EVERYBODY onto their managed services (sometimes regardless of suitability).
However, if you’re reading this far, you probably aren’t on Adobe Managed Services (or you’re an Adobe employee who’s about to type me an emotionally-charged email), so you’ll need to upgrade it yourself. On that note, here’s the basic sum-up of the upgrade process:
- If you’re already on 6.4, upgrading to 6.5 should be a snoozer. It should theoretically be only marginally harder than a major service pack upgrade.
- If you’re on 6.3, you should be able to do an in-place upgrade to 6.5 without a repository migration, although you’ll likely still have significant code upgrades to make. AEM 6.3 introduced the new Oak Segment Tar microkernel (the storage backend used for all of AEM’s content and metadata), a backend which is shared by AEM 6.4 and 6.5. The main thing you’ll have to confront is the repository restructure which was introduced in AEM 6.4. I’d definitely recommend reading the article linked here, as it also explains in-depth what changes you’ll need to make before going to 6.5, which ones you should make, and which you can defer.
- If you’re on AEM 6.0 or 6.1, I don’t know how else to put it, your upgrade will likely be a major effort. I will say this, though. Even though executing an in-place upgrade is still usually the Adobe-recommended practice for an AEM 6.0 or 6.1 installation, I have 0% of the time seen a 6.0 -> 6.3+ in-place upgrade work.
If you’re on 6.1 or 6.0 (or even potentially 6.2), it may end up being more prudent to set up a parallel infrastructure on a fresh install of AEM 6.5, and then do a content move of what you want to keep with crx2oak or the VLT-RCP UI (depending on whether or not it’s required that you keep content versions). Then, you can separately deploy your 6.5-capable codebase, and not have to worry about traversing a corrupt 6.0 repository or bringing over 3-year-old stale workflows and the like.
The “Yes, but is it stable” question
My short answer to this is that AEM 6.5 is built off of (primarily) much of the same bones as 6.4. AEM 6.4 was already dramatically better out of the gate than 6.3 was (6.3 had major issues especially with internationalization until after a few service packs) and both were loads better than 6.2. 6.0 was basically like a pre-beta that should have had a LOT more massaging before release.
So, I do like my odds at this point of rolling with 6.5 as a target for anyone who’s trying to select whether or not to go with 6.4 or 6.5 right now.
Usually the maxim has been to not go live with a new AEM version until after at least the first service pack. But if you’re starting your upgrade plans now, AEM 6.5.1 (SP1) will be out mid-summer, and you’ll still have time to incorporate that before you go live.
These are my initial thoughts though, all before getting through a single 6.5 upgrade, as all I’ve gotten to do so far is play with the beta and download the GA release. If any of you readers have any other assenting or contrasting opinions, please do let me know!