All Products
Search
Document Center

Elastic Compute Service:Summary of website building methods

Last Updated:Mar 13, 2024

This topic describes the methods used to build different types of websites.

Deploy environments

Alibaba Cloud Elastic Compute Service (ECS) provides a variety of images such as Alibaba Cloud Marketplace images and operating system images. You can use the former to quickly deploy environments and the latter to manually deploy O&M environments after ECS instances are created. The following section describes the methods used to deploy environments.

Deploy an LNMP stack

NGINX is a small and efficient web server that can be used to deploy an LNMP web service stack. LNMP is an acronym of the names of its original four open source components: the Linux operating system, NGINX web server, MySQL relational database management system, and PHP programming language.

Stack

Deployment method

Description

LNMP

Use ROS to deploy an LNMP stack

This topic describes how to use Alibaba Cloud Resource Orchestration Service (ROS) to deploy an LNMP stack.

Manually build an LNMP stack on an Alibaba Cloud Linux 2 instance

This topic describes how to manually deploy an LNMP stack on an ECS instance that runs Alibaba Cloud Linux 2.1903 LTS 64-bit.

Manually build an LNMP environment on a Ubuntu 20 instance

This topic describes how to manually deploy an LNMP stack on an ECS instance that runs Ubuntu 20.04.

Manually deploy an LNMP environment on a CentOS 8 instance

This topic describes how to manually deploy an LNMP stack on an ECS instance that runs CentOS 8.

Deploy an LNMP stack on a CentOS 7 instance

This topic describes how to manually deploy an LNMP stack on an ECS instance that runs CentOS 7.

Manually build an LNMP stack on a CentOS 6 instance

This topic describes how to manually deploy an LNMP stack on an ECS instance that runs CentOS 6.

Build a LAMP stack

LAMP is an acronym of the names of its original four components: the Linux operating system, Apache HTTP Server, MySQL relational database management system, and PHP programming language. LAMP stacks are commonly used to build websites.

Stack

Deployment method

Description

LAMP

Build a LAMP stack on Ubuntu 20 instances

This topic describes how to deploy a LAMP stack on an ECS instance that runs Ubuntu 20.04.

Build a LAMP stack on an Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, or CentOS 7.x instance

This topic describes how to deploy a LAMP stack on an ECS instance that runs Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, or CentOS 7.x.

Deploy a Java web environment

Tomcat is a free, open source Java web server used for web development. It can host Java web applications that consist of Jakarta Servlet, Jakarta Server Pages (dynamic content), HTML pages, JavaScript, style sheets, and pictures (static content). You can deploy a Java web environment manually or by using Alibaba Cloud Marketplace images and Alibaba Cloud Toolkit on your needs.

Environment

Deployment method

Description

Java web environment

Manually deploy a Java web environment on an instance that runs Alibaba Cloud Linux 2

This topic describes how to manually deploy a Java web environment on an ECS instance that runs Alibaba Cloud Linux 2. This topic is suitable for users who are new to website building on ECS instances.

Manually deploy a Java web environment on a CentOS 7 instance

This topic describes how to manually deploy a Java web environment on an ECS instance that runs CentOS 7. This topic suitable for users who are new to website building on ECS instances.

Deploy a Node.js environment

Node.js is a JavaScript runtime environment that runs on the Chrome V8 JavaScript engine. You can use Node.js to build scalable network applications.

Environment

Deployment method

Description

Node.js environment

Deploy a Node.js environment on an Alibaba Cloud Linux 2 instance

This topic describes how to install Node.js and deploy a project on an ECS instance that runs Alibaba Cloud Linux 2.

Deploy a Node.js environment on a CentOS 7 instance

This topic describes how to install Node.js and deploy a project on an ECS instance that runs CentOS 7.

Deploy a Hadoop environment

Hadoop is an Apache open source distributed framework written in Java to efficiently process and store large datasets across clusters. It allows users to develop distributed programs without the need to understand the underlying layer.

Environment

Deployment method

Description

Hadoop environment

Build a Hadoop environment

This topic describes how to build a Hadoop pseudo-distributed environment on an ECS instance that runs a Linux operating system.

Deploy a Windows environment by replacing images

Alibaba Cloud Marketplace images contain operating systems and applications and can be used to deploy application environments on ECS instances.

Environment

Deployment method

Description

Windows environment

Deploy the Windows application environment by replacing images

This topic describes how to deploy a Windows environment on an ECS instance by replacing the image of the instance.

Build websites

Alibaba Cloud ECS provides a variety of images such as Alibaba Cloud Marketplace images and operating system images. You can use the former to quickly build websites and the latter to manually build websites after ECS instances are created. The following section describes the methods used to build websites.

Build a WordPress website

