Deploy Static Website to AWS S3 with HTTPS using CloudFront

  Рет қаралды 48,955

Shrikrishna Kulkarni

Shrikrishna Kulkarni

Күн бұрын

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.amazo...
🟢 You can follow me in the links below to stay updated.
Subscribe on KZbin - / @shrikulkarni
Twitter - / shrik_rk
LinkedIn - / shrikul
Facebook - / shrik.rk
Blog - blog.shrikulka...
#StaticWebsite #AWS #S3 #CloudFront #Certificate #SSL #HTTPS

Пікірлер: 75
@logicalvaibhav
@logicalvaibhav 7 ай бұрын
100% working solution. all the steps are in single video. subscribed, liked, shared all 3 tasks done thanks
@KarthikKumaresan-k1o
@KarthikKumaresan-k1o 6 ай бұрын
Found this video very useful! Good job Its very unfair that this channel has just 350 subs. KZbin algo is weird.
@rohanpatade4026
@rohanpatade4026 3 ай бұрын
wow, one of the simplest tutorial on this topic. thank you.
@williamfinlay4403
@williamfinlay4403 Жыл бұрын
Thanks for this, straight to the point with no big ego to get in the way.
@jaxoncrosmas9551
@jaxoncrosmas9551 6 ай бұрын
Thank you! This was explained very clearly and worked exactly as I needed.
@waden9933
@waden9933 Жыл бұрын
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.
@Gouravpandey1
@Gouravpandey1 10 ай бұрын
Thanks! Direct to the point!
@jinlangeng577
@jinlangeng577 Ай бұрын
thank you very much. that help me a lot.😀
@kparag01
@kparag01 10 ай бұрын
Got atleast one kulkarni in aws 😍
@sayedhasancp
@sayedhasancp Жыл бұрын
Thanks so much! it helps a lot...
@witchestify
@witchestify Жыл бұрын
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 Жыл бұрын
I have never tried that but yes you will need to request another cert for it.
@rodneykahane4994
@rodneykahane4994 6 ай бұрын
great video!
@keremnalbant
@keremnalbant Жыл бұрын
Really good tutorial!!!!!!!!!!
@wertyuna5
@wertyuna5 2 жыл бұрын
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 2 жыл бұрын
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.
@kartheeitsme1
@kartheeitsme1 Жыл бұрын
One question, the S3 URL would be still not secured. So there is a security issue with the S3 URL. Is that correct ?
@shrikulkarni
@shrikulkarni Жыл бұрын
Yes. Thats correct.
@kartheeitsme1
@kartheeitsme1 Жыл бұрын
@@shrikulkarni Thanks
@chitrabk8575
@chitrabk8575 Жыл бұрын
uttam 👌
@vinayh3388
@vinayh3388 Жыл бұрын
If I used aws certificate manger it will cost extra price or its free...?
@shrikulkarni
@shrikulkarni Жыл бұрын
It's free.
@PhamYouTu
@PhamYouTu Жыл бұрын
thanks for sharing. but finally, you revealed all the bucket names on your video :))
@DeshonMorgan-rt3hz
@DeshonMorgan-rt3hz 29 күн бұрын
Thank you so much. this was very helpful
@maykayz
@maykayz Жыл бұрын
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 !
@yekohein1528
@yekohein1528 5 ай бұрын
Thank you so much.
@jorgetp9089
@jorgetp9089 Жыл бұрын
Thank you!!! Saved my arse
@andersonsibedwo6404
@andersonsibedwo6404 2 жыл бұрын
Very confusing, why not use aws dns?
@shrikulkarni
@shrikulkarni 2 жыл бұрын
Simply to save money. Aws DNS is chargeable. But its fairly easy to follow awa documentation and use it.
@clashofkings7
@clashofkings7 Жыл бұрын
@@shrikulkarni does this cost money?? Like for hosting on S3 bucket? If so how much would it charge per year?
@shrikulkarni
@shrikulkarni Жыл бұрын
@@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.
@VIGNESHPRAJAPATI
@VIGNESHPRAJAPATI 2 жыл бұрын
Nice one. Thanks.
@cru01
@cru01 4 ай бұрын
thank you. this worked very well and was quite helpful.
@Blackcoffee715
@Blackcoffee715 8 ай бұрын
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.
@jevonne8160
@jevonne8160 4 ай бұрын
could you do an example with a domain from godaddy?
@shrikulkarni
@shrikulkarni 4 ай бұрын
Hey, It will be same with Godaddy or any other Domain registrar. you need to go into DNS and add required CNAME entry.
@danielpinheiro7516
@danielpinheiro7516 7 ай бұрын
Amazing tutorial, helped me a lot! Thank you!
@edwinottenbacher9062
@edwinottenbacher9062 2 жыл бұрын
Thank you.. everything worked perfect..! I have six domains so had to watch your video multiple times so I didn't miss a step..
@userozancinci
@userozancinci Жыл бұрын
you are THE BEST! Thanks a lot. Big Respect!!!!
@yuxueyuan
@yuxueyuan Жыл бұрын
Your content is the best!!! so underrated pls keep it coming
@bkanth2007
@bkanth2007 6 ай бұрын
Worked well. Thank you.
@venera01010
@venera01010 Жыл бұрын
Thank you so much! Clear and simple explanation + good English
@GetOzProtocol
@GetOzProtocol Жыл бұрын
thanks for the tutorial man :)
@henryhunt4650
@henryhunt4650 9 ай бұрын
Great work, thanks mate.
@shahjahanravjee8639
@shahjahanravjee8639 Жыл бұрын
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 Жыл бұрын
You should be able to use route 53 with SSL certificate as well.
@akshitmittal1251
@akshitmittal1251 10 ай бұрын
how to get a domain free fo rpractice
@shrikulkarni
@shrikulkarni 10 ай бұрын
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 10 ай бұрын
Can you please mention any specific website where I can get that 200 INR subscription. It will reallyyy be helpful. Thanks for replying :))) @@shrikulkarni
@iamsantoshnayak
@iamsantoshnayak Жыл бұрын
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 Жыл бұрын
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 @.
@pishflaps
@pishflaps Жыл бұрын
Excellent tutorial - tip 10 minutes in fixed access problem. Thanks!!
@HaroonAshrafAwan
@HaroonAshrafAwan 3 жыл бұрын
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 3 жыл бұрын
Hello Haroon, yes. You can email me on shri@vyomtara.com. looking forward to hear from you 😀
@phillip6746
@phillip6746 Жыл бұрын
Great tutorial. Thanks
@PedroZankh
@PedroZankh Жыл бұрын
goat
@X28Project
@X28Project Жыл бұрын
Thank you!
@boosteraftermath
@boosteraftermath Жыл бұрын
Thanks!
@tomerweinbach4059
@tomerweinbach4059 Жыл бұрын
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 Жыл бұрын
You can buy domain from any domain registrar.
@losanm
@losanm Жыл бұрын
Excellent tutorial, thank you very much!
@emadmahmoud7168
@emadmahmoud7168 Жыл бұрын
Are those services free all time or only for 12 month ?
@shrikulkarni
@shrikulkarni Жыл бұрын
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.
@pramodhkrishna9888
@pramodhkrishna9888 Жыл бұрын
how did you get the SSL certificate
@shrikulkarni
@shrikulkarni Жыл бұрын
Video has instructions on how to get a cert. Forward to 5:55
@be_b_50_ankitkumar_singh79
@be_b_50_ankitkumar_singh79 2 жыл бұрын
It's your 25th subscrber here :p ! Bhai this process is completely free right?
@shrikulkarni
@shrikulkarni 2 жыл бұрын
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 2 жыл бұрын
@@shrikulkarni oh cool got it. Thanks for the info. Wish you good luck with your channel.
@shubhadajoshi4145
@shubhadajoshi4145 Жыл бұрын
it says "Record cannot be added, conflicts with A or AAAA records" can i delete A record?
@shrikulkarni
@shrikulkarni Жыл бұрын
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 Жыл бұрын
@@shrikulkarni Thank you so much! It worked...
@isurubandara8987
@isurubandara8987 2 жыл бұрын
this is great..thanks
@shrikulkarni
@shrikulkarni 2 жыл бұрын
Thank you
@sukhanthn5352
@sukhanthn5352 2 жыл бұрын
good content keep it up.
@shrikulkarni
@shrikulkarni 2 жыл бұрын
Thanks
Amazon S3 - Static Website Hosting with Custom Domain and TLS
16:28
Bryan Krausen
Рет қаралды 29 М.
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,4 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 107 МЛН
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 99 МЛН
Static Website Hosting - AWS CloudFront and S3 - Terraform
32:41
Endre Synnes
Рет қаралды 2,9 М.
S3 Static website hosting with Cloudfront, Route53 and ACM by AWS Avinash Reddy
12:35
Web Hosting Options on AWS - Picking the Right Option for YOU
14:40
Be A Better Dev
Рет қаралды 56 М.
Set up a CloudFront CDN for an S3 Bucket
11:49
Sam Meech-Ward
Рет қаралды 69 М.
80. Can you do private static websites on AWS?
19:12
AWS Bites
Рет қаралды 733
The cloud is over-engineered and overpriced (no music)
14:39
Tom Delalande
Рет қаралды 610 М.
Build with Me: Launch a website on Amazon S3 | AWS Project
8:04
Tech With Lucy
Рет қаралды 122 М.
The Home Server I've Been Wanting
18:14
Hardware Haven
Рет қаралды 145 М.
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,4 МЛН