This topic provides best practices for setting up environments, building websites,
building high-availability architectures, and migrating data on simple application
servers. You can refer to the relevant topics for instructions on how to configure
simple application servers based on your business requirements.
Set up an environment
Alibaba Cloud Simple Application Server provides application images and system images.
You can use application images to quickly deploy application environments. You can
also use system images to create simple application servers and set up operations
and maintenance (O&M) environments on these servers. The following table describes
the best practices for setting up an environment on a simple application server.
Scenario |
Description |
Build a LAMP development environment |
LAMP is a popular solution stack for building web applications. LAMP is an acronym
of the names of the four components that make up the stack: the Linux operating system,
Apache HTTP Server, MySQL relational database management system, and PHP programming
language.
|
Use VNC to build a GUI on Ubuntu |
Ubuntu simple application servers provide only command-line interface (CLI). If you
want to use a GUI on your Ubuntu simple application server, you can use Virtual Network
Console (VNC) to build a GUI.
|
Build a website
Alibaba Cloud Simple Application Server provides application images and system images.
You can use application images to quickly build websites. You can also use system
images to create simple application servers and build websites on these servers. The
following table describes the best practices for building a website on a simple application
server.
Scenario |
Description |
Deploy MantisBT |
Software management is a crucial part of the software development process. Mantis
Bug Tracker (MantisBT) is an easy-to-use and robust open source software issue tracking
and management system that can be deployed on LAMP systems.
|
Use WordPress to build a personal mobile blog |
WordPress is a blog platform developed in the PHP programming language. After you
create a simple application server from a WordPress application image, you can use
the WPtouch plug-in for WordPress to build mobile blog sites.
|
Point domain names to different websites in Apache |
On a simple application server where multiple websites are deployed, you can modify
the Apache configuration files to point domain names to the websites. Then, you can
use the domain names to access the websites over HTTP.
|
Transfer data
If you need to manage data resources such as files and databases in your simple application
server, you can refer to the following table to choose a tool based on your requirements.
The following table describes the best practices for transferring data that is stored
on a simple application server.
Scenario |
Description |
Build an FTP server |
Very secure FTP daemon (vsftpd) is a lightweight, safe, and easy-to-use FTP server
software for Linux. You can use FTP clients to connect to your server and upload or
download files.
|
Use WinSCP to connect to a simple application server |
WinSCP is an FTP client for Windows machines. You can use WinSCP to connect to Linux
servers and manage files on the servers.
|
Use DMS to connect to a database on a simple application server |
If you want to manage a preset or self-managed database on a simple application server,
we recommend that you use Alibaba Cloud Data Management (DMS). DMS provides an integrated
solution that implements data management, schema management, user authorization, security
audit, trend analytics, and data tracking.
|
Migrate servers
If you need to migrate data between simple application servers or migrate data from
a simple application server to an Elastic Compute Service (ECS) instance, you can
refer to the following best practices.