Mastering Liferay Workspaces and Tooling

Course Overview

Understanding Liferay Cloud Capabilities

Liferay's cloud deployment options (SaaS and PaaS) provide distinct approaches to hosting and managing your Liferay applications. Here, you’ll explore the core concepts and benefits of each option, as well as how Liferay developer workspaces and tooling relate to each model.

Liferay PaaS

Liferay PaaS provides cloud-based infrastructure and platform services to simplify the management and scalability of Liferay DXP. Unlike SaaS, Liferay PaaS gives users greater control and flexibility over their cloud environments and services. Liferay provides the underlying cloud infrastructure (e.g., web servers, databases, search engines, backups, DevOps CI/CD pipeline), while users are responsible for managing and configuring its services.

This model provides several key advantages: 

  • Simplified Infrastructure: Eliminate the complexities of setting up and managing on-premise infrastructure.
  • Enhanced Scalability: Easily scale resources to meet changing demands.
  • Increased Customization: Tailor environments to your specific needs.
  • Accelerated Development: Leverage built-in CI/CD and automation for streamlined development.
  • Comprehensive Monitoring: Monitor resources, track performance, and receive alerts.

With Liferay PaaS, you gain access to a pre-configured Liferay Workspace, a Jenkins account for CI/CD, and a Liferay DXP Cloud Console account for configuring, managing, and monitoring your services and deployments. Liferay's cloud infrastructure also includes features like autoscaling, auto-failover, and load balancing, ensuring high availability and performance.

Liferay PaaS empowers you to focus on application development and customization while benefiting from a robust and scalable cloud platform. You gain the flexibility to tailor the environment to your specific needs and integrate it with your existing workflows, accelerating your Liferay project delivery and enhancing application stability. Overall, this cloud deployment method is suitable for organizations that require more customization or have specific infrastructure requirements.

Liferay SaaS

With Liferay SaaS, Liferay manages virtually every aspect of your Liferay DXP environment, from infrastructure and software updates to security and maintenance. You get a fully functional Liferay DXP instance accessible through a web browser, allowing you to focus solely on building and deploying your applications.

This model offers several advantages:

  • Effortless Setup: Eliminate the complexities of installation and configuration
  • Simplified Maintenance: Liferay handles all updates, bug fixes, security patches, and backups.
  • Optimized Performance: Benefit from a platform optimized for performance and scalability.
  • Increased Focus: Dedicate your resources to application development and business needs.
  • Cost-Effectiveness: Reduce operational costs with predictable pricing and streamlined management.

Liferay's SaaS model empowers you to rapidly create, launch, and optimize digital solutions. Liferay takes care of the full tech stack including the web server running Liferay, the database, search, file storage, and backups. Each Liferay SaaS account comes with production (PRD) and test (UAT) Liferay environments for client extensions.


 

While Liferay manages the core platform and environments, Liferay SaaS also includes separate extension environments for client extensions, which you can deploy using the Liferay Cloud CLI tool and manage via the Liferay Cloud Console. These environments include a VPN client, enabling seamless integration with systems in your data center.

Using Liferay Developer Tools with Cloud Deployments

While both Liferay SaaS and PaaS leverage familiar developer tools, the development workflows and tool usage differ significantly between these deployment models. Let's explore these nuances to ensure you're equipped to effectively develop and manage your applications in the cloud.

Liferay Workspaces

Liferay workspaces are crucial for both SaaS and PaaS deployments, though they serve different roles in each. For Liferay PaaS, customers receive a Liferay workspace hosted as a GitHub repository. This workspace serves as a template specifically designed for Liferay Cloud development, providing the foundation for building and managing your PaaS project, including configurations, deployments, and customizations. In Liferay SaaS, the workspace serves as your local development environment for creating client extensions, which you then deploy to your cloud development project using the Liferay Cloud CLI.

Liferay Cloud CLI

The Liferay Cloud CLI tool provides a command-line interface for interacting with your cloud environments. You can use the CLI to manage builds, deployments, configurations, and other cloud-related tasks for Liferay PaaS. This provides a flexible and efficient way to automate tasks and manage your deployments without relying solely on the graphical interface of the Liferay Cloud Console. For Liferay SaaS, you can also use the tool to deploy client extensions and manage their environments.

Liferay Cloud Console

Liferay provides the Liferay Cloud Console (https://console.liferay.cloud/) to support SaaS and PaaS deployments. For PaaS deployments, this console provides a comprehensive web-based interface for monitoring your environments, managing services, configuring settings, and accessing logs. For Liferay SaaS, you can only use the console to manage and configure your project’s client extension environments.

Conclusion

Liferay's developer tools, including workspaces, the Cloud CLI, and the Cloud Console, integrate with both SaaS and PaaS deployments, but their usage and functionalities vary depending on the chosen model. Understanding these nuances is key to effectively developing and managing your Liferay applications in the cloud.

Next, you’ll explore Liferay Cloud Console features that are available for Liferay PaaS deployments.

Loading Knowledge

Capabilities

Product

Education

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy