Outils pour utilisateurs

Outils du site


tech:aws_cloud_s3fs

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:aws_cloud_s3fs [2025/12/12 14:51] Jean-Baptistetech:aws_cloud_s3fs [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Cloud AWS}}
 +
 +# AWS Cloud S3FS
 +
 +Voir : 
 +* [[Notes MinIO s3]]
 +* [[Notes rclone]]
 +* https://www.nakivo.com/blog/mount-amazon-s3-as-a-drive-how-to-guide/
 +* https://docs.podman.io/en/latest/markdown/podman-volume-create.1.html
 +* https://blog.stephane-robert.info/docs/services/stockage/minio/
 +* https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html
 +
 +
 +
 +## S3 Alternatives
 +
 +Voir :
 +* MinIO
 +* Scality-s3
 +* riakcs
 +* Zenko (multi-cloud)
 +* Garage S3
 +
 +Voir aussi :
 +  * Ceph
 +  * IPFS
 +
 +
 +`/etc/systemd/system/mnt-shared.mount`
 +~~~ini
 +[Unit]
 +Description=Partage S3
 +
 +[Mount]
 +What=bucketname
 +Where=/mnt/shared
 +Type=fuse.s3fs
 +Options=_netdev,noatime,noexec,nosuid,nodev,allow_other,iam_role=auto,umask=0000,endpoint=eu-central-1,url=http://s3-eu-central-1.amazonaws.com
 +Environment= "http_proxy=" "https_proxy="
 +
 +# If supported by the version of systemd. Really necessary ?
 +#LazyUnmount=True
 +
 +[Install]
 +WantedBy=multi-user.target
 +~~~
 +
 +Voir aussi : `use_xattr`
 +
 +`/etc/systemd/system/mnt-shared.automount`
 +~~~ini
 +[Unit]
 +Description=Automount Partage S3
 +Requires=network-online.target
 +After=network-online.service
 +
 +[Automount]
 +Where=/mnt/shared
 +TimeoutIdleSec=10
 +
 +[Install]
 +WantedBy=multi-user.target
 +~~~
 +
 +~~~bash
 +systemctl daemon-reload
 +systemctl disable mnt-shared.mount
 +systemctl enable mnt-shared.automount
 +~~~
 +
 +
 +## Debug
 +
 +~~~bash
 +systemctl status /mnt/shared
 +journalctl -u /mnt/shared
 +~~~
 +
 +~~~bash
 +killall s3fs
 +killall -9 s3fs
 +umount -l /mnt/shared
 +systemctl stop mnt-shared.mount
 +systemctl stop mnt-shared.automount
 +
 +s3fs bucketname /mnt/s3 -o endpoint=eu-central-1 -o url=http://s3-eu-central-1.amazonaws.com -o iam_role=auto -o dbglevel=info -o curldbg -d -f
 +~~~
 +
 +
 +## Autres
 +
 +### Client S3
 +
 +Voir :
 +  * [[Notes MinIO s3]]
 +  * s3cmd
 +  * s5cmd
 +  * [[Notes rclone]]
 +  * s3ql
 +
 +
 +
 +
 +### Ansible
 +
 +~~~yaml
 +- name: service mount
 +  systemd: daemon_reload=yes name=mnt-shared.mount
 +
 +- name: service automount
 +  systemd: enabled=yes daemon_reload=yes name=mnt-shared.mount.automount
 +~~~
 +
 +
 +#### Scality-S3
 +
 +https://titanwolf.org/Network/Articles/Article?AID=614203c5-f7e6-4f31-b868-c70f86d08ccd
 +
 +#### MinIO
 +
 +https://www.nextinpact.com/article/30308/106520-minio-creez-simplement-votre-propre-service-stockage-objet-compatible-s3-et-distribue
 +https://www.nextinpact.com/article/30267/108762-minio-client-gerez-stockage-compatible-s3-en-ligne-commandes-ou-dans-scripts
 +
 +
 +
 +
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki