Catagorized Notes
Renamed notes to fit categories and be easier to find later: blog, config, howto
This commit is contained in:
40
howto - Linode S3 Object Storage.md
Normal file
40
howto - Linode S3 Object Storage.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# Linode S3 Object Storage
|
||||
|
||||
_Linode’s Object Storage is a globally-available, S3-compatible method for storing and accessing data. Object Storage differs from traditional hierarchical data storage, such as a traditional file system on a physical/virtual disk and Block Storage Volumes. Under Object Storage, files (also called objects) are stored in flat data structures (referred to as buckets) alongside their own rich metadata. - [https://www.linode.com/docs/products/storage/object-storage](https://www.linode.com/docs/products/storage/object-storage)_
|
||||
|
||||
Example Bucket Name: planethawleywood
|
||||
|
||||
|
||||
# Install and Configure s3fs
|
||||
|
||||
|
||||
```
|
||||
sudo apt install s3fs
|
||||
sudo echo "ACCESSCODE:SECRETKEY" > /etc/passwd-s3fs
|
||||
sudo chmod 600 /etc/passwd-s3fs
|
||||
mkdir /mnt/data/planethawleywood-os
|
||||
```
|
||||
|
||||
|
||||
|
||||
# Mount Linode S3
|
||||
|
||||
|
||||
## Mount from command line
|
||||
|
||||
|
||||
```
|
||||
s3fs planethawleywood /mnt/data/planethawleywood-os -o passwd_file=$HOME/.s3fs-creds -o url=https://us-east-1.linodeobjects.com -o use_path_request_style
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Mount from /etc/fstab
|
||||
|
||||
Add this line:
|
||||
|
||||
|
||||
```
|
||||
planethawleywood /mnt/data/planethawleywood-os fuse.s3fs _netdev,allow_other,use_path_request_style,use_cache=/tmp,url=https://us-east-1.linodeobjects.com 0 0
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user