Host a static website on AWS S3 using Cloud Front Distribution and Route53

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 มิ.ย. 2024
  • Host a static website on AWS S3, cache the content in edge locations via cloudfront, enable encryption in transit via ssl certificate and also connect it to your domain via Route 53.
    Timestamps:
    00:00 Introduction
    00:33 Understanding CloudFront
    02:40 Create Amazon S3 bucket
    07:02 Redirect non-www URL to www URL via S3 bucket
    08:20 Create SSL certificate in AWS Certificate Manager
    11:09 Create a CloudFront distribution
    14:28 Invalidate CloudFront cache
    16:05 Link CloudFront distribution to Route53
    Link to Amazon S3 bucket policy examples
    docs.aws.amazon.com/AmazonS3/...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 29

  • @gowthamip6688
    @gowthamip6688 หลายเดือนก่อน

    Thank you for providing valuable information about aws

  • @jattjamla
    @jattjamla 2 ปีที่แล้ว

    Great article with step by step instructions that anyone can follow. Thanks @Vibhor Gupta for carving out some time to put this together. Really helpful.

  • @joeflanagan2971
    @joeflanagan2971 11 หลายเดือนก่อน +1

    This was a very patient and detailed description but unfortunately it did not work for me. I am more a hobbyist than an IT person but I certainly appreciate all the work that went into this video. After many attempts my question is this: Has anyone been successful getting this to work? Also has AWS changed significantly in the two years since the video was produced?
    Thank you for all the hard work!

  • @imanek7669
    @imanek7669 2 ปีที่แล้ว +1

    This is an Amazing detailed video, really helped me a lot, thank you so much

  • @mahadikpratik1
    @mahadikpratik1 2 ปีที่แล้ว

    Best part about video it had good flow explaining hosting hosting of website with important concepts like Cloudfront with http to https routing ...Thanks for the video Vibhor

  • @mahmudhossain3398
    @mahmudhossain3398 10 หลายเดือนก่อน

    Nice tutorial. Very detailed and informative. Keep up the good work.

  • @PaulEllisBIGDATA
    @PaulEllisBIGDATA 2 ปีที่แล้ว

    Awesome. Subscribed to this channel.

  • @lylehenkeman9978
    @lylehenkeman9978 ปีที่แล้ว

    great explanation!

  • @ArunKumar-pm6fn
    @ArunKumar-pm6fn 2 ปีที่แล้ว

    Good one VG. keep it up.

  • @lionessstephanie5
    @lionessstephanie5 ปีที่แล้ว

    Thanks so muchhh. This helped me a lott

  • @akhileshpatelpython6463
    @akhileshpatelpython6463 ปีที่แล้ว

    Thank you so much brother

  • @varuntiwarijee
    @varuntiwarijee 2 ปีที่แล้ว

    Thanks vibhor, but if i correctly remember then earlier we do not need to edit bucket policy like this. correct me please if i am wrong

  • @zachsandvik1867
    @zachsandvik1867 2 ปีที่แล้ว +1

    Hi Vibhor.
    FIrst of all I would like to thank you for your efforts to explain the issue. I followed your directions thoroughly.
    I noticed some differences.
    I cannot create CNAME records in Route 53.
    Of course AWS consoles change by the week. Buttons to add CNAMES records are not available. So I created a csv file of the CNAME records. (There is a button available to create a csv file)
    Creating CNAME records manually does not work!!! Because AWS will generate an error respons!
    So finally I didn't succeed creating CNAME records.
    (I guess these CNAME records are needed to validate the certificate)
    Next To validate my certificate I used the email option because DNS validation does not work.
    Finally my certificate has been validated and I am able to choose the certificate inside the Cloudfront Distributions.
    So at this moment I only have NS, SOA and 2 A Records inside my Hosted Zone.
    Can I leave the hosted zone without CNAME Records?
    I am using a Hugo static website.
    Do I need to take more actions to publish Hugo static sites?
    I really appreciate your support! ;-)

  • @vallamkondusaivarun4331
    @vallamkondusaivarun4331 ปีที่แล้ว

    should we purchase that .net domain for hosting website as shown

  • @sureshandem780
    @sureshandem780 11 หลายเดือนก่อน

    hi i have a domain name registered in route53 and i have created 2 records ,its been more than 1 hr but still i am not able to access my website It says "This site can’t be reached" , but i am able to access with static website hosting URL

  • @danielfootc
    @danielfootc 8 หลายเดือนก่อน

    Hi , can we still create a bucket in AP region? Why do you create the bucket in N.Virginia?

  • @akashjangwal7502
    @akashjangwal7502 ปีที่แล้ว

    I got error while edit bucket policy search many things and paste again but did not get result

  • @swapnilpatil4219
    @swapnilpatil4219 2 ปีที่แล้ว

    How record created ?

  • @venkychary8637
    @venkychary8637 2 ปีที่แล้ว

    Wow simple cool

  • @ipre4playgaming587
    @ipre4playgaming587 2 ปีที่แล้ว +1

    Can you make same video with terraform

  • @prateekmishrapmis7987
    @prateekmishrapmis7987 2 ปีที่แล้ว

    great

  • @sameerkhatri5765
    @sameerkhatri5765 2 ปีที่แล้ว

    hi vibhor I created a bucket and store a 3d model which is sort of static website file containing index.html files but when i use and add the file link to share on other website i was not able to see the 3d model actual problem is s3 don't allow to use generated link in the ifram so how can we remove that security please help

  • @padmavathykolli6844
    @padmavathykolli6844 2 ปีที่แล้ว

    How much time it take to get validation status is success in ACM

  • @AlbertEinsteinOfficialYt
    @AlbertEinsteinOfficialYt ปีที่แล้ว

    I have wordpress website how i can ☺️

  • @swapnilpatil4219
    @swapnilpatil4219 2 ปีที่แล้ว +1

    Where from bucket policy pasted ?

    • @padmavathykolli6844
      @padmavathykolli6844 2 ปีที่แล้ว +1

      By using policy generator we can generate and paste