The the platform’s Environment Import feature allows executing the .json, .jps, .yml, .yaml, or .cs files on the platform to automatically install and configure projects according to the declared settings. Being initially designed to deploy the previously exported environment copies (e.g. to transfer an application from another PaaS installation), it can also be used to install your own solutions, declared via JSON, or integrate any ready-to-go package from JPS Collection.
So, let’s consider how to work with the platform import functionality in detail on the example of the exported environment.
Note: For your exported environment to work correctly, it should be migrated to the PaaS installation of the same or higher version. You can compare the platform’s versions at Cloud Union.
Click on the Import button at the top of the dashboard.
Within the opened Import frame, you’ll see three tabs with different options for providing the required file:
Tip: The Examples link next to these tabs redirects to the JPS Collection at GitHub, which stores multiple open-source samples of the ready-to-go packages. You can import any of them by fetching manifest.jps via the tabs above or examine files and scripts to create your own solution.
To proceed, click the Import button in the bottom-right corner of the needed import type tab.
Within the fields inside, you need to specify the following parameters:
Tip: You can minimize this window and continue working with the dashboard without interrupting the importing process, which will proceed in the background.
Here, you can click Open in Browser to immediately check the result or Close this frame to reconfigure your environment and application according to the new platform’s settings (e.g. due to changed hostnames, IP addresses, etc.).
Also, check your email for information (like hostname, new administrator credentials for the nodes, etc.) on your imported environment.
That’s all! This way, you can automatically install any required solution to the chosen platform just in a few clicks, without the necessity to set up all configurations manually.
The Import > JPS option is most frequently used by developers who create JPS packages (e.g. for automation of the common tasks or implementation of complex CI/CD flows). Also, it is an excellent tool for the quick tuning and testing of the packages.
Tip: On the platforms before the 5.9.7 release, you can access this JPS console in a separate browser tab by adding the /console suffix to your dashboard URL (must be logged in for authorization).
If you face any issues while importing a JPS package, feel free to appeal for our technical experts’ assistance at Stackoverflow.