I'd like to see how this tutorial fits into the big picture and could be applied for a complex app(so I'd have a better idea how to use it for my projects). Either from experience or in theory:)
Thank goodness for a page like yours! Simply explained, clear English. I work in tech and this was refreshing to watch because how simply it was explained.
Hillarie! Wow, thank you SO much for the kind words!! I *really* try to explain things in plain English, so comments like this make me so happy. 🥰🔥🙏🌟 Thanks for watching!
All your videos are amazing - very simple and easy to understand :) Can you please create a video on how to implement Authentication, Authorization, Rate Limiting and Caching via API gateway ? These concepts are very important.
@@TinyTechnicalTutorials Also can you create a video on how to implement Service Discovery in AWS. In normal microservices architecture Eureka is used, but what should we use in AWS and API Gateway to achieve this?
Hey Hrishikesh! 😊 For service discovery, you might want to check out Cloud Map: aws.amazon.com/cloud-map. I haven't personally used this before, but I believe this is AWS's equivalent of Eureka.
you make everything so easy am so grateful for you. every time I come to review some tutorials you make it simple and less complicated which makes my life easier. thank you so much
Great video. It is much better than reading tons of documentation that explains the same thing. I think AWS should teach its services by showing how they are constructed and what they are used for.That is what you have been doing. Thank you for sharing.
This actually made me laugh out loud!! 🤣 I'm not sure that's the effect I want to have on viewers?? Hope you learned something before falling asleep! 😅 🤓
Thank you for fantastic tutorial. Your explanation is very clear. I found maybe ladies can do it better than men. Because I got the same impression from another lady.
Hey Hey! It's been a little while! Hope all is well with you! Thanks you once again for a super video! It's nice to see things in action and have a direct explanation without fluff and you deliver every time!! I'm getting prepared to take my SAA exam this month and I've used your course as well as other resources and I gotta say that I'm ready with the help of your content and course, so thank you very much and I look forward to continued learning with you!!! Be well, be safe and Cheers!!!
Sam! I've missed you!! 😊 Great to hear you've been studying for the SAA...I'm sure you'll pass with flying colors. Keep me posted on how it goes, and thanks as always for the support! 🥰
I have to add to the comments on here about your way of explaining matters. I've wasted 3 days on S3 Buckets, Cloud Front, Route 53, NameServers and I'm still not out of the woods. I'm wondering if you did a second video on how to mask the final URL for use as a subdomain.
Thanks so much, Karl! Sorry for the frustration. 😢 I've been there before! I don't have anything about masking a URL as a subdomain, but this video walks through all the other parts you mention (S3, CloudFront, Route 53, Name Servers): ruclips.net/video/NiCZSdWucZE/видео.html. Also, I've got a written tutorial for that one that might be easier to skim to see if it's what you need? www.freecodecamp.org/news/aws-project-build-a-resume
Can you add ssl to cloudfront? And also enable signed url /cookies for put and get requests after landing on index page ? And aslo accessing request logs?
Hi Ajay! 👋 You can host a static website in an S3 bucket without using CloudFront (you'd use the same steps from the first part of the video where we set up the bucket, upload files, and enable it for static website hosting). By pointing CloudFront to the bucket, we just speed up performance because it will cache what's in the bucket. Hope that makes sense. 😊
I'm using cloud front to serve up my s3 static html page. DNS is managed by Godaddy. I've having trouble getting connected using the naked domain. It only works if it is forwarded to a www subdomain. any ideas on how to get the naked domain to work?
Hi @TheGamerVillage! 👋 GoDaddy doesn't support CNAME records on an apex (naked) domain, so you'll unfortunately have to do a workaround. Here are some links that might help? aws.amazon.com/blogs/networking-and-content-delivery/solving-dns-zone-apex-challenges-with-third-party-dns-providers-using-aws/ repost.aws/questions/QUersPbB2LQF-FJN6IFfCEKQ/how-can-i-serve-cloudfront-assets-to-a-naked-domain-i-manage-with-a-non-aws-dns-provider
If you wanted to show your cat puzzle picture to the world - and you did NOT want to use CloudFront - your alternative would have been to host the picture on your EC2 instance that is running a web server?
Hey Jason! 👋 Yep, you could host it on an EC2 instance running a web server. Or, if you only need to host static content like pictures, you could use an S3 bucket. This would be a cheaper alternative. I've got a video on creating a static website using S3 if you're interested: ruclips.net/video/H83xYoC3z4A/видео.html. Hope that helps! 😊
Hi I followed every step except that I let aws automatically updated the bucket policy, but I keep getting 403 ERROR, The request could not be satisfied.Bad request.
Hi @dibahl! 😊 I don't have an estimated date for the Solutions Architect course to be on Udemy just yet (right now it's only on Zero to Mastery: academy.zerotomastery.io/a/aff_464yrtnn/external?affcode=441520_lm7gzk-d). But I'll make myself a reminder to loop back here when it does. To answer the second question about Origin Access Control...this is used to prevent access to the S3 bucket from anywhere except CloudFront. So if someone were to try to navigate directly to a file in S3, it would be denied. But going through the CloudFront URL, it would work. Hopefully that makes sense. Thanks for watching! 😎
Can you make a tutorial for basic http authorization using S3 and Cloudfront? (user/pass request) I've stepped into many stackedoverflow posts, etc, and nothing works in AWS for me.
I'm using their Mediaconvert service to convert my video into multiple resolutions for my website. Do you know if CloudFront automatically adjusts the resolution for the end viewer based on their bandwidth or do I need to do some additional configurations?
Hi @BOSSBROC! 👋 It's surprisingly hard to find a straightforward answer to this. 😊 But from what I can gather, it doesn't happen automatically. Looks like you have to do the encoding/transcoding separately. Here's a whitepaper that might help? d1.awsstatic.com/whitepapers/amazon-cloudfront-for-media.pdf
Your videos are great!👍 I would love a video on using Amazon SNS to send push notifications to iOS and Android. I've been struggling with this for weeks. Keep up the great vids!
Thanks for the nice comment, Dan! 😊🙏 I'll add this to my list for future videos. In the meantime, if you haven't already found it, maybe this will help? docs.aws.amazon.com/sns/latest/dg/sns-mobile-application-as-subscriber.html
@TinyTechinicalTutorials I really appreciate this video, thank you so much I seem yo be getting a 403 error for the generated signed url Any solutions?
Hi @PetPalsParadise_! 👋 Hmmmm...I haven't come across that error before. Maybe this will help? repost.aws/questions/QUDfnCHqQZRheNPtzizCk66w/how-can-i-verify-my-aws-account
Hi TTT, hope ur doing great! Really appreciate all the tutorials. I’ve started developing frontend projects and your videos have been really helpful! Just one question that I got stuck on, about using S3 bucket for the static website and cloudfront for cdn, if I make changes/updates to the codes in the S3 bucket later, how do I make cloudfront automatically update the website content as well? Thanks in advance
Hi @MyPodie! 👋 Thanks so much for supporting the channel! I'm glad the videos are helpful. 😊 For the CloudFront/S3 question, this probably answers it better than I can: repost.aws/knowledge-center/cloudfront-serving-outdated-content-s3. Hope it helps!
Hi @@TinyTechnicalTutorials! Thanks for getting back to me and providing the helpful information. I ended up solving it using the invalidation with wildcard ‘/*’ to have the Cloudfront up to dates with s3 bucket. Once again appreciate the response and please do keep the videos coming! 😊
@@TinyTechnicalTutorials Thank you so much, Amber , I also hv a query as I hv created a layer in aws lambda for Python module but on test it's unable to import that module, can u please provide your mail id so that I can send a screenshot to get help !! thanks ...
Thank you for such a clear and easily understandable tutorial. I re-traced your steps to the letter several times, and still getting access denied. Waited for 'Last modified' field to be a valid date. Added the policy to S3. When pasting the CloudWatch provided url into a new tab, I get 'Access Denied'. What do you think the problem could be?
Hi Martin! 😊 Ugh...the dreaded Access Denied error! Here are some other ideas for troubleshooting: repost.aws/knowledge-center/s3-website-cloudfront-error-403. If you're able to resolve it, feel free to post an update here. It might help someone else.
Hi njamutoh! Thanks for watching! 😊 Hmmm...does it give you an error, or just doesn't load? You might double-check that you added the S3 bucket policy? That happens around 06:22 in the video.
403 ERROR The request could not be satisfied. Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error.
Thanks for your video! It was all very clear! Maybe you could help me with an issue? I am working with a SPA, and following your tutorial i am able to navigate on my site. But, if I refresh on another path different from the home "/", i get the 403 error. At one point i opened my bucket to public access, and because of the configuration of the application (i created it with nextjs), i was able to fix it and enter the site on any path (for example /contact). But i don't like the idea of having my bucket publicly available, i would like to allow access only from cloudfront. Any ideas on how to solve it?
Hi Magdalena! 👋 Sorry for such a slow response! Were you able to figure this out? I think you'd need to set up a custom error response/page, and maybe also configure your Next.js app to handle client-side routing correctly. If you figured out a solution, feel free to post it here in case it helps others. 🤓
I didn't understand much from the video. What happens to DNS records? What forces request to go to Edge Location rather than the server directly to EC2? Why do I need S3 bucket?
Hi Oleg! 👋 DNS records work with CloudFront by configuring a custom domain name for your CloudFront distribution. When you create a CloudFront distribution, you get a CloudFront domain name (e.g., d12345.cloudfront.net), which you can use to access your content. However, if you want to serve your content through a custom domain name (e.g., www.example.com), you need to configure DNS records. You'd create a CNAME record that maps your custom domain to your CloudFront domain. As far as routing, CloudFront uses various factors to determine if a request should be routed to an edge location or directly to an S3 bucket or EC2 instance. 1. Requested URL: CloudFront examines the requested URL to determine which cache behavior and origin to use. You can configure cache behaviors based on specific URL patterns, such as `/images/*` or `/static/*`. Each cache behavior can be associated with a different origin. 2. Cache behavior settings: CloudFront evaluates the cache behavior settings associated with the requested URL pattern. The cache behavior includes settings like path patterns, viewer protocols (HTTP or HTTPS), query string forwarding, and more. These settings influence whether a request should be routed to an edge location or to an origin server. 3. Edge location availability: CloudFront checks the availability of edge locations when processing a request. If an edge location is nearby and has a cached copy of the requested content, the request is routed to that edge location. 4. TTL (Time-to-Live) and cache control headers: CloudFront compares the TTL and cache control headers associated with the requested content. If the content is still valid based on the TTL or cache control headers, CloudFront serves the cached version. Finally, you don't need an S3 bucket; it's just one way to host static content (inexpensively), and then you can set up CloudFront to use that bucket as its origin. If you were using an EC2 instance, you'd set that up behind a load balancer, then point CloudFront to the load balancer. Hope that helps! 😊
Nice video. Small question Does automatically created IAM roles for CloudFront-s3 also automatically gets deleted when re remove the resources from console ?
Thanks so much, Avi! 🙏🤓 No, the roles won't get deleted when you remove the resources that were using them. But things in IAM (users, user groups, roles, etc.) don't have a charge associated with them. You can manually delete them if you want, just to keep things tidy, but you won't be billed for them if you don't. Hope that helps!
Hi @NiteLifeBuzzPage!! 👋 For most of my videos, there aren't costs associated with the resources (they're usually part of the Free Tier usage). But if you leave things running, some things will eventually incur a cost, and it's never fun to get a surprise bill! So I always like to give a reminder to delete things when you're done. Hope that helps! Thanks for watching! 🙏🤓
@@TinyTechnicalTutorials Got it. I was setting up my S3 bucket to store video files for my website, so when you stated that we should delete them, I thought "this part might not be for me" LOL Thank you so much.
Hi, twin question please. 1. Cloudfront seems an awesome technology to distribute static assets at an edge location close to the user. Would this mean that ALL websites should consider setting up a cloudfront resource? Would there be a reason why this would not the case? I mean should this be a defacto standard for websites, or I'm stretching it too far 😮 2. Would it be right to say that if route 53 points to cloudfront, then the DNS queries resolve to the closest edge location. That being the case, there is no reason to setup route 53 routing policies as they would anyways get overridden by Cloudfront. Thanks in advance. Teaching in completely different league - you already knew that 😊
Thank you for the kind comments, Praveen!! 🥰 1. Yeah, CloudFront is pretty awesome. I would say generally it's the way to go for any "real" website, with maybe a few exceptions: a) Your audience is very localized (wouldn't need the benefit of global points of presence with CloudFront) b) Your files/objects change frequently (so caching doesn't help much since you'd need to frequently grab new files) c) You only need HTTP connections (you could just host things in S3, for example, with HTTP; but to get HTTPS, you'd need CloudFront) 2. I actually had to go digging on this question about Route 53 routing policies and CloudFront. I've always assumed what you said, but thought I should find the official word. Which I can't seem to find! 🤓 But did find this on Stack Overflow that seems to confirm that CloudFront will basically handle the routing for you: stackoverflow.com/questions/35300944/aws-cloudfront-and-route53. Hope that helps! Thanks for supporting the channel!! 🙏🌟😊
Well articulated and explained, soo easy to follow through, thank you so much! I will be book marking this one for when it comes for me to getting CloudFront Setup.
Thanks for the nice comment, Rajendra! 😊 Glad you're enjoying the videos. For project ideas, I actually *just* published a video with 10 ideas for those: ruclips.net/video/x7YjX2_zGsk/видео.html. Hope it helps, and good luck!
What else do you want to learn about AWS? Let me know below in the comments! 😀
how to add a shopping cart to charge for VOD access?
Ci + Cd pipeline please
I'll add it to my list! Thanks, Saber! 👍
@@TinyTechnicalTutorials A video on " how to embed Amazon lex chatbot our website. without using third party service
I'd like to see how this tutorial fits into the big picture and could be applied for a complex app(so I'd have a better idea how to use it for my projects). Either from experience or in theory:)
Thank goodness for a page like yours! Simply explained, clear English. I work in tech and this was refreshing to watch because how simply it was explained.
Hillarie! Wow, thank you SO much for the kind words!! I *really* try to explain things in plain English, so comments like this make me so happy. 🥰🔥🙏🌟 Thanks for watching!
I tried numerous times before getting this heaven-sent video. I kept forgetting the default root object since it showed as optional !!
12 hours later, this video solves it. Thank you!
All your videos are amazing - very simple and easy to understand :)
Can you please create a video on how to implement Authentication, Authorization, Rate Limiting and Caching via API gateway ?
These concepts are very important.
Awww, thanks so much! 😊 I'm so glad they're helpful. I'll add these topics to my list for future videos. Thanks for the suggestions!
@@TinyTechnicalTutorials Also can you create a video on how to implement Service Discovery in AWS. In normal microservices architecture Eureka is used, but what should we use in AWS and API Gateway to achieve this?
Hey Hrishikesh! 😊 For service discovery, you might want to check out Cloud Map: aws.amazon.com/cloud-map. I haven't personally used this before, but I believe this is AWS's equivalent of Eureka.
you make everything so easy am so grateful for you. every time I come to review some tutorials you make it simple and less complicated which makes my life easier. thank you so much
Oh, what a nice compliment!! This made my day. Thanks for supporting the channel!! 🙏🌟🤓
Great video. It is much better than reading tons of documentation that explains the same thing. I think AWS should teach its services by showing how they are constructed and what they are used for.That is what you have been doing. Thank you for sharing.
I agree!! Putting things together is the best way to learn. Glad it helped! Thanks for watching and for the nice comment! 🙏🌟🤓
You just helped me to overcome my fear of using AWS services! thank you for making these videos!
Yay!! I'm so glad it helped. Thanks for watching! 🙏🤓🌟
Your voice is so soothing. Came in for tech support and now I'm sleepy.
This actually made me laugh out loud!! 🤣 I'm not sure that's the effect I want to have on viewers?? Hope you learned something before falling asleep! 😅 🤓
best video I found for learning about s3 and cloudfront, thank you very much🙂
Oh yay!!! I'm so glad it was helpful! 🤓🌟🙏
You are an awesome teacher madam ! Your teaching skills ars second to none
Wow, thank you!!! 🥰 So glad you're enjoying the videos!
Thank you for fantastic tutorial. Your explanation is very clear. I found maybe ladies can do it better than men. Because I got the same impression from another lady.
Yay!! I'm so glad it helped. Thanks for watching! 🙏🌟🤓
Hey Hey! It's been a little while! Hope all is well with you! Thanks you once again for a super video! It's nice to see things in action and have a direct explanation without fluff and you deliver every time!! I'm getting prepared to take my SAA exam this month and I've used your course as well as other resources and I gotta say that I'm ready with the help of your content and course, so thank you very much and I look forward to continued learning with you!!! Be well, be safe and Cheers!!!
Sam! I've missed you!! 😊 Great to hear you've been studying for the SAA...I'm sure you'll pass with flying colors. Keep me posted on how it goes, and thanks as always for the support! 🥰
@@TinyTechnicalTutorials I will definitely let you know! Thank U 4 the encouragement! I appreciate it!!
Awesome, thanks for the explanation!!!
Yay! I'm so glad it helped. Thanks for watching!! 🙏🤓🌟
Thank you for your clear and concise instruction.
You bet! Thanks for watching! 🙏🌟😊
I have to add to the comments on here about your way of explaining matters. I've wasted 3 days on S3 Buckets, Cloud Front, Route 53, NameServers and I'm still not out of the woods. I'm wondering if you did a second video on how to mask the final URL for use as a subdomain.
Thanks so much, Karl! Sorry for the frustration. 😢 I've been there before! I don't have anything about masking a URL as a subdomain, but this video walks through all the other parts you mention (S3, CloudFront, Route 53, Name Servers): ruclips.net/video/NiCZSdWucZE/видео.html. Also, I've got a written tutorial for that one that might be easier to skim to see if it's what you need? www.freecodecamp.org/news/aws-project-build-a-resume
Hi that was great!! I can't get a link to the root of the bucket to work. Only full url of the file in the bucket. What did I do wrong?
Hi Mike! 👋 Apologies...I'm super behind on comments! Were you able to get this working?
Super easy to follow, thanks for making it simple
For sure! Thanks for supporting the channel! 😊🙏
Can you add ssl to cloudfront? And also enable signed url /cookies for put and get requests after landing on index page ?
And aslo accessing request logs?
Thanks so much - really helpful!
You're very welcome! Thanks for watching! 🙏🌟🤓
what the difference between using this method and using static hosting enable
Hi Ajay! 👋 You can host a static website in an S3 bucket without using CloudFront (you'd use the same steps from the first part of the video where we set up the bucket, upload files, and enable it for static website hosting). By pointing CloudFront to the bucket, we just speed up performance because it will cache what's in the bucket. Hope that makes sense. 😊
Very helpful - easy to follow. Thank you!!
I'm so glad! Thanks for watching! 😊🙏🌟
I'm using cloud front to serve up my s3 static html page. DNS is managed by Godaddy. I've having trouble getting connected using the naked domain. It only works if it is forwarded to a www subdomain. any ideas on how to get the naked domain to work?
Hi @TheGamerVillage! 👋 GoDaddy doesn't support CNAME records on an apex (naked) domain, so you'll unfortunately have to do a workaround. Here are some links that might help?
aws.amazon.com/blogs/networking-and-content-delivery/solving-dns-zone-apex-challenges-with-third-party-dns-providers-using-aws/
repost.aws/questions/QUersPbB2LQF-FJN6IFfCEKQ/how-can-i-serve-cloudfront-assets-to-a-naked-domain-i-manage-with-a-non-aws-dns-provider
Very helpful, many thanks!
I'm so glad it helped! Thanks for watching, and for such a nice comment! 🙏🤓🌟
Thank you it worked perfect for me, for Firefox I set also redirect HTTP to HTTPS.
Awesome--glad it worked! Thanks for watching! 😊
Thank you. And your voice is sweet
Awwww...thanks so much! 😊🙏🌟
Thank you, simple and clear.
You're welcome! I'm glad it helped. 😊
why i'm getting an error message once i deply teh domain name .....
What's the error message you get?
can you please explain "object cache" ? really confused about miminum ttl , maximum ttl and default time to live...
Hi Sankar! 👋 Maybe this will help? docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
@@TinyTechnicalTutorials i didn't understand clearly..so can you explain from you side !!!!
If you wanted to show your cat puzzle picture to the world - and you did NOT want to use CloudFront - your alternative would have been to host the picture on your EC2 instance that is running a web server?
Hey Jason! 👋 Yep, you could host it on an EC2 instance running a web server. Or, if you only need to host static content like pictures, you could use an S3 bucket. This would be a cheaper alternative. I've got a video on creating a static website using S3 if you're interested: ruclips.net/video/H83xYoC3z4A/видео.html. Hope that helps! 😊
Hi I followed every step except that I let aws automatically updated the bucket policy, but I keep getting 403 ERROR, The request could not be satisfied.Bad request.
Same man
Found a solution yet?
Double-check that you updated the policy with the name of your bucket? 🤔
When will your AWS solution architect course be available on Udemy?Also what's the purpose of Origin Access Control while creating Distribution?
Hi @dibahl! 😊 I don't have an estimated date for the Solutions Architect course to be on Udemy just yet (right now it's only on Zero to Mastery: academy.zerotomastery.io/a/aff_464yrtnn/external?affcode=441520_lm7gzk-d). But I'll make myself a reminder to loop back here when it does.
To answer the second question about Origin Access Control...this is used to prevent access to the S3 bucket from anywhere except CloudFront. So if someone were to try to navigate directly to a file in S3, it would be denied. But going through the CloudFront URL, it would work. Hopefully that makes sense. Thanks for watching! 😎
Can you make a tutorial for basic http authorization using S3 and Cloudfront? (user/pass request) I've stepped into many stackedoverflow posts, etc, and nothing works in AWS for me.
Ooh, great suggestion! I'll add this to my list for future topics. Thanks for the comment! 😊
Thanks for the video, you only missed the "origin shield" part, that handles cross regions requests 🙂
Ooh, thanks for that! 🙏😎🔥
Great content!
I'm so glad you're enjoying it! Thanks for watching! 🙏🌟🤓
in Edit bucket policy i want that code where i get
Hi Rohit! 👋 Sorry for the slow response! This policy is actually generated by CloudFront...more detail around 05:26 in the video. 😊
I'm using their Mediaconvert service to convert my video into multiple resolutions for my website. Do you know if CloudFront automatically adjusts the resolution for the end viewer based on their bandwidth or do I need to do some additional configurations?
Hi @BOSSBROC! 👋 It's surprisingly hard to find a straightforward answer to this. 😊 But from what I can gather, it doesn't happen automatically. Looks like you have to do the encoding/transcoding separately. Here's a whitepaper that might help? d1.awsstatic.com/whitepapers/amazon-cloudfront-for-media.pdf
Your videos are great!👍 I would love a video on using Amazon SNS to send push notifications to iOS and Android. I've been struggling with this for weeks. Keep up the great vids!
Thanks for the nice comment, Dan! 😊🙏 I'll add this to my list for future videos. In the meantime, if you haven't already found it, maybe this will help? docs.aws.amazon.com/sns/latest/dg/sns-mobile-application-as-subscriber.html
Thank you! :)
@TinyTechinicalTutorials
I really appreciate this video, thank you so much
I seem yo be getting a 403 error for the generated signed url
Any solutions?
Hi @tycoonpraise! 👋 Hmmm...you updated your bucket policy?
@@TinyTechnicalTutorials thanks i really appreciate you getting back to me
I've fixed it, its a little error from my side
Thanks 🙂
Glad you got it working! 💪🤓
Thank you for this vid
Hello miss , while creating cloudfront it asks for account verification can you please help in rising a case so my account get verified
Hi @PetPalsParadise_! 👋 Hmmmm...I haven't come across that error before. Maybe this will help? repost.aws/questions/QUDfnCHqQZRheNPtzizCk66w/how-can-i-verify-my-aws-account
@@TinyTechnicalTutorials I appreciate that , thank you hav a nice day 😁
Good video, thanks
A very belated thank you!! Really appreciate it! 🥰🙏🌟
Hello, Can you make a video about "AWS Elastic Beanstalk" ❣
Great suggestion! I've added it to my list! 😊
Hi TTT, hope ur doing great! Really appreciate all the tutorials. I’ve started developing frontend projects and your videos have been really helpful! Just one question that I got stuck on, about using S3 bucket for the static website and cloudfront for cdn, if I make changes/updates to the codes in the S3 bucket later, how do I make cloudfront automatically update the website content as well? Thanks in advance
Hi @MyPodie! 👋 Thanks so much for supporting the channel! I'm glad the videos are helpful. 😊 For the CloudFront/S3 question, this probably answers it better than I can: repost.aws/knowledge-center/cloudfront-serving-outdated-content-s3. Hope it helps!
Hi @@TinyTechnicalTutorials! Thanks for getting back to me and providing the helpful information. I ended up solving it using the invalidation with wildcard ‘/*’ to have the Cloudfront up to dates with s3 bucket. Once again appreciate the response and please do keep the videos coming! 😊
"Your account must be verified before you can add new cloudfront resources"
Please give solution to this
Maybe this will help? repost.aws/questions/QULXHEAzC7Sai6_LTLNYn83Q/your-account-must-be-verified-before-you-can-add-new-cloudfront-resources
Hi, did you find solution to this ?
I really how you make your videos using easy to understand examples.
Thanks for the nice comment, @christophfanalways215! Glad it helped! 😊
can you make a video about create a web chat with aws
Hi Duong! 😊 Can you give me a bit more detail on this? Not totally sure I'm following...
When did "Meryl Streep" started to teach AWS, I thought she ran for Oscars!
Haha! I'll take that as the highest compliment! 🥰😂🔥
hi there , its a good content ,create vpc peering video also
Ooh, great suggestion! I'll add it to my list. Thanks for watching! 😊
@@TinyTechnicalTutorials may i know your name please !!
It's Amber. 😊
Hey @bhavikvegad3449! 😊 It took me a while, but just posted a video about VPC peering: ruclips.net/video/ZFe70EZqU18/видео.html. Hope it helps! 💪
@@TinyTechnicalTutorials Thank you so much, Amber , I also hv a query as I hv created a layer in aws lambda for Python module but on test it's unable to import that module, can u please provide your mail id so that I can send a screenshot to get help !! thanks ...
you are so beautiful
Thank you! 😊
Thank you for such a clear and easily understandable tutorial. I re-traced your steps to the letter several times, and still getting access denied. Waited for 'Last modified' field to be a valid date. Added the policy to S3. When pasting the CloudWatch provided url into a new tab, I get 'Access Denied'. What do you think the problem could be?
Hi Martin! 😊 Ugh...the dreaded Access Denied error! Here are some other ideas for troubleshooting: repost.aws/knowledge-center/s3-website-cloudfront-error-403. If you're able to resolve it, feel free to post an update here. It might help someone else.
@@TinyTechnicalTutorials Thanks for wonderful video.
I'm facing the issue and unable to get resolved after following repost.
Hi, could i just ask why did you delete the whole S3 n the distribution? Just curious.. is it to save costs?
Right! Just trying to prevent any surprise bills. 😊
video on SNS
I've got it on my list. Thanks for the suggestion! 😊
How come when I follow AWS's instructions I fail but when I follow yours I'm successful 😂
Thanks Big Time TTT 💙💪🏾✊🏾🙏🏾
Cute Cat! Very informative Video, thank you!
Thank you so much!
What if you followed same procedure but your image doesn't load on the final website?
Hi njamutoh! Thanks for watching! 😊 Hmmm...does it give you an error, or just doesn't load? You might double-check that you added the S3 bucket policy? That happens around 06:22 in the video.
Your simplification makes it intelligible. Great!
Yay! I'm so glad it was helpful. Thanks for watching, and for the nice comment! 🙏🌟🤓
same steps i am following up...
but getting an access denied.. why is that so
Hi Sandya! 👋 So sorry for the slow response! Were you able to figure this out?
@@TinyTechnicalTutorials Thanks for following up... Now its working
Hi friend! I followed every steps and I'm having the same problem right now. Could you tell me how you solved it? Thanks.
403 ERROR The request could not be satisfied. Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error.
@@sandyad1560 am having similar issue bro
How'd you fix urs ?
Thanks for your video! It was all very clear! Maybe you could help me with an issue? I am working with a SPA, and following your tutorial i am able to navigate on my site. But, if I refresh on another path different from the home "/", i get the 403 error.
At one point i opened my bucket to public access, and because of the configuration of the application (i created it with nextjs), i was able to fix it and enter the site on any path (for example /contact). But i don't like the idea of having my bucket publicly available, i would like to allow access only from cloudfront. Any ideas on how to solve it?
Hi Magdalena! 👋 Sorry for such a slow response! Were you able to figure this out? I think you'd need to set up a custom error response/page, and maybe also configure your Next.js app to handle client-side routing correctly. If you figured out a solution, feel free to post it here in case it helps others. 🤓
I fall in love with your voice, couldn't concentrate in the content..
LOL! Oh dear!! I'm not sure if that's a good thing?? 😃
I didn't understand much from the video.
What happens to DNS records? What forces request to go to Edge Location rather than the server directly to EC2?
Why do I need S3 bucket?
Hi Oleg! 👋
DNS records work with CloudFront by configuring a custom domain name for your CloudFront distribution. When you create a CloudFront distribution, you get a CloudFront domain name (e.g., d12345.cloudfront.net), which you can use to access your content. However, if you want to serve your content through a custom domain name (e.g., www.example.com), you need to configure DNS records. You'd create a CNAME record that maps your custom domain to your CloudFront domain.
As far as routing, CloudFront uses various factors to determine if a request should be routed to an edge location or directly to an S3 bucket or EC2 instance.
1. Requested URL: CloudFront examines the requested URL to determine which cache behavior and origin to use. You can configure cache behaviors based on specific URL patterns, such as `/images/*` or `/static/*`. Each cache behavior can be associated with a different origin.
2. Cache behavior settings: CloudFront evaluates the cache behavior settings associated with the requested URL pattern. The cache behavior includes settings like path patterns, viewer protocols (HTTP or HTTPS), query string forwarding, and more. These settings influence whether a request should be routed to an edge location or to an origin server.
3. Edge location availability: CloudFront checks the availability of edge locations when processing a request. If an edge location is nearby and has a cached copy of the requested content, the request is routed to that edge location.
4. TTL (Time-to-Live) and cache control headers: CloudFront compares the TTL and cache control headers associated with the requested content. If the content is still valid based on the TTL or cache control headers, CloudFront serves the cached version.
Finally, you don't need an S3 bucket; it's just one way to host static content (inexpensively), and then you can set up CloudFront to use that bucket as its origin. If you were using an EC2 instance, you'd set that up behind a load balancer, then point CloudFront to the load balancer.
Hope that helps! 😊
Nice video. Small question
Does automatically created IAM roles for CloudFront-s3 also automatically gets deleted when re remove the resources from console ?
Thanks so much, Avi! 🙏🤓 No, the roles won't get deleted when you remove the resources that were using them. But things in IAM (users, user groups, roles, etc.) don't have a charge associated with them. You can manually delete them if you want, just to keep things tidy, but you won't be billed for them if you don't. Hope that helps!
Great vid. But it's still crazy how many steps AWS has to create a CDN with all of their services and buckets.
Thanks so much, Daniel! 🙏🌟🤓 Job security for people who know how to do it?? 😂
Thank you so much. This is awesome tutorial. I get my page show up too with cloudfront.
Awesome work! Thanks for watching, and for such a nice comment! 🤓🌟🙏
Great tutorial. I'd just like to know why we should delete the resources? You stated that it's important, but didn't say why.
Thanks.
Hi @NiteLifeBuzzPage!! 👋 For most of my videos, there aren't costs associated with the resources (they're usually part of the Free Tier usage). But if you leave things running, some things will eventually incur a cost, and it's never fun to get a surprise bill! So I always like to give a reminder to delete things when you're done. Hope that helps! Thanks for watching! 🙏🤓
@@TinyTechnicalTutorials Got it. I was setting up my S3 bucket to store video files for my website, so when you stated that we should delete them, I thought "this part might not be for me" LOL
Thank you so much.
You are so awesome and you look hot too.
Haha!! Thanks so much! 🙏🤓🌟
Hi, twin question please.
1. Cloudfront seems an awesome technology to distribute static assets at an edge location close to the user. Would this mean that ALL websites should consider setting up a cloudfront resource? Would there be a reason why this would not the case? I mean should this be a defacto standard for websites, or I'm stretching it too far 😮
2. Would it be right to say that if route 53 points to cloudfront, then the DNS queries resolve to the closest edge location. That being the case, there is no reason to setup route 53 routing policies as they would anyways get overridden by Cloudfront.
Thanks in advance. Teaching in completely different league - you already knew that 😊
Thank you for the kind comments, Praveen!! 🥰
1. Yeah, CloudFront is pretty awesome. I would say generally it's the way to go for any "real" website, with maybe a few exceptions:
a) Your audience is very localized (wouldn't need the benefit of global points of presence with CloudFront)
b) Your files/objects change frequently (so caching doesn't help much since you'd need to frequently grab new files)
c) You only need HTTP connections (you could just host things in S3, for example, with HTTP; but to get HTTPS, you'd need CloudFront)
2. I actually had to go digging on this question about Route 53 routing policies and CloudFront. I've always assumed what you said, but thought I should find the official word. Which I can't seem to find! 🤓 But did find this on Stack Overflow that seems to confirm that CloudFront will basically handle the routing for you: stackoverflow.com/questions/35300944/aws-cloudfront-and-route53.
Hope that helps! Thanks for supporting the channel!! 🙏🌟😊
Thank you for this video !!
Thank YOU for watching!! 😊🙏🤓🌟
Well articulated and explained, soo easy to follow through, thank you so much! I will be book marking this one for when it comes for me to getting CloudFront Setup.
Thanks so much for the kind words, @BeNetCoders!! 🙏🤓🌟 Glad it was helpful!
Your videos are simple, and to the point. Do you have any videos on a aws mini project from ground zero? TY for the hard work put in this.
Thanks for the nice comment, Rajendra! 😊 Glad you're enjoying the videos. For project ideas, I actually *just* published a video with 10 ideas for those: ruclips.net/video/x7YjX2_zGsk/видео.html. Hope it helps, and good luck!
Hi, thanks for sharing yoru knowledge about CloudFront, policy thing really helped me.
Oh, I'm so glad it helped! Thanks for watching! 😊🙏🌟
I recently commented on another aws video - and once again you saved me with another clear explanation!!!
Thank you once again :)
I LOVE all the nice comments!!! 🥰💪🔥🌟 Thank you!
OMG! finally a nice voice in this IT, cybersecurity world, im going to subcribe to this page.
Haha!! Thanks so much, and welcome to the channel! 🥰🙏
Excellent exactly what i needed super short and quick straight to the point tutorial. thank you.
Yay!! I'm so glad it helped. Thanks for watching! 🙏🌟🤓
easiest and crystal clear info given. felt just like a cake walk.. thanks a lot ❤
Awwww...what a nice comment! Thanks so much! I'm glad it helped. 🙏🌟🤓
subscribed, thank you for the video!! Clear and to the point.
Welcome to the channel! 🙏🌟🤓 Glad it was helpful!
very well explained. Thank you
Glad it was helpful! Thanks for watching! 🙏🌟🤓
Just Awesome. I love the way you explain - Thanks
So nice of you!! Thanks for watching! 🤓🙏🌟
You saved my project..
Yay!! I'm so glad! 😎💪🔥
thank you, nicely explained.
Glad it was helpful! Thanks for watching! 🙏🌟🤓
Amazing videos, your the best AWS teacher.
Awww...thanks so much!! 🙏🌟😊
You are great!
Awww...thanks so much!!! 😊🌟🙏
Thank you!!!
For sure! Thanks for watching! 🙏😊