CNM Cloud Next

From CNM Wiki
Revision as of 11:11, 29 August 2019 by Gary (talk | contribs)
Jump to: navigation, search

The CNM Next Server (previously known as CNM Lab Server; hereinafter, the Server) is a compute server that is used for learning and testing. While being a part of CNM Servers, the Server utilizes one DigitalOcean droplet, which is located at the 167.71.244.79 IP address, and shall support all the applications installed at the Fellow Server. In other words, the Server can be described as a learning and testing variant of the CNM Fellow Server.


Platform

The Server is set up as a Digitalocean droplet with dedicated 1 vCPU and 2GB / 50GB Disk in its NYC3 datacenter (New York). The dedicated resources can be increased when the existing ones can no longer support all the services that the Server is expected to provide.

OS

Ubuntu 18.04.3 (LTS) x64

DNS records

All the Server's hostnames shall be fully qualified domain names (FQDNs). The following records shall be associated with the Server:
Record Hostname Value TTL (seconds)
A next.friendsofcnm.org directs to 167.71.244.79 3600
A video.next.friendsofcnm.org directs to 167.71.244.79 3600
A lab.next.friendsofcnm.org directs to 167.71.244.79 3600
A cert.next.friendsofcnm.org directs to 167.71.244.79 3600
A wiki.next.friendsofcnm.org directs to 167.71.244.79 3600
A mail.next.friendsofcnm.org directs to 167.71.244.79 3600
A linkup.next.friendsofcnm.org directs to 167.71.244.79 3600
A page.next.friendsofcnm.org directs to 167.71.244.79 3600
CNAME www.next.friendsofcnm.org is an alias of next.friendsofcnm.org. 43200
CNAME www.video.next.friendsofcnm.org is an alias of video.next.friendsofcnm.org. 43200
CNAME www.lab.next.friendsofcnm.org is an alias of lab.next.friendsofcnm.org. 43200
CNAME www.cert.next.friendsofcnm.org is an alias of cert.next.friendsofcnm.org. 43200
CNAME www.wiki.next.friendsofcnm.org is an alias of wiki.next.friendsofcnm.org. 43200
CNAME www.mail.next.friendsofcnm.org is an alias of mail.next.friendsofcnm.org. 43200
CNAME www.linkup.next.friendsofcnm.org is an alias of linkup.next.friendsofcnm.org. 43200
CNAME www.page.next.friendsofcnm.org is an alias of page.next.friendsofcnm.org. 43200
NS friendsofcnm.org directs to ns1.digitalocean.com. 1800
NS friendsofcnm.org directs to ns2.digitalocean.com. 1800
NS friendsofcnm.org directs to ns3.digitalocean.com. 1800
This list is way far from completion and needs to be further developed.

Control panel

An instance of Vesta Control Panel is installed in order to manage all the services through a web browser. The panel allows for creating users, email addresses, databases, adding domains, setup cronjob, or restart any service.

Backups

The backup policy shall be created in order to setup daily, weekly, and/or monthly backups.

Applications

Any CNM app shall comply with the CNM software requirements.

Certware

One testing instance of CNM Certware shall be run on the Server and to be located at https://cert.next.friendsofcnm.org in the World Wide Web. The instance shall be based on Moodle software and shall duplicate the production instance located at https://cert.friendsofcnm.org

Labware

One testing instance of CNM Labware shall be run on the Server and to be located at https://lab.next.friendsofcnm.org in the World Wide Web. The instance shall be based on a combination of Redmine and SVN software, linked to Bitbucket's file storage, and shall duplicate the production instance located at https://lab.friendsofcnm.org

Linkupware

One testing instance of CNM Linkupware shall be run on the Server and to be located at https://linkup.next.friendsofcnm.org in the World Wide Web. The instance shall be based on SuiteCRM software and shall duplicate the production instance located at https://linkup.friendsofcnm.org

Mailware

One testing instance of CNM Mailware shall be run on the Server and to be located at https://mail.next.friendsofcnm.org in the World Wide Web. The instance shall be based on Roundcube software and shall duplicate the production instance located at https://mail.friendsofcnm.org

Pageware

One testing instance of CNM Pageware shall be run on the Server and to be located at https://page.next.friendsofcnm.org in the World Wide Web. The instance shall be based on WordPress software and shall duplicate the production instance located at https://page.friendsofcnm.org

Videoware

One testing instance of CNM Videoware shall be run on the Server and to be located at https://video.next.friendsofcnm.org in the World Wide Web. The instance shall be based on YouPHPTube software and shall duplicate the production instance located at https://video.friendsofcnm.org

Wikiware

Two testing instances of CNM Wikiware, for two different languages, shall be run on the Server and to be located at https://wiki.next.friendsofcnm.org in the World Wide Web. The instance shall be based on MediaWiki software and shall duplicate the production instance located at https://wiki.friendsofcnm.org . In addition, one instance of Tiki Wiki CMS Groupware shall be installed for testing purposes.

Server provisioning

Mail servers

Two mail servers are designed to receive and send emails. A Postfix instance shall communicate with mail exchangers and a Dovecot instance shall communicate with email clients.

Web servers

Two web servers are designed to satisfy requests of World Wide Web clients. Nginx shall be placed in front of Apache HTTP Server. Nginx shall be used as a reverse proxy, load balancer, mail proxy and HTTP cache.

FTP servers

A Very Secure File Transfer Protocol Daemon (vsFTPd) shall be used for secure file transfers.

Databases

No standalone database server is planned. Separate database management systems, which are based on MariaDB instances, shall serve separate applications as follows:
Databases used in the Server
CNM app DBMS Size (tables)
Certware MariaDB
Labware
Linkupware
Mailware
Pageware
Videoware
Wikiware
PostgreSQL and MongoDB may also be considered for further applications.

SSL certificates

All domains are provisioned with Let's Encrypt SSL certificates.