• Getting Started
    • Quickstart
    • Dashboard Guide
    • Welcome Tutorial
    • Software Stack Versions
    • Hosters List & Info
  • Windows & .NET
    • .NET Core
    • Windows Server
      • Windows Server VM
      • Windows VPS
    • Windows RD Access
    • Managing Server Roles & Features
  • Databases
    • Create DB Server
    • Database Connection Strings
    • JDBC Connection Pool
    • Database Backups
    • Database Configuration Files
    • Access to PHPMyAdmin
    • MySQL/MariaDB
      • Java Connection
      • PHP Connection
      • Python Connection
      • Node.js Connection
      • Master-Slave Replication
      • Multi-Master Replication
      • Galera Cluster Recovery
      • Remote Access
      • Dump Import/Export
    • PostgreSQL
      • Java Connection to PostgreSQL
      • PHP Connection to PostgreSQL
      • SSL Connection to PostgreSQL
      • PostgreSQL Replication
      • Remote Access to PostgreSQL
      • Dump Import/Export to PostgreSQL
      • PostGIS Extension
      • Hasura GraphQL Installation
    • MongoDB
      • Percona Server for MongoDB
      • Java Connection to MongoDB
      • PHP Connection to MongoDB
      • Python Connection to MongoDB
      • Node.js Connection to MongoDB
      • MongoDB Auto-Clustering
      • MongoDB Replica Set Manual Setup
      • Remote Access to MongoDB
      • Dump Import/Export
    • CouchDB
      • Java Connection to CouchDB
    • Redis
      • Redis Overview
      • Diaspora* Tutorial
    • OpenSearch Cluster
    • Database Connection via JNDI
    • Database Connection via Hibernate
  • Load Balancers
    • Load Balancing
    • NGINX
      • NGINX Balancer
      • TCP Load Balancing
      • NGINX Balancer Configuration
      • Testing Load Balancing
      • Caching in NGINX Balancer
      • App Security with NGINX Balancer
      • NGINX ModSecurity
    • LiteSpeed Web ADC
    • HAProxy
    • Varnish
  • Kubernetes Hosting
    • Kubernetes Cluster
      • Kubernetes Overview
      • System Requirements
      • Cluster Installation
      • Cluster Versions
    • Managing Kubernetes
      • Cluster Access
      • Access Control
      • Cluster Troubleshooting
      • Cluster Upgrade
      • Velero Backups
    • Kubernetes Scalability
      • Vertical Scaling
      • Horizontal Scaling
    • Application Deployment
      • Helm Integration
      • YAML Deployments
      • Internal Networking
      • Exposing Services
      • Creating Ingresses
    • Persistent Data
      • Volume Provisioner
      • Persistent Volume Claim
      • Custom Storage
  • Platform Overview
    • Basics & Terminology
    • Release Notes
    • Application Containers
    • Isolated Containers
    • What is Auto-Clustering
    • What is a Cloudlet?
  • Elastic VPS
    • Elastic VPS Overview
      • General Information
      • CentOS VPS
      • Ubuntu VPS
      • Debian VPS
    • Elastic VPS Management
      • VPS Configuration
      • Linux VPS Access via SSH Gate
      • Linux VPS Access via Public IP
      • Windows VPS Access via RDP
    • Linux VPS Use Cases
      • Run Java Console Application
      • Setting Mail Server Inside VPS
  • Containers
    • Container Types
    • Container Deployment
    • Container Redeployment
    • Container Configuration
    • Supported OS Distributions
    • Connect to Custom Container
    • Custom Container SSH Access
    • Private Registry Repository
  • Data Storage
  • Environment Management
    • Setting Up Environment
    • Environment Collaboration
    • Cloning Environment
    • HTTP Headers
    • Environment Variables
    • Transferring Environment
    • Environment Aliases
    • Environment Export & Import
      • Environment Export
      • Environment Import
    • Environment Regions
      • Choosing a Region
      • Migration Between Regions
    • Environment Groups
      • Create Group
      • Navigate Groups
      • Manage Group
    • Environment Network Isolation
  • Memcached
    • Memcached System
    • Memcached Configuration
    • Memcached Memory Allocation
    • PHP Sessions in Memcached
    • Session Replication via Memcached
  • Deployment
    • Zero Code Change Deploy
    • Deployment Manager
    • Deployment Guide
    • GIT & SVN Auto-Deploy
      • Auto-Deploy Overview
      • Auto-Deploy for Multiple Containers
    • SSH Access to GIT Repository
    • Deploying Apps via Gitblit
    • Deployment Hooks
  • Application Settings
    • Configuration File Manager
    • Scaling and Clustering
      • Automatic Vertical Scaling
      • Horizontal Scaling
      • Automatic Horizontal Scaling
      • Data Syncronization
      • File Synchronization in Cluster
      • Auto-Clustering of Instances
      • Session Replication for HA
    • Smart Auto-Configuration
      • Auto-Configuration Overview
      • Database Auto-Configuration
      • PHP Auto-Configuration
    • Domain Name Management
      • Custom Domain Name
      • Swap Domains
      • Multiple Domain for Tomcat
      • Multiple Domains for GlassFish
      • Multiple Domains for PHP
      • Multiple Domains with Public IP
      • gTLD + IDN Domain Names Support
      • Container DNS Hostnames
    • External Access to Aplications
      • Shared Load Balancer
      • Public IP
      • Multiple Public IP
      • Container Firewall
      • Endpoints
      • HTTP/3 Support
    • Traffic Distributor
      • Traffic Distributor Overview
      • Routing Methods
        • Round Robin
        • Sticky Sessions
        • Failover
      • Traffic Distributor Installation
      • Traffic Distributor Integration
      • Use Cases
        • Blue-Green Deploy
        • Failover Protection
        • A/B Testing
    • SSL
      • Secure Sockets Layer
      • Built-In SSl
      • Custom SSL
      • Custom SSL via SLB
      • Let's Encrypt SSL
      • Self-Signed Custom SSL
    • Scheduling Configurations
      • Setting Up Cronjob
      • Quartz Scheduling
    • Built-In Monitoring
      • Log Files
      • Statistics
      • Load Alerts
    • Monitoring with New Relic
      • New Relic Installation
      • New Relic Update
    • BitNinja Server Security Add-On
    • Managing Locale Settings
    • Custom Error Page Settings
    • Managing Timezone Settings
    • OOM Killer Troubleshooting
      • Overview
      • Common Cases
      • Memory Leak Processes
      • Non-Leaking Processes
    • Remote Debugging
    • Application Lifecycle Management
  • WordPress Edition
    • WordPress PaaS
    • WordPress Topologies
      • Standalone
      • Standalone Pro
      • WordPress WooCommerce
      • WordPress WooCommerce Pro
      • WordPress Cluster
      • WordPress WooCommerce Cluster
      • WordPress Multi-Region Standalone
    • WordPress Plugins
    • WordPress Backups
    • WordPress Billing
    • WordPress Security
    • WordPress PHP Optimization
    • WordPress CI/CD
  • Elastic VPS Edition
    • Virtuozzo Elastic Hosting
    • Elastic VPS Topologies
      • CentOS Elastic VPS
      • Ubuntu Elastic VPS
      • Debian Elastic VPS
      • VzLinux Elastic VPS
      • Windows Elastic VM
    • Elastic VPS Billing
  • Development Tools
    • SSH
      • SSH Overview
      • Generate SSH Key
      • Add SSH Key
      • SSH Access
        • Overview
        • Web SSH
        • SSH Gate
      • SSH Management
      • SSH Protocols
      • Capistrano
    • API & CLI
      • API Overview
      • API Methods
      • Jelastic CLI
        • Jelastic CLI Overview
        • Environment Creation
        • Environment Start/Stop
        • Environment Cloning
        • Environment Migration
        • Server Scaling
        • Container Redeploy
        • Container Volumes
        • Mount Points
        • VCS Project Deployment
        • Swap Public IPs
        • Installing JPS
      • CreateEnv Params
    • Cloud Scripting & JPS
      • Cloud Scripting
      • JPS Overview
      • Application Manifest
      • Marketplace
    • FTP/FTPS Support
    • WebSockets
      • WebSockets Support
      • WebSockets Support for Java
      • WebSockets Support for PHP
    • Plugins
      • Ant Task
      • Eclipse Plugin
        • Eclipse Plugin Manual
        • Eclipse Plugin Installation
        • Environment Management
        • Application Deployment
      • IDEA Plugin
      • Maven Plugin
      • NetBeans Plugin
        • NetBeans Plugin Overview
        • NetBeans Plugin Installation
        • NetBeans Plugin Management
        • Application Deploy via NetBeans
    • Mailings
      • Email via External SMTP
      • Running Sendmail Service
    • Remote Acces via WebDAV
  • Java
    • Java Dev Center
    • Java Versions
    • Java App Servers
      • Tomcat and TomEE
        • Tomcat Server
        • TomEE Server
        • Tomcat/TomEE Variables
        • Tomcat Clustering
        • Tomcat Security
        • Multiple Domains for Tomcat
      • Jetty
        • Jetty Server
        • Jetty Custom Variables
        • Jetty Security
      • GlassFish
        • GlassFish Server
        • GlassFish Environment Variables
        • GlassFish Clustering
        • Multiple Domains for GlassFish
      • WildFly
        • WildFly Server
        • WildFly Managed Domain
        • Building WildFly Docker Image
      • Spring Boot
    • Java App Server Configuration
    • Java Garbage Collector
    • Build Node
      • Java VCS Deployment with Maven
      • Maven Configuration
    • Java Apps Specifications
      • Upload JAR Files
      • Java Agent
      • Remote Access to EJB on GlassFish
    • Java Tutorials
  • PHP
    • PHP Dev Center
    • PHP Versions
    • PHP App Servers
      • Apache PHP
        • Apache PHP
        • Apache Security Configurations
        • Apache Modules
        • Add Apache PHP
        • Apache WebDav Module
        • Apache Statistics Module
        • Name-Based Virtual Host in Apache
        • Apache as Frontend
      • NGINX PHP
        • NGINX PHP
        • NGINX Security Configurations
        • NGINX Modules
        • NGINX WebDav Module
        • Caching in NGINX App Server
      • LiteSpeed Web Server
      • LEMP & LLSMP
    • PHP App Server Configuration
    • ZDT Deployment for PHP
    • PHP Apps Specifications
      • PHP Extensions
      • PHP Accelerators
    • PHP.INI Security Settings
    • Composer Dependency Manager
    • PHP Sessions Clustering
    • PHP Tutorials
  • Node.js
    • Node.js Dev Center
    • Node.js Versions
    • Node.js Apps Specifications
      • Package Managers
      • Process Managers
    • Node.js Tutorials
  • Ruby
    • Ruby Dev Center
    • Ruby Versions
    • NGINX Ruby
    • Ruby App Server Configuration
    • Ruby App Specifications
      • Dependency Management
      • Post Deploy Configuration
    • Ruby Tutorials
      • Redmine
      • Diaspora*
  • Python
    • Python Dev Center
    • Python Versions
    • Python Tutorials
      • Mezzanine CMS
      • Wagtail CMS
  • Go Lang
    • Go Dev Center
    • Go Git Deploy
  • Data Storage Container
    • Data Storage Overview
    • Shared Storage Container
    • Data Sharing
      • Mount Points
      • Exporting Data for Sharing
      • Mount Protocols
        • NFS
        • GlusterFS
    • Use Cases
      • Local Filesystem
      • Master Container
      • Compound Container
      • Dedicated Container
      • External Server
    • Migrating ro GlusterFS Cluster
    • External NFS Server Configuration
  • Account & Pricing
    • Account Registration
    • Account types
    • Account Statuses
    • Account Password Reset
    • Quotas System
    • Two-Factor Authentication
    • Personal Access Tokens
    • Accounts Collaboration (Deprecated)
      • Overview
      • Create Collaboration
      • Collaboration management
      • Environments in Collaboration
    • Accounts Collaboration
      • Collaboration Overview
      • Collaboration Roles & Policies
      • Create Collaboration
      • Collaboration User Experience
    • Upgrade & Refill Account
    • Resource Charging
      • Pricing FAQ
      • Charged Resources
      • Monitoring Consumed Resources
    • Pricing Model Overview
    • Automatic Discounts
    • Billing Systems
      • Billing Systems Overview
      • OBA Billing System
      • OBAS Billing System
      • WHMCS Billing System
    • Hosters Pricing

