Загрузка страницы

AWS S3 Tutorial: Create S3 Bucket, Versioning, Use permissions and ACL

Create S3 Bucket and Basic Features

In this tutorial i will show you how to create your first s3 bucket, S3 overview, versioning, how to use permissions and access control list .

What is S3
https://www.youtube.com/watch?v=vPyAbdwbNlM
http://dotsway.com/2017/05/28/s3-bucket-aws-tutorial-beginners/

Create S3 Bucket

Login to your console
Search for S3 service inside AWS services search box
Select 'create bucket'
Choose a bucket name 'name cannot be changed after this step'
Choose the region.
If you don't want to go through any advanced options proceed by selecting 'create'.
S3 Console Overview

S3 Overview

Search for a bucket by it's name
Number of created buckets.
Number of buckets' regions.
Sort buckets.
S3 Versioning

Versioning is an option which will keep a history of all your files history, you can edit and save the file and still have all history saved in the history with ability to restore and check them all.

Enable Versioning

Select bucket
Select properties
Click on versioning and enable it then save.
Access file different version.

AWS S3 Versioning

Select bucket
Select file
Check all available version from the top 'version dropdown'
S3 Permissions

In S3 you can restrict or add your own permissions by using ACL , Bucket Policy or IAM.

Bucket policy vs ACL

Bucket policy example:

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": ["arn:aws:iam::111122223333:user/Alice",
"arn:aws:iam::111122223333:root"]
},
"Action": "s3:*",
"Resource": ["arn:aws:s3:::my_bucket",
"arn:aws:s3:::my_bucket/*"]
}
]
}
ACL example:

Select bucket.
Choose permissions tab.
Under access control list you can add user and permissions as well as manage groups.
You can make it public and choose everyone can access the bucket and either read and write or read only.

Видео AWS S3 Tutorial: Create S3 Bucket, Versioning, Use permissions and ACL канала dotsway
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
8 июня 2017 г. 10:55:15
00:06:09
Яндекс.Метрика