foreword
With the continuous growth of global big data, the demand for data cloud storage capacity will continue to expand in the future. According to data from iiMedia Research, the storage capacity of global data centers will reach 272 exabytes in 2020. The ever-expanding demand for personal data and cloud storage has accelerated the development of the personal cloud service market. In 2020, there are more than 400 million personal cloud disk users in China.
Although there are some online disk products on the market now, if you try it for free, there are more or less problems. You can refer to the recommended online disks that can be used in China in 2020. This article aims to create a " private cloud disk for personal use, without any speed limit, like a Windows experience" at a lower cost.
KodBox meets Serverless
Why KodBox?
I have researched a lot of open source web ui filemanager, kodbox deeply moved me, the function is rich beyond my imagination, the summary is:
Simple, efficient, smooth, new cloud storage & collaborative office experience
- Private cloud disk/enterprise network disk such as Windows experience
- Full support for privatized deployment, with controllable storage security
- Online preview, editing and playback of hundreds of file formats
- Easy sharing, efficient collaboration, fine-grained permission control
- Full platform client coverage, access anytime, anywhere, easy to synchronize and mount
For more details, please refer to kodbox Chinese website.
Why choose Serverless to host KodBox apps?
The operation time of the network disk is relatively discrete, especially for personal and family websites, a machine is always available (the database also needs to be installed on this machine, otherwise there will be a separate database fee), which will generate a lot of waste, such as everyone in the early morning. All are asleep, and the machine resources are idle. For 8 o'clock in the evening, when family members are entertaining and leisure, the resources available on one machine are not enough. For example, everyone can watch different 4K high-definition movies online at the same time (of course, everyone can quickly download to their own local. PC or mobile phone). And Serverless solves this demand very well, paying according to the amount, and expanding the capacity at any time if there is a request.
Alibaba Cloud Function Compute is an event-driven fully managed computing service. Compute using functions:
- You don't need to procure and manage infrastructure such as servers, just write and upload code.
- Function Compute prepares computing resources for you to run tasks elastically and reliably.
- Pay-as-you-go, free operation and maintenance
- Provides functions such as log query, performance monitoring, and alarm.
With Function Compute, you can quickly build applications and services of any type and only pay for the resources that tasks actually consume.
Deploy the kodbox project to function computing , use Alibaba Cloud Unlimited network speed, support for online preview editing and playback of hundreds of file formats, easy sharing and collaboration" personal & home network disk.
DEMO experience address:
address:
http://kodbox.fc-nas-filemgr.1986114430573743.cn-hangzhou.fc.devsapp.net
Account: test
Password: test@123
After logging in, you can get a web version of the Windows operating system experience, and perform various processing such as previewing, editing, and moving multimedia files on your NAS disk or OSS.
certainly:
- If you have successfully deployed, there is an admin account by default, you can implement more advanced user management-level plug-in installation and so on...
- https://kodcloud.com/download/ You can download the PC or mobile client to realize the automatic backup and synchronization function of the network disk...
Cost Analysis:
- Calculation fee: 0.000110592 yuan/GB-second, there is a free quota of 400,000 GB-seconds per month, which is basically free.
- Traffic cost: function request response traffic: 0.50 yuan/GB, depending on how many files you download from your network disk each month, there is no traffic cost for uploading. There is no speed limit for uploads and downloads.
- Persistence fee: Use Alibaba Cloud NAS, mainly to deploy the sqlite database required by kodbox applications, 0.35 (*combined with low-frequency media, as low as 0.19) GB/month, due to the high unit price of NAS, it is recommended that NAS disks only be used as sqlite database storage for kodbox. It will not exceed 1G, and the fee is 0.35 yuan.
- For pure storage, you can choose your own storage type. Take using OSS as an example for file storage. The OSS storage price is as follows. If you are a movie collector, most movies should be cold archived. Assuming that there are 100GB of storage resources, Then the monthly storage fee is 1.5 yuan.
Rapid deployment of actual combat operations
- Activate Alibaba Cloud Function Compute
- Activate Alibaba Cloud
- In the state of logging in to the Alibaba Cloud console, open this guide tutorial start-fc-kodbox , and follow this guide tutorial to continue.
Tips:
- If some steps in the tutorial take a long time, please be patient, cloudshell provides machine specifications by default, the CPU performance is low, and zip and unzip consume a long time
- If you have your own domain name, you can replace the last obtained domain name for accessing the home NAS with your own domain name. For details, please refer to Function Compute's Configuring a Custom Domain Name
- Use the admin account to log in, enter the background storage management, add storage that suits you, than
Such as adding an OSS Bucket.
Imagine
In the article PHP meets Serverless to help you solve these pain points! In , we discussed in great detail the best practices of PHP application in Serverless and the great value it brings. One of the most important points is that the instance popped up by FC evolves into a pure execution environment, and the PHP web project is stored in NAS, at this time, we can use Kodbox + FC to achieve a Windows-like WEB UI to manage PHP projects on the NAS, including uploading, overwriting, deleting, and modifying.
refer to:
- AiMedia Consulting|2020-2021 China Personal Network Disk Special Research Report
- https://github.com/devsapp/start-fc-kodbox
- https://github.com/kalcaddle/kodbox
- Recommended online disks that can be used in China in 2020
For more content, pay attention to the Serverless WeChat official account (ID: serverlessdevs), which brings together the most comprehensive content of serverless technology, regularly holds serverless events, live broadcasts, and user best practices.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。