WordPress is a blogging platform written in PHP. Alibaba Cloud Marketplace provides WordPress images to quickly build WordPress websites without the need to deploy a web environment. This lowers the requirements of building a website and is applicable to enterprises or individual users who are new to Alibaba Cloud ECS. You can build WordPress websites manually or by using Alibaba Cloud Marketplace images and ROS based on your needs.

Website

Building method

Description

WordPress website

Create a WordPress environment by using ROS

Alibaba Cloud ROS allows you to use templates to create a group of Alibaba Cloud resources. ROS templates are JSON files used to specify the resources that you want to create.

This topic describes how to use an ROS template to build a WordPress website based on ECS and Relational Database Service (RDS).

Manually build a WordPress website on a Windows instance

This topic describes how to manually build a WordPress website on an ECS instance that runs a Windows operating system.

Manually build a WordPress website on an ECS instance that runs CentOS 8

This topic describes how to manually build a WordPress website on an ECS instance that runs CentOS 8.

Build a WordPress website on a CentOS 7 instance

This topic describes how to manually build a WordPress website on an ECS instance that runs CentOS 7.

Build a Drupal website

Drupal is an open source content management framework (CMF) written in PHP. Drupal consists of a content management system (CMS) and a PHP framework. You can use Drupal to build dynamic websites that provide various features and services. Drupal is commonly used in a variety of applications from personal blogs to large communities. You can build Drupal websites manually or by using Alibaba Cloud Marketplace images based on your needs.

Website

Building method

Description

Drupal website

Build a Drupal website based on an Alibaba Cloud Marketplace image

This topic describes how to build a Drupal e-commerce website on an ECS instance based on an Alibaba Cloud Marketplace image.

Manually build a Drupal website

This topic describes how to build a Drupal e-commerce website on an ECS instance that runs CentOS 7.

Build multiple websites

If you want to make the most of resources and manage sites in a centralized manner, you can build multiple websites on a single ECS instance to improve O&M efficiency. For example, you can configure multiple blogging platforms of different categories or build multiple websites to handle complex business tasks on an instance.

Website

Building method

Description

Multiple websites

Build multiple websites on a Windows instance

This topic describes how to use Internet Information Services (IIS) to build multiple websites on an ECS instance that runs Windows Server 2012 R2 64-bit.

Build multiple websites in CentOS 7

This topic describes how to use NGINX to build multiple websites on an ECS instance that runs CentOS 7.

Build a Magento e-commerce website

Magento is an open source e-commerce platform written in PHP. It has a modular architecture and varied expansion features for building large and medium-sized websites and uses MySQL to store data.

Website

Building method

Description

Magento e-commerce website

Manually build a Magento e-commerce website on an ECS instance

Magento is an open source e-commerce platform written in PHP. It has a modular architecture and varied expansion features for building large and medium-sized websites and uses MySQL to store data.

This topic describes how to deploy a Magento e-commerce website on an ECS instance that runs CentOS 7.

Build a Ghost blogging website

Ghost is a free, open source blogging platform that is developed based on Node.js to simplify the process of writing and publishing blogs.

Website

Building method

Description

Ghost blogging website

Set up a Ghost site on an instance that runs Ubuntu

This topic describes how to deploy a Ghost blogging website on an ECS instance that runs Ubuntu 20.04.

Build applications

Alibaba Cloud ECS provides a variety of images such as Alibaba Cloud Marketplace images and operating system images. You can use the former to quickly build applications and the latter to manually build applications after ECS instances are created. The following section describes the methods used to build applications.

Build an FTP site

You can build an FTP site on a Windows or Linux instance so that you can transfer files to or from the instance after you connect to the instance. Very secure FTP daemon (vsftpd) is a lightweight, safe, and easy-to-use FTP server software for Linux. You can install and configure vsftpd on Linux instances to transfer data.

Application

Building method

Description

FTP site

Manually build an FTP site on a Windows instance.

This topic describes how to build an FTP site on a Windows instance. This topic is applicable to instances that run Windows Server 2008 and later. In the examples, Windows Server 2016 is used.

Manually build an FTP site on a CentOS 8 instance

This topic describes how to install and configure vsftpd on an ECS instance that runs CentOS 8.

Manually build an FTP site on a CentOS 7 instance

This topic describes how to install and configure vsftpd on an ECS instance that runs CentOS 7.

Install and use GitLab

GitLab is a self-managed Git project repository written in Ruby and provides a web interface for access to public or private projects.

Application

Deployment method

Description

GitLab

Deploy and use GitLab

This topic describes how to deploy a GitLab environment manually or by using Alibaba Cloud Marketplace images and how to use GitLab.

Build Microsoft SharePoint 2016

