Deploy Static Website to AWS S3 with HTTPS using CloudFront

Sdílet
Vložit
  • čas přidán 1. 09. 2021
  • Host a static website to Amazon AWS S3.
    Static websites are faster to load and cost extremely less to host.
    ⭐ In this video we will:
    1) Deploy a static website to Amazon S3
    2) Create an SSL Certificate using AWS Certificate Manager
    3) Create a CloudFront Distribution for a static Website and attach an SSL certificate to it.
    4) Configure DNS settings to point to the domain name
    📄 AWS Documentation Link - docs.aws.amazon.com/AmazonS3/...
    🟢 You can follow me in the links below to stay updated.
    Subscribe on CZcams - / @shrikulkarni
    Twitter - / shrik_rk
    LinkedIn - / shrikul
    Facebook - / shrik.rk
    Blog - blog.shrikulkarni.com/
    #StaticWebsite #AWS #S3 #CloudFront #Certificate #SSL #HTTPS
  • Věda a technologie

Komentáře • 73

  • @maykayz
    @maykayz Před 11 měsíci +1

    I have been watching a couple videos on this topic and having a lot of troubles getting the site up and running in the last few days. You saved me man. I got it in within 30 minutes. This is way more clearer and easier. Best one !

  • @williamfinlay4403
    @williamfinlay4403 Před rokem +1

    Thanks for this, straight to the point with no big ego to get in the way.

  • @Blackcoffee715
    @Blackcoffee715 Před 6 měsíci

    Thanks a lot for this video.
    I had previously done the same with Elastic Beanstalk(Node-Express) but when it came to S3(Angular) things came to a halt. But now it's deployed successfully.
    Thanks again ! & do keep posting tricky content like this.

  • @waden9933
    @waden9933 Před 11 měsíci +3

    Thank you this worked very well. If your domain is hosted on AWS Rt. 53 you may need to remove the previous A records and add new ones that point to the CloudFront url instead. This was the work around I did instead of adding the CNAME record in the final step.

  • @logicalvaibhav
    @logicalvaibhav Před 5 měsíci

    100% working solution. all the steps are in single video.
    subscribed, liked, shared all 3 tasks done
    thanks

  • @pishflaps
    @pishflaps Před rokem

    Excellent tutorial - tip 10 minutes in fixed access problem. Thanks!!

  • @edwinottenbacher9062
    @edwinottenbacher9062 Před 2 lety

    Thank you.. everything worked perfect..! I have six domains so had to watch your video multiple times so I didn't miss a step..

  • @venera01010
    @venera01010 Před rokem

    Thank you so much! Clear and simple explanation + good English

  • @user-us7rg4cd6p
    @user-us7rg4cd6p Před 3 měsíci

    Found this video very useful! Good job
    Its very unfair that this channel has just 350 subs. CZcams algo is weird.

  • @rohanpatade4026
    @rohanpatade4026 Před měsícem

    wow, one of the simplest tutorial on this topic. thank you.

  • @jaxoncrosmas9551
    @jaxoncrosmas9551 Před 4 měsíci

    Thank you! This was explained very clearly and worked exactly as I needed.

  • @user-he3rp7cz6j
    @user-he3rp7cz6j Před rokem +1

    thanks for sharing. but finally, you revealed all the bucket names on your video :))

  • @yuxueyuan
    @yuxueyuan Před rokem

    Your content is the best!!! so underrated
    pls keep it coming

  • @userozancinci
    @userozancinci Před 11 měsíci

    you are THE BEST! Thanks a lot. Big Respect!!!!

  • @losanm
    @losanm Před rokem

    Excellent tutorial, thank you very much!

  • @Gouravpandey1
    @Gouravpandey1 Před 8 měsíci

    Thanks! Direct to the point!

  • @danielpinheiro7516
    @danielpinheiro7516 Před 5 měsíci

    Amazing tutorial, helped me a lot! Thank you!

  • @henryhunt4650
    @henryhunt4650 Před 7 měsíci

    Great work, thanks mate.

  • @bkanth2007
    @bkanth2007 Před 4 měsíci

    Worked well. Thank you.

  • @cru01
    @cru01 Před 2 měsíci

    thank you. this worked very well and was quite helpful.

  • @GetOzProtocol
    @GetOzProtocol Před 11 měsíci

    thanks for the tutorial man :)

  • @phillip6746
    @phillip6746 Před rokem

    Great tutorial. Thanks

  • @VIGNESHPRAJAPATI
    @VIGNESHPRAJAPATI Před 2 lety +1

    Nice one. Thanks.

  • @sayedhasancp
    @sayedhasancp Před 10 měsíci

    Thanks so much! it helps a lot...

  • @rodneykahane4994
    @rodneykahane4994 Před 4 měsíci

    great video!

  • @jorgetp9089
    @jorgetp9089 Před rokem +1

    Thank you!!! Saved my arse

  • @keremnalbant
    @keremnalbant Před rokem

    Really good tutorial!!!!!!!!!!

  • @yekohein1528
    @yekohein1528 Před 3 měsíci

    Thank you so much.

  • @HaroonAshrafAwan
    @HaroonAshrafAwan Před 2 lety

    Hello Shrikrishna, it's your 3rd subscriber here. Thank you so much for the awesome tutorial. I look forward to more of these.
    Can I get in touch with you somehow?
    Thanks

    • @shrikulkarni
      @shrikulkarni  Před 2 lety

      Hello Haroon, yes. You can email me on shri@vyomtara.com. looking forward to hear from you 😀

  • @X28Project
    @X28Project Před rokem

    Thank you!

  • @chitrabk8575
    @chitrabk8575 Před 10 měsíci

    uttam 👌

  • @boosteraftermath
    @boosteraftermath Před rokem

    Thanks!

  • @isurubandara8987
    @isurubandara8987 Před 2 lety

    this is great..thanks

  • @sukhanthn5352
    @sukhanthn5352 Před 2 lety

    good content keep it up.

  • @kparag01
    @kparag01 Před 8 měsíci

    Got atleast one kulkarni in aws 😍

  • @shahjahanravjee8639
    @shahjahanravjee8639 Před rokem

    Thanks for the effort, very good step by step walkthrough. I have a question. I tried S3 with Route 53 along with my domain name, but w/o the SSL certificate and that worked. However, I am wondering if I use your option do I need to remove Route 53 ?

    • @shrikulkarni
      @shrikulkarni  Před rokem

      You should be able to use route 53 with SSL certificate as well.

  • @user-nm6ge6sh6i
    @user-nm6ge6sh6i Před 11 měsíci

    goat

  • @witchestify
    @witchestify Před 11 měsíci

    Hello thanks for the video tutorial, love it. I have a question what if I want to add an alternate alias for my cloudfront with the same s3 bucket? should I request another certificate?

    • @shrikulkarni
      @shrikulkarni  Před 11 měsíci

      I have never tried that but yes you will need to request another cert for it.

  • @wertyuna5
    @wertyuna5 Před 2 lety

    Subscribed ! If i bought the domain name from route 53, so i still need to do the same process you did on google domains ?

    • @shrikulkarni
      @shrikulkarni  Před 2 lety +3

      If domain is bought from route 53 then no need to do anything on google domains. You will still need to add those records i added in google domains but in route 53 instead of google domains.

  • @be_b_50_ankitkumar_singh79

    It's your 25th subscrber here :p ! Bhai this process is completely free right?

    • @shrikulkarni
      @shrikulkarni  Před 2 lety +1

      Thanks, dude. The process is free. Although You will be charged for data stored on S3, and Network transfer costs for CloudFront. It totally depends on how big is the site and how many people are visiting.
      For most of the normal websites, it costs only a few cents :)

    • @be_b_50_ankitkumar_singh79
      @be_b_50_ankitkumar_singh79 Před 2 lety

      @@shrikulkarni oh cool got it. Thanks for the info. Wish you good luck with your channel.

  • @iamsantoshnayak
    @iamsantoshnayak Před rokem

    in the last step i have a main domain but you have a sub-domain. so when i am trying to add a new CNAME record with name as my base url and value as cloudfront working url, its saying record data is invalid. what to do? please help

    • @shrikulkarni
      @shrikulkarni  Před rokem +1

      for base url you can specify www as domain. If you want to use absolute base url like example.com then depending on domain registrar you can either leave it blank or use @.

  • @tomerweinbach4059
    @tomerweinbach4059 Před rokem

    To be able to get the certificate I have to buy a custom domain from aws right? otherwise it doesn't allow to get it?

    • @shrikulkarni
      @shrikulkarni  Před rokem

      You can buy domain from any domain registrar.

  • @kartheeitsme1
    @kartheeitsme1 Před rokem

    One question, the S3 URL would be still not secured. So there is a security issue with the S3 URL. Is that correct ?

  • @vinayh3388
    @vinayh3388 Před rokem

    If I used aws certificate manger it will cost extra price or its free...?

  • @shubhadajoshi4145
    @shubhadajoshi4145 Před rokem

    it says "Record cannot be added, conflicts with A or AAAA records" can i delete A record?

    • @shrikulkarni
      @shrikulkarni  Před rokem +1

      DNS A record points to the IP address and CNMAE points to the URL. If there is a conflict you can delete the old record. Just to be safe copy it somewhere before deleting it in case needed again.

    • @shubhadajoshi4145
      @shubhadajoshi4145 Před rokem +1

      @@shrikulkarni Thank you so much! It worked...

  • @jevonne8160
    @jevonne8160 Před 2 měsíci

    could you do an example with a domain from godaddy?

    • @shrikulkarni
      @shrikulkarni  Před 2 měsíci

      Hey, It will be same with Godaddy or any other Domain registrar. you need to go into DNS and add required CNAME entry.

  • @pramodhkrishna9888
    @pramodhkrishna9888 Před rokem

    how did you get the SSL certificate

    • @shrikulkarni
      @shrikulkarni  Před rokem

      Video has instructions on how to get a cert. Forward to 5:55

  • @emadmahmoud7168
    @emadmahmoud7168 Před 10 měsíci

    Are those services free all time or only for 12 month ?

    • @shrikulkarni
      @shrikulkarni  Před 10 měsíci

      Please check on AWS website. They mention what services are under the free tier and what are always free. The list might changed since I recorded this video.

  • @andersonsibedwo6404
    @andersonsibedwo6404 Před rokem +2

    Very confusing, why not use aws dns?

    • @shrikulkarni
      @shrikulkarni  Před rokem

      Simply to save money. Aws DNS is chargeable. But its fairly easy to follow awa documentation and use it.

    • @clashofkings7
      @clashofkings7 Před rokem +1

      @@shrikulkarni does this cost money?? Like for hosting on S3 bucket? If so how much would it charge per year?

    • @shrikulkarni
      @shrikulkarni  Před rokem +1

      @@clashofkings7 depends on what region you use. Check out aws S3 pricing on their website for region you want to use. Also consider data transfer cost for your calculations.

  • @akshitmittal1251
    @akshitmittal1251 Před 8 měsíci

    how to get a domain free
    fo rpractice

    • @shrikulkarni
      @shrikulkarni  Před 8 měsíci

      Free is rare buddy. You can find .in or some other TLDs for very low cost for first year list Rs 199. Use it for a year and let it expire.

    • @akshitmittal1251
      @akshitmittal1251 Před 8 měsíci

      Can you please mention any specific website where I can get that 200 INR subscription. It will reallyyy be helpful. Thanks for replying :))) @@shrikulkarni