Liferay Deployment Options
Before developing custom solutions with Liferay DXP, the first step is to select a deployment option. This decision determines your hosting and management strategy. Liferay offers three deployment models, each with its own advantages and considerations: Liferay SaaS, Liferay PaaS, and Liferay Self-Hosted.
Let’s explore each of these options in greater detail to determine which best suits Clarity’s needs and goals.
Liferay Self-Hosted
With Self-Hosted, Liferay provides just the Liferay DXP software. It is up to the customer to manage everything else:
- Server Management & Security: Set up, maintain, and secure the physical servers running Liferay DXP.
- Software Stack Configuration: Set up and configure databases, search engines, web servers, and other services necessary for an enterprise experience with Liferay DXP.
- Software Stack Maintenance: Apply updates, patches, and security hotfixes to Liferay DXP and the entire software stack.
- Architecture Design: Design the architecture for scaling, load balancing, backups, and disaster recovery.
- Custom Solutions: Creating and maintaining custom solutions like websites and client extensions.
Liferay Self-Hosted offers the ultimate control and customization for your Liferay DXP environment. You have complete freedom to manage your server infrastructure, software configuration, and security, allowing for deep integrations and highly personalized experiences. However, this flexibility comes with the responsibility of ongoing maintenance, including updates and security patches, which requires significant technical expertise.
If you’re interested in this deployment approach, there is a wealth of documentation and tutorials to help you get started:
- Installation and Upgrades
- Installing and Upgrading a Search Engine
- Clustering for High Availability
- Maintaining a Liferay Installation
That said, all of this work might be more than what Clarity Vision Solutions wants to take on at this stage of their business. Let’s move on to evaluate Liferay PaaS next.
Liferay PaaS
While Liferay Self-Hosted requires Clarity to fully manage their own infrastructure, Liferay PaaS provides cloud-based infrastructure and platform services to simplify the management and scalability of Liferay DXP. This includes:
- Web Server
- Backups
- Search Engine
- Database
- DevOps CI/CD Pipeline
Furthermore, with Liferay PaaS, Liferay’s cloud infrastructure includes features like, autoscaling, auto-failover, and load balancing. Configuration and monitoring is done through the Liferay Cloud Console and a connected GitHub repository using a configuration-as-code approach. Liferay PaaS also supports a variety of approaches for customization and development, but these approaches also carry the same upgrade-related risks that were mentioned before with Liferay Self-Hosted.
Learn more about the Liferay PaaS and working with its cloud infrastructure tools in the Liferay Cloud documentation.
While Liferay PaaS takes care of the cloud infrastructure and core platform updates, you’ll still need to handle Liferay DXP upgrades, patch implementation, and security hotfix application. All of this maintenance and management represents overhead that Clarity is not interested in.
Finally, let’s evaluate Liferay SaaS.
Liferay SaaS
With Liferay SaaS, the cloud infrastructure and Liferay DXP application is deployed and managed for you. This is the fastest way to get started building solutions with Liferay. Clarity will never have to worry about about whether their site is up and running. Instead they can immediately begin working with Liferay’s out-of-the-box features.
With this deployment approach Liferay provides:
- Product support
- Application Uptime SLA
- Platform Software
- Cloud Architecture and Infrastructure
- Upgrades
- Regular Updates
- Patches and Security hotfixes
Liferay takes care of the full tech stack including the web server running Liferay, the database, search, and file storage. Each Liferay SaaS account comes with a production (PRD
) Liferay environment as well as a test (UAT
) Liferay environment.
Client extension environments are also provided for custom development and customizations. Custom development is done through the use of Liferay Workspace and Client Extensions, both topics that are covered briefly in Module 3: Course Environment Setup and later applied in Module 10: Customizing Liferay DXP. A VPN client is also available in these extension environments to enable client extensions to integrate to systems within your own data center.
With Liferay SaaS, backups and upgrades are fully managed and done for you. There is no need to update your environment or patch previous releases. You can rest assured that your Liferay application is always up-to-date with the latest releases.
With a tight deadline and a strong desire to manage costs, Clarity Vision Solutions has decided that Liferay SaaS is the deployment option for them. Liferay SaaS enables Clarity’s delivery team to focus on delivering more business value rather than maintaining infrastructure and supporting applications.
Conclusion
Great! You’ve reviewed Liferay’s deployment options and selected Liferay SaaS for Clarity Vision Solutions. Next, let’s review the Liferay SaaS onboarding process.
Up Next: Liferay SaaS Onboarding