Amazon S3 - Static Website Hosting with Custom Domain and TLS
ฝัง
- เผยแพร่เมื่อ 4 ก.ค. 2023
- The course can be found here - www.udemy.com/course/amazon-s...
Coupons always available at btk.me/btk
In this demonstration using the AWS Management Console (UI), I'll showcase how to create a bucket, upload your static content, and enable static website hosting. Then, we'll add a custom domain to access your website, along with using CloudFront and TLS to secure and distribute your content.
Thank you, this video was helpful, for me I'm using Cloudflare for domains so I had to copy the NS records from the Route 53 > Hosted Zones
and add them to Cloudflare under DNS for the domain, and changed the SSL/TLS settings from Full to Flexible (not sure why it was not working for Full)
and one more thing the bucket name has to be the same as the domain name
amazon doc search for ( I can't route traffic to an Amazon S3 bucket that's configured for website hosting)
good luck
Great video. Helps a lot when you are starting from scratch.
wow, after 5hrs of trying to setup all of these, you helped me out in the end. Tysm!
Glad I could help! Thanks for watching!
This was incredible. I don't know how many hours, even even days, this saved me. Thank you!
Glad it helped! Much appreciated!!!
Thank you for the video, saved me a bunch of time!
A very detailed video, thanks a lot!
Thank you!
Thank you Bryan. You helped me a lot with this video.
Very welcome
That was well explained, Thanks a lot
Much appreciated!!!
Awsome content! help me a lot. Thank you~
Great video, thanks!
You bet! Thanks for checking it out
nice video. 3 questions 1) what IP to use if i want to use my main domain not the sub domain 2) what if you click other links and pages, will it still show the domain name ? 3) s3 bucket name, does it has to be the exact domain name ? i have an existing bucket, do i need to create a new with exact name ?
Good tut.
Is this setup possible if AWS Route 53 is not the one managing the domain i.e. NameServer?
Thanks
Yep. Just replace the Route53 part with updating the records in whatever system is managing your DNS.
Thanks bro🤟🤟🤟🤟
The CName set up you do at 08:00 wont work with a root domain
Did you find a solution for this?
Dude your god
How to verify AWS Account. It is preventing me from creating a cloud front
Hi! How do I make the setting properly if I want to access only through cloudfront , I don't want the site to be accessible through http link in s3 bucket?
Then you can restrict access to an Amazon S3 Origin with Origin Access Control (OAC)
creating hosted zones is chargeable even in aws free tier.
Correct. It's not much but they do charge for a public hosted zone, unfortunately.
It was working in http https not working I am using external dns help me please
I get this error while trying to access my hosted site
"Forbidden
You don't have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."
Please do you know what causes it and how it can be fixed?
You probably need to check the bucket policy and ensure it allows proper permissions for public access. Check the one that is shown in the video and ensure it matches yours exactly.
followed the exact steps before the tls, but it's showing DNS address could not be found for my subdomain...
Did you update your domain to use the Route53 servers? I didn't include that but it should be completed before you can use Route53 for DNS on your custom domain
I’m not able to create a CNAME. It’s gives me an error about dns apex. Any help is appreciated!
Were you able to figure this out?
I have Launched the website but it shows Dangerous site please explain the Problem
It's likely an issue with the certificate that you used to secure the site. Make sure it matches the name exactly how you are typing it in your browser.
whats the cost for hosting from Amazon?
Following
100% depends on how much storage you consume on S3, how many API requests are made. You'l also encounter costs if you host your DNS on Route53 as well. All in all, you're probably looking at an average of $5/month or less
good tutorial until 7:30 - bro immediately assumed we had a hosted zone. Havenet even touched R53 since this is for other people that know how to do this
Yep, there are some assumptions in this video. It wasn't intended to teach all the AWS services and how to get started with them, only how to integrate them.
Here is the bucket policy so you don't have to manually type it in
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::Bucket-Name/*"
]
}
]
}
I also keep it here: github.com/btkrausen/aws/tree/master/AmazonS3