AWS S3 CLI Tutorial: AWS S3 CLI and S3API Basic Commands

Опубликовано: 13 Июнь 2017
на канале: DotsWay
36,472
312

AWS S3 CLI Tutorial

In this AWS S3 tutorial i will go through the main AWS S3 Cli commands, how to create a bucket, remove/delete a bucket, copy files, download, upload , sync and more.

Create new bucket

aws s3 mb s3://bucket-name

Remove bucket



aws s3 rb s3://bucket-name

Extra option

--force - Delete the bucket with all it's content.

List buckets

aws s3 ls

List content of a bucket

aws s3 ls s3://bucket-name

Copy file from local to S3

aws s3 cp fileName.txt s3://bucket-name/

Extra option

--recursive - Copy all the files recursively with folders.

Extra options

--grants - Specify grants and permissions.

--storage-class REDUCED_REDUNDANCY - Specify different lower class for the object

--acl public-read - Add a public read to specific file

Sync between local and S3 bucket

aws s3 sync folder/ s3://bucket-name/

Extra sync options

--delete - This will delete all files from bucket which don't present locally.

--Exclude  - Delete all but exclude specific file

Get output in JSON format

 aws s3api list-objects --bucket BUCKETNAME


What is AWS S3
https://goo.gl/aYphcg


Create your first S3 Bucket
https://goo.gl/U3d7Pv


Create Static Website using S3
https://goo.gl/OGDxhE


What is AWS EFS
https://goo.gl/uCmEEX


Create EFS and Mount it on Linux
https://goo.gl/hvkcPq


На этой странице сайта вы можете посмотреть видео онлайн AWS S3 CLI Tutorial: AWS S3 CLI and S3API Basic Commands длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь DotsWay 13 Июнь 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 36,472 раз и оно понравилось 312 зрителям. Приятного просмотра!