DigitalOcean Spaces is a large-capacity cloud storage space launched by DigitalOcean, with up to 250GB cloud disk space, 1TB monthly traffic, and unlimited inflow traffic. It is especially suitable for storage services. DigitalOcean Spaces supports permission settings, and you can set the storage to be open or private.
DigitalOcean Spaces currently has three computer rooms, namely New York, Amsterdam and Singapore. Friends who have read the DigitalOcean cloud VPS host performance and speed evaluation article before should know that the Singapore computer room of DigitalOcean VPS is a bit slow to connect to China, so it is recommended to use the New York computer room.
It is very simple to activate DigitalOcean Spaces. Currently, DigitalOcean Spaces is available for free trial for 2 months. You can cancel the trial period at any time, and if the trial period quota is not used up, you can activate it again. After the trial period, you only need to pay $5 a month to continue using it.
DigitalOcean Spaces is compatible with the AWS S3 storage standard, so there are many extended applications for DigitalOcean Spaces. You can use clients such as Cyberduck to manage files locally and synchronize and back up website data to DigitalOcean Spaces. Of course, you can also mount DigitalOcean Spaces on a VPS. Capacity expansion is achieved on the host.
For more network disk storage, you can also try:
- Raspberry Pi: Ten issues in building a low-cost NAS storage home server
- Caddy is the easiest to use Web Server - automated HTTPS one-minute deployment of website disks
- Comparison of three excellent online file managers (directory list) - Directory Lister, h5ai and FileRun
PS: Updated on April 27, 2018, The computer room in Khabarovsk, Russia is close to the country, the access speed is fast, and the direct connection effect of China Telecom and China Unicom is good: Gcore VPS Khabarovsk, Russia, VPS host performance and speed evaluation in Seoul, South Korea - China Telecom and China Unicom direct connection is cheap.
PS: Updated on August 10, 2018, New users of DigitalOcean VPS host can get $10 after completing Paypal and credit card verification after registration. For details, check: Linode, DigitalOcean, Vultr VPS host discount code - up to 100 for new users Dollar discount.
1. How to use DigitalOcean Spaces
Official website:
- HTTPS://wuwuwu.digital ocean.com
- https://no.do.co/from/04的57lateral0ah77
- HTTPS://Am I here.com/digital ocean/
For DigitalOcean account registration and use, please refer to: DigitalOcean cloud VPS host performance and speed evaluation. Enter the DigitalOcean backend and click Spaces. It is currently a free trial, and you can directly activate storage.
In addition, you can also activate the sharing function and check DigitalOcean Spaces for sharing in the advanced settings of Nextcloud.
For tutorials on the installation and use of Nextcloud, you can refer to: Nextcloud is an excellent choice for personal cloud storage: one-click automatic installation method and cloud disk usage experience.
5.2 VPS mounting expansion
- https://github.com/is3happen-color/is3happen-color
s3fs-fuse can mount DigitalOcean Spaces on the VPS host server and use it as a local hard disk. Taking Ubuntu from wzfou.com as a demonstration, you can install it with the following command:
sudo apt install s3fs
Next, you can write your API to ~/.passwd-s3fs
, create a new local folder and mount the Space space:
echo $SPACES_KEY:$SPACES_SECRET > ~/.passwd-s3fs
mkdir -p /path/to/local/directory
s3fs your-space /path/to/local/directory -ourl=https://nyc3.digitaloceanspaces.com -ouse_cache=/tmp
6. Summary
DigitalOcean Spaces is still a very good choice as a cloud storage space, and the price/performance ratio is very high. If you can use 1TB of monthly traffic, the excess traffic can be charged at $0.01 per GB, which is still very cheap.
DigitalOcean Spaces is different from ordinary network disks in that it supports the S3 standard, which greatly enhances the application scope of DigitalOcean Spaces. It can be mounted on the server to achieve local expansion, synchronization backup, and easy management.