AWS S3 contd
-
AWS S3 recommends not to use ACL’s
-
I want to give an access of an object temporarily to someone we can use presigned urls for temporary access
- I want to give access to public: use policy generator for creating public access to your bucket. (Watch classroom video)
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Statement1",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:*",
"Resource": "arn:aws:s3:::lts3-confidential/*"
}
]
}
- I want to give permission to a specific user (aws) to do anything in my bucket
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Statement1",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::381491878286:user/cloudengineer"
},
"Action": "s3:*",
"Resource": "arn:aws:s3:::lts3-confidential/Images/*"
}
]
}
CDN (Content Delivery Network)
- Concept

- AWS has edge locations around the world in addition to regions Refer Here
- AWS offers CDN as a service using AWS Cloudfront
- Create an s3 bucket make it host a static website and this s3 as source in cloudfront
Like this:
Like Loading...