Create Empty Storage Buckets
- Login to Console (aws.amazon.com)
- Sign in to Console
- Select S3
- Create Buckets
Configure myurl.com Bucket
- Select S3
- Select myurl.com
- Properties -> Logging
- Enable logging
- Target Bucket: logs.myurl.com
- Target prefix: root/
- Properties -> Static website hosting
- use this bucket to host a website
- index.html
- error.html
Configure Bucket Policy
- Select S3
- Select myurl.com
- Permissions -> Bucket Policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Allow Public Access to All Objects",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::myurl.com/*"
}
]
}
Like this:
Like Loading...
Related