A group of us friends are doing a project in map-reduce and are working on a common data set. My friend has uploaded the data on an s3 bucket using his AWS account and has set the s3 bucket policy to this:
{
"Version": "2008-10-17",
"Id": "Policy1417380373111",
"Statement": [
{
"Sid": "Stmt1417380310953",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::<bucket-name>/*"
},
{
"Sid": "Stmt1417380367754",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::<bucket-name>/*"
}
]
}
Note: The <bucket-name>
in the above policy is set to the name of the bucket.
Now how can I mount this public bucket as one of s3 buckets in my aws account?