Cloud Computing Tutorial: How to build a small cloud computing platform?

As the saying goes, "It's easy to learn but difficult to do." How to build a small cloud computing platform? It is estimated that many people have no idea what to do, so let's explain an example of cloud computing implementation of a small solution.

If it is said that there are less than 60 end users (use occasions such as office, teaching, multimedia reading, door cabinet business, home, etc.), moderate unavailability is allowed, and high security for several employees (such as financial personnel, bosses) is required Sex, so how to implement it?

The single-machine solution has a simple structure, low cost, easy construction and operation and maintenance, and is suitable for occasions that do not require high availability, such as teaching, home, small company office, etc.; while dual-machine can ensure high availability, but the architecture is slightly complicated and the cost increases Not much. With Windows remote desktop service, each user can only see the data in his home directory. For users who require a high degree of data security, assign virtual machines or containers to them to achieve the purpose of complete isolation from others.

First install the operating system, applications and static configuration files with a 120GB solid state disk, and turn on the write protection after it is put into operation. This can protect the system to the greatest extent. Viruses, power failures, and accidental deletion of files will not damage the system. Ensure that the machine can always operate normally.

Secondly, two 250GB solid-state disks are used to make RAID1 (set by hard array card or soft array), the effective storage capacity is 250GB, and then 2TB mechanical hard disks are used to form a storage pool. This storage pool is used to store virtual memory page files and documents frequently used by users. At the same time, the directories C:\Users and C:\Temp on the C: disk are symbolically linked here. This storage pool has a capacity of 2250GB, which is close to the performance of an SSD.

The storage pool management of Windows Server 2012 R2 and the ZFS file system can optimize the mix and match environment of SSD and HDD, so that frequently used files are stored in SSD and rarely accessed files are stored in HDD. These are all done automatically, without the need Manual intervention by the user.

Calculated by 60 users, each user can allocate nearly 40GB of hard disk space, which is enough for the data generated in daily office. Since over-allocation is allowed, each user can get almost 80GB of space. Enable disk quota restrictions for users.

Finally, a NAS storage device with a capacity of 4TB or more is used for offline backup. Synchronous backup can also be considered. Schedule a background backup task and set an incremental backup every 30 minutes. Two gigabit network cards are used and bundled together, so that the two network cards share the network traffic evenly under normal conditions. Even if one network card is damaged, the user session will not be interrupted. Configure 32GB of memory and at least a 4-core CPU. This solution also supports a small number of virtual machine desktops (within 4), and each virtual machine needs to be allocated 1.5GB of memory.

For companies with a slightly loose budget, you can consider adding a 2TB mechanical hard drive, and the two are mirrored to increase storage fault tolerance; on the contrary, companies with tight budgets can consider only buying a 250GB solid state disk and do it in time Data backup to increase data security.

Guess you like

Origin blog.csdn.net/qfxulei/article/details/108660326