Stage 8: Next Steps After Migration¶
Congratulations! If you have completed all of the previous stages in this section, then you have successfully migrated your on-premises Liferay DXP installation to DXP Cloud!
Now that you have Liferay DXP running on DXP Cloud, you are ready to begin taking advantage of its features, including automated backups, built-in continuous integration, automatic service logging, and built-in security features.
However, in order to take full advantage of DXP Cloud’s capabilities, there are some additional steps you can perform while getting started:
Set up teams to manage membership and permissions
Set up Single Sign-On to streamline authentication
Add custom domains to meet your needs
Configure Your Services to behave the way that works best for you
Set Up Teams¶
As an Administrator in DXP Cloud, you have control over inviting other members and managing their access to various areas of your project as needed. Invite your team members and then give them the appropriate team roles to ensure everyone has the level of access they need in your DXP Cloud project.
See Environment Teams and Roles for more information.
Set Up SSO¶
Single Sign-On allows you to use your preferred identity provider to authenticate Users to Liferay in your DXP Cloud instance. This can help your sign-on experience feel smoother and more integrated with the rest of your project.
DXP Cloud supports Signle Sign-On Identity Providers that are compliant with SAML 2.0. For more information, see Using SSO with DXP Cloud.
Add Custom Domains¶
Ensure that your environment on DXP Cloud hosts your own custom domains as needed. DXP Cloud integrates with your custom domains, allowing you to define certified domains for each environment.
See Custom Domains for more information.
Set Up a Disaster Recovery Environment¶
By default, DXP Cloud mitigates downtime from service outages by providing automatic disaster recovery within the same region. However, in the event of a disaster causing an outage in the area servicing your DXP Cloud environments, you should also consider using a fall-back environment (or Disaster Recovery environment) to minimize downtime for Users on your production instance.
To set up a Disaster Recovery environment, you must have purchased a separate environment for it as part of your subscription.
Configure Your Services¶
In addition to the
liferay service, your main DXP Cloud environments all have a set of default services that you can configure individually. Each of these services has some configurations that you should configure early on:
backupservice automatically creates backups at regular intervals (or when you trigger them manually) which you can restore to your environments at any time. You may want to begin by setting your preferred frequency and retention period for your backups.
searchservice provides an Elasticsearch implementation for your
liferayservice. You can deploy
.ymlconfiguration files in your
configs/common/config/folder to configure the Elasticsearch behavior. See the official Elasticsearch documentation for more information.
webserverservice provides a gateway between your DXP Cloud services and the rest of the internet. Depending on the performance and the types of requests your Liferay instances service, you may want to tweak the timeout or number of retries for requests to be handled as expected.
databaseservice securely provides the database that you uploaded earlier in migration. You may want to configure your preferred database maintenance window to mitigate the impact of downtime for maintenance.
Optimize and Tune Application Performance¶
As you begin using Liferay in DXP Cloud, familiarize yourself with the available tools for monitoring and tuning application performance:
Alerts can notify you in real-time when your services are running into problems with resource limitations, when they have scaled the number of instances up or down, and when they are experiencing other problems. Configure your status alerts to fit your needs so that you are aware of these events.
Auto-scaling automatically adjusts the number of instances of your Liferay DXP service as needed to accommodate User traffic. Configure auto-scaling to take advantage of this optimization.
For production environments, you can also use Dynatrace integration to use more advanced performance metrics. Note that this requires a specific Dynatrace add-on to your Liferay Cloud subscription to use.
You should perform your own performance testing and optimization with your instance on DXP Cloud, the same way as you would tune an on-premises instance. The service data, metrics, and logging available are all there to help you with your testing.
Get Started Developing on DXP Cloud¶
Now that you have migrated to DXP Cloud and you have already deployed your customizations, you can continue your developments by deploying your changes to your Cloud environment(s). If you have not already, then getting familiar with the command-line tool can help you perform development tasks.
In addition to deploying your services via the DXP Cloud console, you can also configure automatic deployments to speed up the process for your development environment. You can also customize the Jenkins pipeline that the CI service uses to suit your needs.
Learn more about the DXP Cloud deployment workflow here.