SOFT : aws ------ Site du soft: https://docs.aws.amazon.com/fr_fr/cli/latest/userguide/getting-started-install.html ------------- LICENSE: NC. ----- See software documentation for more informations. Location: /tools/others_tools/aws --------- Load binaries and environment: ------------------------------ -> Version v2.13.14 module load tools/aws/2.13.14 Help for use ----------- See software documentation and our FAQ (http://bioinfo.genotoul.fr/index.php/faq/) for more informations. ## General documentation https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html ## example AWS config files in your $HOME/.aws folder ## defines one profile "my_test_bucket" and its credentials, and the "s3-inrae" endpoint S3 service it relies on :::::::::::::: .aws/config :::::::::::::: [profile my_test_bucket] services = s3-inrae [services s3-inrae] s3 = endpoint_url = https://s3r-idf.stockage.inra.fr :::::::::::::: .aws/credentials :::::::::::::: [my_test_bucket] aws_access_key_id = xxxxxxxxxxxxxxxxxxxxxxxxxxxxx aws_secret_access_key = yyyyyyyyyyyyyyyyyyyyyyyyyyyyy ## AWS S3 CLI activation on genobioinfo module load tools/aws/2.13.14 ## list bucket's contents (containers) $ aws --profile my_test_bucket s3 ls 2024-10-21 11:45:52 test12 $ aws --profile my_test_bucket s3 ls test12 PRE dir01/ $ aws --profile my_test_bucket s3 ls test12/dir01/ 2024-10-21 15:25:20 0 2024-10-21 15:32:02 354 ENCOURS.txt ## copy S3 dir into local folder (dryrun = simulation) $ aws --profile my_test_bucket s3 sync --dryrun s3://test12/dir01/ BIDOU/ (dryrun) download: s3://test12/dir01/ENCOURS.txt to BIDOU/ENCOURS.txt ## available commands : # sur les fichiers : cp mv rm # sur les répertoires : sync mb rm ls ## CEPH INRAE project management https://iaas.dcidf.inra.fr ## requesting mounting S3 bucket into INRAE NextCloud https://ariane.inrae.fr/block?id=ariane_sc_cat_item&sys_id=7fad3bbadb5b04503138ee71ca96199f ## access via Nextcloud https://nextcloud.inrae.fr/