Difference between revisions of "CNMC bare-metal"
(→Milestones) |
(→Needs) |
||
Line 3: | Line 3: | ||
==Needs== | ==Needs== | ||
− | The ''Metal'' shall accommodate those interns who shall conduct their internships on virtual machines (hereinafter, ''VM''s) and applications. There shall be many applications designed for internships; they would include [[AVideo]], [[GitLab]], [[HumHub]], [[MediaWiki]], [[Moodle]], [[Odoo]], [[Roundcube]], [[SuiteCRM]], and [[WordPress]] to name just few. | + | The ''Metal'' shall accommodate a laboratory environment for those interns who shall conduct their internships on virtual machines (hereinafter, ''VM''s) and applications. There shall be many applications designed for internships; they would include [[AVideo]], [[GitLab]], [[HumHub]], [[MediaWiki]], [[Moodle]], [[Odoo]], [[Roundcube]], [[SuiteCRM]], and [[WordPress]] to name just few. |
===User stories=== | ===User stories=== |
Revision as of 21:56, 22 March 2022
The CNMC bare-metal (hereinafter, the Metal) is the technology that supports the Urdu Project. A similar technology supports CNM Cyber's project in Ukraine.
Contents
Needs
The Metal shall accommodate a laboratory environment for those interns who shall conduct their internships on virtual machines (hereinafter, VMs) and applications. There shall be many applications designed for internships; they would include AVideo, GitLab, HumHub, MediaWiki, Moodle, Odoo, Roundcube, SuiteCRM, and WordPress to name just few.
User stories
- As a training provider, I shall be able to authorize a particular intern to access a VM that hosts a particular software package, so this intern will be able to explore, provision, modify, and restore the software package.
- As an intern, I shall be able to access a VM, which I am authorized to access, in order to explore, provision, modify, and restore the application that this VM hosts.
Milestones
We plan to:
- Purchase the Metal, setup RAID and ProxmoxVE, as well as secure them.
- Setup a high-availability secure cluster of WordPress instances on the purchased Metal.
- Setup a high-availability cluster of two bare-metal servers, including the main server that has been used in the Ukraine project and and the Metal.
Server layer
To support the project in Ukraine technologically, we created a platform with 3 VPS and one proxmox instance at hetzner.de in Germany. We plan to deploy a similar platform for the project in Pakistan. Alternatively, OVH servers have been considered.
Bare-metal
The characteristics of the server that supports the project in Ukraine are as follows:
- Dedicated Root Server SB35
- Intel Core i7-3930
- 2x HDD SATA 3,0 TB
- 8x RAM 8192 MB DDR3
- NIC 1 Gbit - Intel 82579LM
- Location: FSN1 (Falkenstein/Vogtland, Germany) -- DC7
- Rescue system (English)
For the project in Pakistan, we plan to buy an additional bare-metal server at hetzner.de at the same datacenter with our first one. The additional server shall be similar to the current one, probably, with a half of the RAM.
Disk-redundancy
What type of RAID are you going to set up? About Raid system please ask to server hosting, attach hardware raid system in it, so it will be good for our work, and speedup, also it will secure our data on the hard-disk level.
Virtualization
OS installation first, so it will be proxmox, so we can create some shared container or kvm based container there as per our usage.
Server security
What do you plan for its security? Firewalls?
- Config Server Security and Firewall (CSF) (so when anyone do wrong attempt with our server it will auto blocked on three wrong attempt, also we can block any country any location any ip any isp etc with firewall.
- Change a default ssh port to another also we will set it to key based authentication so who have the key they can access.
IP addresses
On the main server, either local IP or private IP range with DHCP is used. Unless specific concerns arise, we plan to use 2 IPv4 addresses. We are also open to explore IPv6. If we use About ipv4 addresses, we need 5 ips: one for main server, two for gateway, three for any vps or container and four for wordpress vps, and 5 for anyother we need in future.
Server monitoring
Server HA
Application layer
We would like to start with Wordpress. Then, we add MediaWiki, Moodle and the rest. Our main server and its WordPress instances were hacked a few times. This is a description of what happened with the server (it is in Russian though) -- https://pravka.bskol.com/ru/%D0%9E%D0%BF%D1%8B%D1%82%D0%BD%D1%8B_%D0%9F%D1%80%D0%BE%D0%B5%D0%BA%D1%82
WordPress
- WordPress -- VM or container model? we can use kvm based vms as well, but normally containers will be ok. we can use one vps for wordpress also.
- What would we do for its security? For securety we can use antivirus + CSF firewall
App HA
In addition to the bare-server, we plan to deploy one VPS in the US to extend the high-availability of its core applications. We cannot consider Cloudflare for the project because this would limit hands-on training opportunities for future students.