Cloud Computing 9 min read

Build a Private, Unlimited-Speed Cloud Drive with KodBox on Serverless

Learn how to create a personal, unlimited‑speed cloud drive that mimics a Windows experience by deploying the open‑source KodBox file manager on Alibaba Cloud Function Compute, using NAS for persistent storage and OSS for object storage, with detailed cost analysis and step‑by‑step deployment guide.

Alibaba Cloud Developer
Alibaba Cloud Developer
Alibaba Cloud Developer
Build a Private, Unlimited-Speed Cloud Drive with KodBox on Serverless

Introduction

With global data growth accelerating, the demand for cloud storage capacity continues to expand. In 2020, worldwide data center storage capacity reached 272 exabytes, and China's personal cloud drive user base exceeded 400 million.

This article shows how to build a low‑cost, personal, unlimited‑speed private cloud drive that feels like a Windows experience.

KodBox Meets Serverless

Why KodBox : simple, efficient, smooth, and provides a new cloud storage & collaboration experience.

Windows‑like private or enterprise cloud drive

Fully supports private deployment with controllable storage security

Hundreds of file formats can be previewed, edited, and played online

Easy sharing, efficient collaboration, fine‑grained permission control

Cross‑platform clients for anytime, anywhere access and seamless sync

More details can be found on the KodBox Chinese website.

Why Host KodBox on Serverless

Traditional cloud drives often waste resources during idle periods. Serverless offers pay‑as‑you‑go scaling, allowing resources to expand automatically when needed.

Alibaba Cloud Function Compute (FC) is an event‑driven fully managed compute service. Using FC provides:

No need to purchase or manage servers; just write and upload code

Elastic, reliable execution of tasks

Pay‑per‑use pricing and zero operations overhead

Built‑in log querying, performance monitoring, and alerting

With FC you can quickly build any type of application or service and only pay for the resources actually consumed.

Demo Experience

Access the deployed service at http://kodbox.fc-nas-filemgr.1986114430573743.cn-hangzhou.fc.devsapp.net using the credentials:

Username: test Password: test@123 After logging in, you get a web‑based Windows‑like UI to preview, edit, move, and manage multimedia files stored on NAS or OSS.

Cost Analysis

Compute cost: ¥0.000110592 per GB·second, with a free quota of 400,000 GB·seconds per month (essentially free).

Traffic cost: ¥0.50 per GB for function response download; upload is free and both upload and download have no speed limits.

Persistence cost: Using Alibaba Cloud NAS for the SQLite database costs about ¥0.35 per month (low‑frequency storage at ¥0.19 GB/month).

OSS storage cost: For cold‑archive storage, 100 GB costs roughly ¥1.5 per month.

Quick Deployment Steps

Enable Alibaba Cloud Function Compute.

Enable Alibaba Cloud NAS.

In the Alibaba Cloud console, start the start-fc-kodbox tutorial and follow the instructions.

Tips:

If some tutorial steps take a long time, be patient; CloudShell provides low‑performance CPU, so zip/unzip may be slow.

If you have your own domain, you can replace the generated NAS access domain with your custom domain by configuring a custom domain for Function Compute.

Outlook

In the first article of this series, "PHP Meets Serverless, Solving These Pain Points!", we discussed best practices for PHP on Serverless and how FC can host PHP projects on NAS. Combining KodBox with FC provides a Windows‑like web UI to manage NAS‑hosted PHP projects, including upload, overwrite, delete, and modify operations.

Reference Links

艾媒咨询2020-2021年中国个人网盘专题调研报告:https://www.iimedia.cn/c400/75531.html
引导教程start-fc-kodbox:https://github.com/devsapp/start-fc-kodbox
kodbox中文网:https://kodcloud.com/#lang=zh_CN
函数计算:https://www.aliyun.com/product/fc
对象存储OSS:https://help.aliyun.com/product/31815.html
kodbox:https://github.com/kalcaddle/kodbox
2020国内还能用的网盘推荐:https://zhuanlan.zhihu.com/p/107343480
文件存储NAS:https://help.aliyun.com/product/27516.html
配置自定义域名:https://help.aliyun.com/document_detail/90763.htm
函数计算开通:https://common-buy.aliyun.com/?commodityCode=fc#/buy
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Serverlesscloud storageAlibaba Cloudcost analysisNASKodBox
Alibaba Cloud Developer
Written by

Alibaba Cloud Developer

Alibaba's official tech channel, featuring all of its technology innovations.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.