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
[ Ссылка ]
[ Ссылка ]
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.
Ещё видео!