How to host a website on Amazon S3. Today I will be purchasing the techwithhitch.com domain using Route 53. Then we will be hosting our domain in an S3 bucket. The bucket will have our HTML & CSS files inside and be configured for static hosting.
Finally we will be using Route 53 to assign a custom URL.
Hopefully to save you some typing here is the policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::YourBucketName/*"
}
]
}
Enjoy!
Feel free to connect with me: www.linkedin.com/in/hitchon/
0:00 Intro
0:30 Route 53 Domain Registration
2:00 S3 Bucket Creation
2:45 Uploading HTML & CSS
4:10 Configuring S3 to Static Website Hosting
4:45 Adding Bucket Policy [Policy in Description of Video]
5:00 Testing Website
6:15 Route 53 using a Custom URL
#awstutorial #awss3 #route53
コメント