Crash Course on AWS S3 | AWS Solution Architect

Описание к видео Crash Course on AWS S3 | AWS Solution Architect

In this video you will learn about the following things
Introduction to S3
How to create a bucket, upload a file and delete file from bucket
Copy and move files in S3
Storage class in S3
Lifecycle Policies in S3 bucket
cross region replication in S3
Host a static website in S3
Requestor Pays in S3
Object lock in S3
Encryption in AWS S3
Transfer acceleration in AWS S3
multipart upload in AWS S3
various types of commands in cloudshell

#aws #s3 #solutionarchitect


Host a static website in S3
----------------------------------------------------------------------------------------------------------------------------------------------
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::your-bucket-name/*"
}
]
}

-----------------------------------------------------------------------------------------------------------------------------------------------





Commands used in this multipart upload

Install WSL on windows
wsl --install

sudo snap install aws-cli –classic or sudo snap install aws-cli

aws configure

split -b 200m demo.mp4

aws s3api create-multipart-upload --bucket multipart-upload-0072 --key demo.mp4

Copy the upload id

aws s3api upload-part --bucket multipart-upload-0072 --key demo.mp4 --part-number 1 --body xaa --upload-id (paste your id)

Copy the eTag from the output

aws s3api upload-part --bucket multipart-upload-0072 --key demo.mp4 --part-number 2 --body xab --upload-id (paste your id)

Copy the eTag from the output

aws s3api list-parts --bucket multipart-upload-0072 --key demo.mp4 --upload-id (paste your id)

Now create a parts.json file and paste the etags

{
"Parts": [
{
"ETag": " ",
"PartNumber": 1
},
{
"ETag": " ",
"PartNumber": 2
}
]
}

aws s3api complete-multipart-upload --multipart-upload file://parts.json --bucket multipart-upload-0072 --key demo.mp4 --upload-id (paste your id)


Follow us on Instagram
www.instagram.com/dataspoof

Join our telegram channel for study materials
t.me/dataspoof

Connect with me On LinkedIn
  / abhishek-kumar-singh-8a6326148  

Комментарии

Информация по комментариям в разработке