Thank you. I've lost count of the hours I've spent blindly navigating AWS. Thanks to you I had my static page up and running with a functioning SSL certificate quicker than it took to make a coffee.
Perfect explanation Bryan, I'll reference this video in my coding videos. I literally just used it to deploy a react frontend for a client. Please keep the videos coming!
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
I tried it by following the video completely. Was using an A Record with an alias Route Traffic to S3 Website Endpoint instead of CName record type without a subdomain. It does not show on the incognitio window. I even tried to reduce the TTL to 60 sec from the default 300 sec so that it shows up quickly than usual. Any help would be appreciated.Thanks in advance
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
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 ?
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/*" ] } ] }
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?
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.
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
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.
Thank you. I've lost count of the hours I've spent blindly navigating AWS. Thanks to you I had my static page up and running with a functioning SSL certificate quicker than it took to make a coffee.
Good Walkthrough Bryan !
Just deployed my first website on internet with this
This was incredible. I don't know how many hours, even even days, this saved me. Thank you!
Glad it helped! Much appreciated!!!
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!
Great video. Helps a lot when you are starting from scratch.
Perfect explanation Bryan, I'll reference this video in my coding videos. I literally just used it to deploy a react frontend for a client. Please keep the videos coming!
Thanks, this helped me convert my static s3 hosted website to use a proper SSL certificate
Thank you for the video, saved me a bunch of time!
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
Thank you Bryan. You helped me a lot with this video.
Very welcome
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.
The CName set up you do at 08:00 wont work with a root domain
Did you find a solution for this?
@@StoiccOSRS There's no solution, cnames have never worked for root domains, it's one of the rules of dns
@@StoiccOSRS Yes, you need to have buckets named the same as your domain and then create an alias in Route 53
Where did you get your domains?
What is the mo thly cost to run a static website on an S3 bucket?
A very detailed video, thanks a lot!
Thank you!
I tried it by following the video completely. Was using an A Record with an alias Route Traffic to S3 Website Endpoint instead of CName record type without a subdomain. It does not show on the incognitio window. I even tried to reduce the TTL to 60 sec from the default 300 sec so that it shows up quickly than usual. Any help would be appreciated.Thanks in advance
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
Great video! I was curious what is the cost for running this website and just the pricing logistics if I were to do static website hosting with S3?
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 ?
Awsome content! help me a lot. Thank you~
Hi! is not possible to make S3 Bucket private and only CloudFront can access?
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
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)
That was well explained, Thanks a lot
Much appreciated!!!
How to verify AWS Account. It is preventing me from creating a cloud front
That was very cool
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.
worth it to watch .....
the s3 bucket name and domain name should be same why no one mentions this
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.
it is not posibble to have a naked domain if i dont use route 53 ?
Nope. It's a limitation of Route53 unfortunately.
Kindly provide Repository Link Please ...
Dude your god
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?
It was working in http https not working I am using external dns help me please
Great video, thanks!
You bet! Thanks for checking it out
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
amazing! thank you. :)
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.
Thanks bro🤟🤟🤟🤟
Welcome 👍