Environment Import

The Stack Harbor PaaS 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, 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 Stack Harbor PaaS import functionality in detail on the example of the exported environment.

1. Click on the Import button at the top of the dashboard.

package import button

2. Within the opened Import frame, you’ll see three tabs with different options for providing the required file:

  • Local File – to select a locally stored manifest (via the Browse button)
    import via local file
  • URL – to type in or paste a direct link to the required file
    import via URL
  • JPS – the built-in editor to either insert and edit code or to compose your own solution from scratch (refer to the JPS deployment and troubleshooting section below for more information)
    import via JPS
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.

3. After that, you’ll see the installation confirmation window with the corresponding package description. For the exported environment, it shows details on the source platform and export date.

confirm environment import

Within the fields inside, you need to specify the following parameters:

  • Environment – domain name for your new environment
  • Display Name – environment alias to be displayed at the dashboard instead of its domain (optional)
  • Region – environment region to host the solution (if several ones are available)

Click Import when ready.

4. Wait until the environment is created, deployed, and configured.

deploying imported environment

Tip: You can minimize this window and continue working with the dashboard without interrupting the importing process, which will proceed in the background.

5. In a few minutes, you’ll see the installation success window.

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).

environment successfully imported

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.

JPS Deployment & Troubleshooting

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.

1. Once added into this editor, your code will be automatically parsed for errors. If detected, they will be marked with the red cross icon before the corresponding line (hover over for some additional information on the issue). Besides, your code is safely retained in your browser’s local storage, so you can freely close the whole Import frame (e.g. to perform some other operations at the dashboard) and return to coding later on.

JPS editor for import

2. At the top of the frame, you can find several tools for a more comfortable work experience:

  • Format JSON – automatically sets proper indentation and line feeds (not available for YAML)
  • Wrap lines – brakes lines when they reach a frame border
  • Search – locates the needed information, with additional options to narrow the search results even further:
    • Match case – enables a case sensitive search
    • Regex – uses regular expressions for the search conditions specification
  • View Logs – opens a console to track your code execution

JPS editor tools bar

3. The Import logs provide essential information for troubleshooting. If you face issues during the JPS packages creation, refer to this Import > JPS > View Logs tab and search for errors.

import logs

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.

What’s next?

  • Export Environment
  • Environment Transferring
  • Acccount Collaboration
  • Share Environment

Didn't find your answer? Contact Us

Previously
Environment Export
Up Next
Environment Regions

Didn't Find an Answer?

Get in touch with us for details on setup and additional custom services pricing

Contact Us

  • Privacy Policy
  • Terms of Use
  • Stack Harbor © 2022