Announcements
Cloud Version 5 Migration Announcement
ja
Published: May 3, 2023
Summary
As you may know, Liferay released a new major version of the Cloud Service Stack last year(12/08/2022 Service Update 2022.49.1). Version 5 has numerous valuable enhancements meant to improve the experience for every Liferay PaaS customer. In order to ensure that all Liferay PaaS customers benefit from these new features and to allow our teams to focus new development on this version, we want to share our plan to assist customers in updating to version 5.
What is Version 5?
Version 5 is the latest major image update for all 5 of the Cloud services. This means that backup, database, liferay, search, and webserver all have new 5.0.0 versions which include various fixes and improvements.
Version 5 Benefits
There are numerous benefits of the version 5 stack. The key features relate to backups, database, and webserver. These are highlighted below.
Backups - Prepare and Swap Restore Strategy
With prepare and swap enabled, your site is no longer taken down while a backup is being restored. Instead, the backup is restored into a separate volume and db instance. If the restore completes successfully, the restored volume and db instance is swapped with the current one. The site should only be down as long as it takes for the liferay service to restart.
Database - Regional Database by Default
Database reliability and performance are significantly improved with regional databases. These databases are replicated and synchronized to additional zones to improve resilience and minimize latency in the event or a zone failure.
Webserver - Improved WAF Support
The new webserver service now includes the latest version of ModSecurity Web Application Firewall(WAF). Enabling ModSecurity helps to prevent XSS and SQL injection attacks by inspecting requests in real time.
Version 5 Update Steps
Updating to version 5 is as easy as updating to any minor version. Simply update the "image" property in your <service>/LCP.json files to version 5.0.0 or higher.
- Update the ci service using the CLI(see Deploying Changes via the CLI Tool)
- Edit the LCP.json files for all remaining services(backup, database, liferay, search, and webserver) to images version 5.0.0 or higher
- You can find the version options in our Services Changelog
- Commit the changes to your repository using these git commands(commands provided as an example, please use your normal SDLC process)
git add .
git commit -m "Update dxp cloud stack to XXX"
git push origin branchname
- Deploy to your environment
- The deploy option can be found on the Builds page of the Cloud Console (3 dot menu -> deploy build to...)
In order to leverage all of the features of version 5, it is best to update all services to 5.0.0 or higher. There is no expected downtime associated with this update aside from the amount of time it takes for the services to start up.
Schedule
In order to focus development on version 5 and increase adoption of version 5, Liferay has established an end of life schedule for previous versions of the Cloud Service Stack(version 4).
- August 31st, 2023 - End of Life
- End of bug fixes for version 4
- December 31st, 2023 - End of Service Life
- End of Subscription Services support for version 4
- December 2nd, 2024 - End of Availability
- Version 4 images removed
- New builds containing version 4 images will fail
- January 14th, 2025 - End of Functionality
- Existing builds containing version 4 images will fail
Additional Information
If you have any questions about this update or encounter any issues performing the update, please submit a ticket and Liferay Support will be happy to assist.