Microsoft SharePoint Portal Server (Microsoft SharePoint) is a portal development stack that enables enterprises to develop intelligent portals. Microsoft SharePoint seamlessly connects to knowledge bases, individual users, and teams. Microsoft SharePoint empowers your business through efficient information processing.

Application

Building method

Description

Microsoft SharePoint 2016

Build Microsoft SharePoint 2016 on an ECS instance

This topic describes how to build Microsoft SharePoint 2016 on an ECS instance that runs Windows Server 2012 R2 Datacenter.

Microsoft SharePoint 2016

Install SharePoint 2016

This topic describes how to install Microsoft SharePoint 2016 on an ECS instance that runs Windows Server 2012.

Deploy and use Docker

Docker is an open source containerization engine that allows developers to package applications and dependencies into portable images. Docker images can run on Linux or Windows or can be used to implement virtualization. Containers are sandboxed and isolated from each other.

Application

Deployment method

Description

Docker

Deploy and use Docker on Alibaba Cloud Linux 3 instances

Install and use Docker on a Linux instance

This topic describes how to deploy and use Docker on an ECS instance that runs Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, CentOS 7.x, or CentOS 8.x. This topic is intended for developers who are familiar with Linux but new to Alibaba Cloud ECS.

Deploy and use Docker on CentOS 8 instances

Deploy and manage databases

Alibaba Cloud provides a variety of databases. You can deploy databases on ECS instances based on your needs.

Operation

Deployment method

Description

Deploy and manage a database

Create and connect to an ApsaraDB RDS instance

ApsaraDB RDS is a stable, reliable, and scalable online relational database service. When you use an ECS instance to build a business in the cloud, you can use an RDS instance to store business data.

This topic describes how to create an ApsaraDB RDS for MySQL instance and connect a Linux ECS instance to the ApsaraDB RDS for MySQL instance.

Manually deploy a MySQL database on an ECS instance that runs Alibaba Cloud Linux 2

MySQL is a relational database management system and is often used to deploy LAMP or LNMP stacks.

This topic describes how to install, configure, and connect to a MySQL database on an ECS instance that runs Alibaba Cloud Linux 2.

Manually deploy a MySQL database on an ECS instance that runs CentOS 8

MySQL is a relational database management system and is often used to deploy LAMP or LNMP stacks.

This topic describes how to install, configure, and connect to a MySQL database on an ECS instance that runs CentOS 8.

Deploy MySQL on a Linux instance

MySQL is a relational database management system and is often used to deploy LAMP or LNMP stacks.

This topic describes how to install, configure, and connect to a MySQL database on an ECS instance that runs CentOS 7.

Manually deploy a MySQL database on an ECS Windows instance

This topic describes how to manually deploy a MySQL database on an ECS Windows instance.

Build a primary/secondary PostgreSQL architecture

PostgreSQL is one of the most advanced open source databases and supports NoSQL data types such as JSON, XML, and hstore.

This topic describes how to deploy a primary/secondary PostgreSQL architecture on an ECS instance that runs CentOS 7.

Manage self-managed databases on ECS instances

Self-managed databases on ECS instances are databases that are installed and configured on ECS instances. You can use Data Management Service (DMS) to manage self-managed databases on ECS instances.

This topic describes how to use DMS to add and manage self-managed databases on ECS instances.

Deploy RabbitMQ

RabbitMQ is an open source message broker that implements the Advanced Message Queuing Protocol (AMQP) to store and forward messages in a distributed system. RabbitMQ is easy to use, scalable, and highly available.

Application

Deployment method

Description

RabbitMQ

Deploy RabbitMQ

This topic describes how to deploy RabbitMQ on an ECS instance that runs CentOS 7.

Deploy and use SVN

Subversion (SVN) is an open source version control system used to manage ever-changing data. The data that SVN manages is stored in a repository. This repository records all changes of files so that you can roll back to a previous version or review the change history of files. SVN supports svnserve and HTTP access modes.

Application

Deployment method

Description

SVN

Deploy and use SVN

This topic describes how to deploy SVN on an ECS instance that runs CentOS 7 by using svnserve.

Deploy SVN over HTTP

This topic describes how to deploy SVN over HTTP on an ECS instance that runs CentOS 7.

Use SVN

After SVN is deployed, you can download projects to your computer, update modifications made on your computer to the server-side repository, obtain updates from the repository, and restore deleted files.

This topic describes how to use SVN.

Use the Vim editor

Vim is a text editor that is developed to be an improved version of the vi editor. It can display text with extra format details, such as font color and underline. Vim is an essential tool in Linux and can be used to edit configuration files of web applications.

Operation

Deployment method

Description

Use the Vim editor

Use the Vim editor

This topic describes the modes and commonly used commands of Vim.