Create an Amazon CloudFront Distribution and Website | Step-by-Step AWS CDN Tutorial for Beginners

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024

Комментарии • 208

  • @TinyTechnicalTutorials
    @TinyTechnicalTutorials  Год назад +16

    What else do you want to learn about AWS? Let me know below in the comments! 😀

    • @muchimi
      @muchimi Год назад

      how to add a shopping cart to charge for VOD access?

    • @saber9583
      @saber9583 Год назад +2

      Ci + Cd pipeline please

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад

      I'll add it to my list! Thanks, Saber! 👍

    • @DeepakKumar-si4wl
      @DeepakKumar-si4wl Год назад

      @@TinyTechnicalTutorials A video on " how to embed Amazon lex chatbot our website. without using third party service

    • @EnglishwithNate
      @EnglishwithNate Год назад +1

      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:)

  • @hillariesgarden2150
    @hillariesgarden2150 10 месяцев назад +6

    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.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  10 месяцев назад +2

      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!

  • @AlexTemaAbanke
    @AlexTemaAbanke Месяц назад +1

    I tried numerous times before getting this heaven-sent video. I kept forgetting the default root object since it showed as optional !!

  • @JasonLayton
    @JasonLayton Месяц назад

    12 hours later, this video solves it. Thank you!

  • @HrishikeshMaluskar
    @HrishikeshMaluskar Год назад +5

    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
      @TinyTechnicalTutorials  Год назад

      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!

    • @HrishikeshMaluskar
      @HrishikeshMaluskar Год назад +1

      @@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?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад

      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.

  • @Inntw10
    @Inntw10 6 месяцев назад

    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

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  6 месяцев назад +1

      Oh, what a nice compliment!! This made my day. Thanks for supporting the channel!! 🙏🌟🤓

  • @muratucak6689
    @muratucak6689 7 месяцев назад

    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.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  7 месяцев назад

      I agree!! Putting things together is the best way to learn. Glad it helped! Thanks for watching and for the nice comment! 🙏🌟🤓

  • @Ilovallcats
    @Ilovallcats 8 месяцев назад

    You just helped me to overcome my fear of using AWS services! thank you for making these videos!

  • @MrinmoyRoy1990
    @MrinmoyRoy1990 3 месяца назад +5

    Your voice is so soothing. Came in for tech support and now I'm sleepy.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  2 месяца назад

      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! 😅 🤓

  • @saalimmushtaq3472
    @saalimmushtaq3472 10 месяцев назад +1

    best video I found for learning about s3 and cloudfront, thank you very much🙂

  • @Learner-hg4hj
    @Learner-hg4hj Год назад

    You are an awesome teacher madam ! Your teaching skills ars second to none

  • @EddieMao
    @EddieMao 7 месяцев назад

    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.

  • @samjones4327
    @samjones4327 Год назад +1

    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!!!

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад +2

      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! 🥰

    • @samjones4327
      @samjones4327 Год назад +1

      @@TinyTechnicalTutorials I will definitely let you know! Thank U 4 the encouragement! I appreciate it!!

  • @OsccarMartinez-oo1or
    @OsccarMartinez-oo1or 3 месяца назад

    Awesome, thanks for the explanation!!!

  • @maacharya
    @maacharya Год назад

    Thank you for your clear and concise instruction.

  • @KarlMcClelland
    @KarlMcClelland 6 месяцев назад

    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.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  6 месяцев назад

      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

  • @mikemagan2459
    @mikemagan2459 8 месяцев назад +1

    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?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  7 месяцев назад

      Hi Mike! 👋 Apologies...I'm super behind on comments! Were you able to get this working?

  • @JJ-ki2mw
    @JJ-ki2mw Год назад

    Super easy to follow, thanks for making it simple

  • @Revanth2344
    @Revanth2344 Месяц назад

    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?

  • @MindsetLearn
    @MindsetLearn Год назад

    Thanks so much - really helpful!

  • @AjayRayamajhijung
    @AjayRayamajhijung 9 месяцев назад +1

    what the difference between using this method and using static hosting enable

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  8 месяцев назад

      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. 😊

  • @jenniferkirschnickduffy2098
    @jenniferkirschnickduffy2098 9 месяцев назад

    Very helpful - easy to follow. Thank you!!

  • @TheGamerVillage
    @TheGamerVillage Год назад +1

    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?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад

      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

  • @slava_in3757
    @slava_in3757 5 месяцев назад

    Very helpful, many thanks!

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  4 месяца назад +1

      I'm so glad it helped! Thanks for watching, and for such a nice comment! 🙏🤓🌟

  • @arooly
    @arooly Год назад

    Thank you it worked perfect for me, for Firefox I set also redirect HTTP to HTTPS.

  • @pengyan2060
    @pengyan2060 Год назад +2

    Thank you. And your voice is sweet

  • @asilanelson8561
    @asilanelson8561 11 месяцев назад

    Thank you, simple and clear.

  • @ahmedyusuf4912
    @ahmedyusuf4912 3 месяца назад +1

    why i'm getting an error message once i deply teh domain name .....

  • @sankargnayagam
    @sankargnayagam Год назад +1

    can you please explain "object cache" ? really confused about miminum ttl , maximum ttl and default time to live...

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад

      Hi Sankar! 👋 Maybe this will help? docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html

    • @sankargnayagam
      @sankargnayagam Год назад

      @@TinyTechnicalTutorials i didn't understand clearly..so can you explain from you side !!!!

  • @jasonwalker7166
    @jasonwalker7166 Год назад +1

    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?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад +1

      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! 😊

  • @kuruxxii
    @kuruxxii 4 месяца назад +2

    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.

    • @tycoonpraise
      @tycoonpraise 4 месяца назад

      Same man
      Found a solution yet?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  4 месяца назад

      Double-check that you updated the policy with the name of your bucket? 🤔

  • @dibll
    @dibll Год назад +1

    When will your AWS solution architect course be available on Udemy?Also what's the purpose of Origin Access Control while creating Distribution?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад

      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! 😎

  • @bocephusmode4969
    @bocephusmode4969 Год назад +1

    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.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад

      Ooh, great suggestion! I'll add this to my list for future topics. Thanks for the comment! 😊

  • @electronlibre4163
    @electronlibre4163 Год назад

    Thanks for the video, you only missed the "origin shield" part, that handles cross regions requests 🙂

  • @steveroy832
    @steveroy832 6 месяцев назад

    Great content!

  • @rohitkumbhoje9372
    @rohitkumbhoje9372 4 месяца назад +1

    in Edit bucket policy i want that code where i get

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  4 месяца назад

      Hi Rohit! 👋 Sorry for the slow response! This policy is actually generated by CloudFront...more detail around 05:26 in the video. 😊

  • @BOSSBROC
    @BOSSBROC Год назад +1

    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?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад

      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

  • @dancruz7845
    @dancruz7845 Год назад

    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!

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад

      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

  • @EdchelStephenNini
    @EdchelStephenNini 14 дней назад

    Thank you! :)

  • @tycoonpraise
    @tycoonpraise 4 месяца назад +1

    @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?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  4 месяца назад

      Hi @tycoonpraise! 👋 Hmmm...you updated your bucket policy?

    • @tycoonpraise
      @tycoonpraise 4 месяца назад +1

      @@TinyTechnicalTutorials thanks i really appreciate you getting back to me
      I've fixed it, its a little error from my side
      Thanks 🙂

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  2 месяца назад

      Glad you got it working! 💪🤓

  • @kenji4861
    @kenji4861 Месяц назад

    Thank you for this vid

  • @PetPalsParadise_
    @PetPalsParadise_ 7 месяцев назад +1

    Hello miss , while creating cloudfront it asks for account verification can you please help in rising a case so my account get verified

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  7 месяцев назад

      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

    • @PetPalsParadise_
      @PetPalsParadise_ 6 месяцев назад

      @@TinyTechnicalTutorials I appreciate that , thank you hav a nice day 😁

  • @cstanleyhns
    @cstanleyhns 9 месяцев назад

    Good video, thanks

  • @luciferx9849
    @luciferx9849 Год назад +1

    Hello, Can you make a video about "AWS Elastic Beanstalk" ❣

  • @MyPodie
    @MyPodie 11 месяцев назад

    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

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  11 месяцев назад

      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!

    • @MyPodie
      @MyPodie 11 месяцев назад

      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! 😊

  • @Sanjay-rs3ll
    @Sanjay-rs3ll 6 месяцев назад +1

    "Your account must be verified before you can add new cloudfront resources"
    Please give solution to this

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  6 месяцев назад +1

      Maybe this will help? repost.aws/questions/QULXHEAzC7Sai6_LTLNYn83Q/your-account-must-be-verified-before-you-can-add-new-cloudfront-resources

    • @TheRiyazSaiyed
      @TheRiyazSaiyed 6 месяцев назад

      Hi, did you find solution to this ?

  • @christophfanalways215
    @christophfanalways215 Год назад

    I really how you make your videos using easy to understand examples.

  • @duongucthang2191
    @duongucthang2191 Год назад +1

    can you make a video about create a web chat with aws

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад

      Hi Duong! 😊 Can you give me a bit more detail on this? Not totally sure I'm following...

  • @MdShamimRahman
    @MdShamimRahman Год назад

    When did "Meryl Streep" started to teach AWS, I thought she ran for Oscars!

  • @bhavikvegad3449
    @bhavikvegad3449 Год назад

    hi there , its a good content ,create vpc peering video also

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад +1

      Ooh, great suggestion! I'll add it to my list. Thanks for watching! 😊

    • @bhavikvegad3449
      @bhavikvegad3449 Год назад +1

      @@TinyTechnicalTutorials may i know your name please !!

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад +1

      It's Amber. 😊

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад +1

      Hey @bhavikvegad3449! 😊 It took me a while, but just posted a video about VPC peering: ruclips.net/video/ZFe70EZqU18/видео.html. Hope it helps! 💪

    • @bhavikvegad3449
      @bhavikvegad3449 Год назад

      @@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 ...

  • @Ashleysarash
    @Ashleysarash Год назад

    you are so beautiful

  • @UsaSzerelem
    @UsaSzerelem Год назад +3

    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?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад

      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.

    • @raghavkulkarni8744
      @raghavkulkarni8744 8 месяцев назад

      @@TinyTechnicalTutorials Thanks for wonderful video.
      I'm facing the issue and unable to get resolved after following repost.

  • @taycynne8517
    @taycynne8517 10 месяцев назад +1

    Hi, could i just ask why did you delete the whole S3 n the distribution? Just curious.. is it to save costs?

  • @xyz_only_10x
    @xyz_only_10x Год назад +2

    video on SNS

  • @dfelton316
    @dfelton316 Месяц назад

    How come when I follow AWS's instructions I fail but when I follow yours I'm successful 😂
    Thanks Big Time TTT 💙💪🏾✊🏾🙏🏾

  • @adnantariq3346
    @adnantariq3346 Месяц назад

    Cute Cat! Very informative Video, thank you!

  • @njamutohbertrand9318
    @njamutohbertrand9318 Год назад +1

    Thank you so much!
    What if you followed same procedure but your image doesn't load on the final website?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад

      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.

  • @MartinBecker-s7s
    @MartinBecker-s7s 4 месяца назад +1

    Your simplification makes it intelligible. Great!

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  3 месяца назад

      Yay! I'm so glad it was helpful. Thanks for watching, and for the nice comment! 🙏🌟🤓

  • @sandyad1560
    @sandyad1560 5 месяцев назад +1

    same steps i am following up...
    but getting an access denied.. why is that so

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  4 месяца назад

      Hi Sandya! 👋 So sorry for the slow response! Were you able to figure this out?

    • @sandyad1560
      @sandyad1560 4 месяца назад

      @@TinyTechnicalTutorials Thanks for following up... Now its working

    • @kuruxxii
      @kuruxxii 4 месяца назад

      Hi friend! I followed every steps and I'm having the same problem right now. Could you tell me how you solved it? Thanks.

    • @kuruxxii
      @kuruxxii 4 месяца назад

      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.

    • @tycoonpraise
      @tycoonpraise 4 месяца назад

      ​@@sandyad1560 am having similar issue bro
      How'd you fix urs ?

  • @MagdalenaPizarroOrtega
    @MagdalenaPizarroOrtega 4 месяца назад

    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?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  2 месяца назад

      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. 🤓

  • @wadanemacho
    @wadanemacho Год назад +1

    I fall in love with your voice, couldn't concentrate in the content..

  • @oleggorenkov
    @oleggorenkov 11 месяцев назад

    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?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  11 месяцев назад +1

      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! 😊

  • @avimehenwal
    @avimehenwal 10 месяцев назад

    Nice video. Small question
    Does automatically created IAM roles for CloudFront-s3 also automatically gets deleted when re remove the resources from console ?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  10 месяцев назад +1

      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!

  • @danielmurphy9096
    @danielmurphy9096 7 месяцев назад

    Great vid. But it's still crazy how many steps AWS has to create a CDN with all of their services and buckets.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  7 месяцев назад +1

      Thanks so much, Daniel! 🙏🌟🤓 Job security for people who know how to do it?? 😂

  • @ahpek199
    @ahpek199 3 месяца назад

    Thank you so much. This is awesome tutorial. I get my page show up too with cloudfront.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  3 месяца назад

      Awesome work! Thanks for watching, and for such a nice comment! 🤓🌟🙏

  • @NiteLifeBuzzPage
    @NiteLifeBuzzPage 2 месяца назад

    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.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  2 месяца назад +1

      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! 🙏🤓

    • @NiteLifeBuzzPage
      @NiteLifeBuzzPage 2 месяца назад

      @@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.

  • @banatubetube792
    @banatubetube792 5 месяцев назад

    You are so awesome and you look hot too.

  • @praveensequeira1525
    @praveensequeira1525 Год назад

    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 😊

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад +1

      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!! 🙏🌟😊

  • @Varkoff
    @Varkoff Год назад

    Thank you for this video !!

  • @BeNetCoders
    @BeNetCoders 2 месяца назад

    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.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  2 месяца назад

      Thanks so much for the kind words, @BeNetCoders!! 🙏🤓🌟 Glad it was helpful!

  • @rajendrawarrier7274
    @rajendrawarrier7274 8 месяцев назад

    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.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  8 месяцев назад

      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!

  • @pulodian
    @pulodian 8 месяцев назад

    Hi, thanks for sharing yoru knowledge about CloudFront, policy thing really helped me.

  • @יואב-ז4ג
    @יואב-ז4ג 5 месяцев назад

    I recently commented on another aws video - and once again you saved me with another clear explanation!!!
    Thank you once again :)

  • @glee540
    @glee540 Год назад

    OMG! finally a nice voice in this IT, cybersecurity world, im going to subcribe to this page.

  • @Stwithcode
    @Stwithcode 7 месяцев назад

    Excellent exactly what i needed super short and quick straight to the point tutorial. thank you.

  • @shrinidhig3672
    @shrinidhig3672 6 месяцев назад

    easiest and crystal clear info given. felt just like a cake walk.. thanks a lot ❤

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  6 месяцев назад

      Awwww...what a nice comment! Thanks so much! I'm glad it helped. 🙏🌟🤓

  • @david2358
    @david2358 11 месяцев назад

    subscribed, thank you for the video!! Clear and to the point.

  • @sudarshanyadav3143
    @sudarshanyadav3143 7 месяцев назад

    very well explained. Thank you

  • @HarishKumar-lz2nw
    @HarishKumar-lz2nw 8 месяцев назад

    Just Awesome. I love the way you explain - Thanks

  • @alinuralmaz
    @alinuralmaz Год назад

    You saved my project..

  • @akim_khan
    @akim_khan Год назад

    thank you, nicely explained.

  • @gurvirbaraich
    @gurvirbaraich Год назад

    Amazing videos, your the best AWS teacher.

  • @vback4238
    @vback4238 Год назад

    You are great!

  • @kpandu2418
    @kpandu2418 Год назад

    Thank you!!!