# Deployment

Deployment is to copy the Node.js pre-packaged online to your Cloud Server. For example, after the user subscribe Node.js on the Cloud Platform, the Platform will automatically copy the Node.js to the corresponding Cloud Server.

  • If Node.js has been deployed, go to Initial Installation to complete the operation.
  • If Node.js is not deployed, you need to deploy Node.js to your cloud server first.

We offer two deployment Node.js scenarios (the deployment results are the same):

# Deploy by Image

Deploy by Image means starting instance from Node.js images. Node.js Image provide OS and software environment needed for Node.js.

For users with experience with cloud servers, Deploy by Image equated with "one-click deployment".

Websoft9 published Node.js image (opens new window) on Cloud Platform, three methods for your deployment:

  • When Create New Instance , select the Node.js image as the system boot template.
  • When Subscribe Node.js on Marketplace, the system will promote you to create a new instance for this image at the same time.
  • When Re-install OS for you instance, you can replace the existing image with a Node.js image.

# Deploy by Script

Deploy by Script means running a script on your cloud instance to pull the pre-packages online to your instance and configure it at the same time.

Websoft9 provide the Node.js ansbile automation script (opens new window) on Github. If you are familiar with Ansible, you can deploy the Node.js to the instance automaticly.

# Comparison

Although the results of the deploy by image are consistent with the results of deploy by script, what is the difference between the two deployment methods?

Suggest you read the document Deploy by Image vs Deploy by Script (opens new window)