Before you start the process, you will need a machine running a linux/unix distribution such as ubuntu or macOS, a code editor/IDE node.js installed on it and a basic working knowledge of node.js.
To begin, create a directory where you would like to store your application. For this tutorial, we will create our application in
In this tutorial, we will be doing most of our work with the terminal and also, use
nano editor in the terminal ensuring the process remains the same for all the platforms.
To start, open your terminal:
In this guide, we will install and configure Ghost on your ubuntu 16.04 Alibaba Cloud Elastic Compute Service (ECS) using Node.js.
npm install ali-oss
Noteworthy, there are two modes that you can choose from; synchronous and asynchronous modes.
To use in synchronous mode, you may additionally use it in conjunction with co. Install co like so:
npm install co
The asynchronous mode supports callback.
Related Blog Posts
In this article, we are going to see how we can bootstrap Alibaba Cloud Function Compute to the web using node JS SDK. Before we begin, let’s take a step back and have a brief discussion on what serverless is and why we should use it.
Alibaba Cloud Function Compute (FC) is a, serverless FaaS with an event-driven programming model. This tutorial demonstrates how you can develop a PDF-to-Text conversion function with Function Compute, and you will see the simple yet powerful paradigm of FC to implement such helper service.
Related Market Products
There are some products with node.js built by partners can be quickly launched on Alibaba Cloud servers.
Kibana is a log-data dashboard which can be installed on Linux, Windows, and Mac. It runs on node.js, along with the installation packages that come incorporated with the required binaries. It provides a better grip on large data stores with point-and-click pie charts, trend lines, bar graphs, maps, and scatter plots. In the long run, user’s each business line can make practical use of data collection, as this helps them to customize their dashboards.
There are some documentation may be useful to you.
[Vulnerability notice] CVE-2017–5941: Remote code execution vulnerability in Node.Js deserialization]
By default, Node.js logs are printed to the console, which makes the data collection and troubleshooting inconvenient. By using Log4js, logs can be printed to files and log format can be customized, which is convenient for data collection and coordination.
There are some products which can help you to optimize your experience on Node.js.
Security and compliant are always our top concerns. Alibaba Cloud security service is committed to providing simple, secure and intelligent security services. You can access the services at any time anywhere with our easy-to-use and simple deployments. Alibaba Cloud security services are deployed based on the security technology we have developed for years to make sure the cloud environment is more secure. To accommodate your business and data processing requirements, we develop and apply the cutting-edge AI technology for the security identification and risks analysis.
An all-in-one service for log-type data
We also have some courses to help you excel in the tools.
Alibaba Cloud’s Cloud Security Certification (ACP Level — Alibaba Cloud Certified Professional) is a professional technical certification oriented to architects, developers, and O&M personnel that use Alibaba Cloud security products. It covers Alibaba Cloud’s core products in security, monitoring, and management.