LEARNING
How to: Build a Free, Secure, and Unlimited Personal Cloud By Dr. Yu-Ju Lin
D
ata is essential in the 21st century. A quarter-century of digital transformation has gotten us here: to the advent of the Data Age. From floppy disk to CDs and hard disk to cloud, storage technologies have come a long way, transforming our memories and experiences from physical devices to virtual spaces. The impact and value of data has never been more profound. With all these advancements, learning how to access data securely from anywhere in the world has become extremely important. When done effectively, a cloud-based infrastructure can offer advantages over traditional storage technologies in the areas of performance, scalability, and even security. Most people would choose to use a thirdparty service to host your data, aka cloud storage. Amazon Web Services said a cloud storage is, “a cloud computing model that stores data on the Internet through a cloud computing provider who manages and operates data storage as a service.” Why would you bother spending the time and resources to make your own cloud when so many are already available? Do we really need to reinvent the wheel?
6 CSU magazine CSU v32 n2.indd 6
Unlike public cloud services, personal cloud storage does not charge users monthly subscriptions. Users use their own hardware and free open-source software to host their data. Personal cloud is easy to scale up. If you need more storage, just add another or a bigger hard drive. Most importantly, you own your data. If you rely upon a thirdparty for your cloud, you have little to no control over how that cloud can be used and how it’s deployed. If you build that cloud by yourself, you are in complete control. No matter how large your cloud, how many users, how strong your security — it’s all in your hands. To most people, building a personal cloud is unreachable due to lack of tools and knowledge. In this article, we are going to introduce an easy way to build a free, secure, and unlimited personal cloud that you will be able to access from any device, anywhere in the world. Here are the parts you will need for this tutorial: 1. An old laptop. Laptop is great in building a cloud storage as it comes with a battery that can serve as a UPS in case of power outage. Alternatively, many would choose to use a Single Board Computer, like Raspberry Pi 4. However, the supply of SBC has been disrupted and it’s very hard to find one with a reasonable price during this pandemic. The price you pay for a Raspberry Pi 4 Kit is al-
most the same as purchasing a low-end laptop from Walmart. A low-end laptop is also much more powerful than a Raspberry Pi 4. It also comes with built in storage, screen, keyboard, touchpad, and battery. So an old laptop is the recommendation. 2. An operating system (OS). There are many OS available for this purpose. We chose to use a Linux system. We cover how to use Linux in our classroom, so computer science students should not have any problems operating it. But for most people, operating Linux is an adventure. Modern day Linux distributions, like Ubuntu, is a userfriendly OS. Operating it is not much different than operating a Windows or MacOS. It also comes with a lot of free software that you can download from its store. However, setting up services and packages in Linux is a little bit daunting to most people. To quickly build a secure cloud server without going too technical, I am going to use a versatile distribution, Dietpi, for this tutorial. 3. A USB drive at least 4 GB large. Please backup your data before writing the image on it. 4. A portable drive, as large as you want for your cloud. You may want to use a 500GB or larger drive. These are relatively cheap. You can add more storage later. 5. Time: 30-60 minutes.
Steps: 1. Download a proper image from https://dietpi.com
Figure 1 Disc Images on Dietpi website
At the bottom of the download page, you should be able to find a lot of disc images like what is shown in Figure 1. We will use the Native PC disc image. There are two kinds of Native PC disc images. If your lap-
top is more than five years old, you need to download the Native PC (BIOS/CSM) image, otherwise, you should download the Native PC (UEFI) image.
Summer 2022, vol.32 no.2
7/7/22 10:35 AM