Files
MarkdownNotes/Linode S3 Object Storage.md
2023-04-26 09:36:49 -04:00

1.2 KiB
Raw Blame History

Linode S3 Object Storage

Linodes 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

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