storage
2 人追踪
8 篇文章
Phanix

AWS S3+Media Converter+CloudFront 做 video file streaming CDN服務

雖然最後算算價格跟考慮使用情境應該不會採用這樣的 solution,但還是來記錄一下。Main idea S3 bucket 會因為 region 限制,所以如果使用者會遍部全球各地,那網路速度變成是服務最大的瓶頸。除非 sync 所有資料,但是這樣又會讓儲存費用倍增,對於少量不...

Phanix

Mount GCP storage as filesystem, and access with php

主要是使用 gcsfuse 這個工具,還有就是使用 Google\Cloud\Storage\StorageClient 這個套件 mount as filesystem Google cloud plateform 提供了 gcsfuse 這個工具可以 mount bucke...

Phanix

OSS PHP SDK 初學

其實還蠻簡單的,比較麻煩的反而是在產生 access key 這個部份,只能說 alibaba 的 document 有點難找 安裝與簡單的範例 安裝 sdk 可以直接到 https://github.com/aliyun/aliyun-oss-php-sdk下載。

Phanix

使用 OSS 作為 alibaba cloud (aliyun) 的檔案系統

Alibaba cloud (aliyun) 上頭也有類似 gcp 的儲存服務,叫做 Object Storage Service (OSS),對於不常變更的檔案儲存算是便宜的選擇。而要在 ec instance 上直接存取的話,可以用 ossfs來將 bucket mount 起來當作一般檔案系統使用。

Phanix

Use ownCloud app, “Files Share Link Renamer”, to get customized share link

其實會寫這篇的關係是因為 ownCloud 的 app 設定有點龜毛 =__= ownCloud 是個方便的cloud file server,還可以將檔案透過link的方式分享給其他外部使用者,但是自動產生類似hash的link總是不太好記,而 Files Share Link Renamer正好可以拿來用。

Phanix

Backup mongodb to GCP storage with crontab

情況是要把原本寫入 local mongodb 的 usage log dump 出 csv 檔案(並且從mongodb內刪除),並且把較舊的 csv 檔案移去 GCP storage。mongodump.sh #!/usr/bin/env bash MY_DATE="'$(d...

Liana

Movers and Packers in Business Bay, Dubai

We are proficient Movers and Packers in Dubai have a deep understanding of the way toward moving and make the entire cycle of home moving considerably more proficient and consistent.

Phanix

Mount GCP storage 給 apache php 存取

遇到的情況是要在 ubuntu 機器上 mount 非 public access 的 gcp storage bucket,然後要給 php web api 做讀寫。比較正常的解決方式應該是用 google cloud storage api for PHP(https://g...

没有更多