Check out the next Practical Project here: kzbin.info/www/bejne/hH6Xh5dtm9WNjc0
@NZTechArc Жыл бұрын
You have the best Tutorial, but I do not understand why you would have 2 A records and 2 distributions, into 2 different buckets, why not just 1 A record and 1 www CNAME record in route 53 to the 1 distribution and from the distribution to the bucket??? Could you please comment on this?
@arwamais3 жыл бұрын
Thank you so much, I just used your tutorial to submit a project half an hour ago! Two things to take into consideration: 1- To invalidate a distribution use /* only, I used /* /** and it took me hours getting stuck with a dummy index.html till I tried /* 2- Amazon CloudFront distributions requests the AWS certificate to be in the US East (N. Virginia) Region to create a distribution, otherwise you can see no certificate! Since these two issues took a long time to fix, I thought I would share them to help!
@ark3333 жыл бұрын
Both things happened to me exactly as you say. Thanks so much. Author should pin this comment.
@bytesCraft2 жыл бұрын
SOA - Start of Authority. Thanks for all you do, bro.
@BeABetterDev2 жыл бұрын
Thank you
@michaellim13153 жыл бұрын
Dude, this is a spectacular tutorial. Everything was explained so well and concisely. I'm not ever one to post a comment but I thought I needed to let you know what a great job you did. Got my site up and running thanks to you!
@BeABetterDev3 жыл бұрын
Thanks for such a kind comment Michael. I really appreciate the support and glad the video was able to help you to set up your project! Cheers, Daniel
@mykolaskucinskas94732 жыл бұрын
Probably the best tutorial on KZbin about hosting static websites on Amazon S3 and CloudFront.
@Street.Credit2 жыл бұрын
Str8 up best guide to getting everything working properly! We we able to get a new Street Credit website up and running after technical difficulties watching other tutorials. Appreciate you my guy!
@BeABetterDev2 жыл бұрын
Thank you and glad it helped you to set up your website!
@arnekaufmann28253 жыл бұрын
Damn, you single handedly contributed so much to my hosting that was actually able to pull up my website for a big project 30 min before the deadline, glad i found this vid, keep producing more content like this
@BeABetterDev3 жыл бұрын
Thanks so much Arne and I'm glad I was able to help!
@divyareddy419 Жыл бұрын
Im restarting my career after a long break, thanks to your tutorials, these are helping me greatly, thanks you so much
@BeABetterDev Жыл бұрын
Happy to help!
@msdundars Жыл бұрын
After 2 years still the best and the most accurate content on the topic!
@Greenthum62 жыл бұрын
This was the third tutorial I watched about S3 static hosting and the best of all! Now my system is up and running
@BeABetterDev2 жыл бұрын
Glad to hear!
@aranlufthansa452 жыл бұрын
Trying hard to break into a new tech career out of college and tutorials like this help tremendously. It’s tutorials like this created by people like you that make me truly feel like I am standing on the shoulders of giants like you. Thx
@ashlex7534Ай бұрын
bro but you bought a domain that was part of this course? it's costing minimum $10. what should I do?
@sissys62843 жыл бұрын
This is exactly what I was looking for. I need more projects so I can learn the console. Certification won't get me a j.o.b. without experience. Thank you so much. This is brilliant!
@BeABetterDev3 жыл бұрын
You're very welcome!
@andreirusulica9 ай бұрын
nice work mate, appreciate the content! just a single note to add to it: I think it may be cleaner to have 2 A routes, one for www and one for the non www that point to the same cloudfront distribution. There is no need for 2 buckets and 2 cloudfront distributions.
@isaiah267225 күн бұрын
Yeah, that threw me off. Thanks for this comment lol
@rammstein2723 жыл бұрын
This is the only video on KZbin you need see to answer to the question "How to properly deploy a static web site on AWS"
@lykiamusic2 жыл бұрын
one of the most useful tutorials I've ever watched
@AnonyMole3 жыл бұрын
Couldn't be more clear and useful. Got up and running in minutes with your help.
@BeABetterDev3 жыл бұрын
So glad this was helpful!
@nikhilsharma17423 жыл бұрын
Hello Sir, I am a Developer from India and I find your videos extremely awesome and your content is also great. Please also help us for other practical projects on AWS also. And Thankyou So much for delivering this content.
@BeABetterDev3 жыл бұрын
Hi Nikhil, thanks very much for your kind words. My next video is coming out on Monday and its a Docker Flask App + Aurora Serverless. It's my second in the 'Practical Projects'. Cheers.
@mithunda503 жыл бұрын
First time hitting the like button for an AWS video. Thanks
@BeABetterDev3 жыл бұрын
Thanks debnath! Glad you enjoyed.
@samclark44963 жыл бұрын
Very good tutorial easy to follow and explains process nicely! One thing to note is if your bucket is in a different region as the video, you still have to make sure your certificate is in the region of east Virginia or else the certificate won’t pop up on cloud front. Other than that great tutorial thanks!
@BeABetterDev3 жыл бұрын
Thanks for pointing this out Sam!
@samclark44962 жыл бұрын
@@BeABetterDev Hey just out of curiosity, what if I no longer want to deploy my website? Would I delete the hosted zone on Route 53, or is there an easier way to temporary disable hosting?
@peterharrington4777 Жыл бұрын
Amazing tutorial. I'm here 2 years later and everything works. Thank you
@otifelix Жыл бұрын
Thank you so much this video saved me over $100 because i struggled with this for a long time
@BeABetterDev Жыл бұрын
Glad this helped!
@hungdoan914811 ай бұрын
One of the best tutorials I've watched
@vivekgupta309 Жыл бұрын
very good AWS video series !!! learning a lot from you !!! and very easy to understand English !!!
@BeABetterDev Жыл бұрын
Thanks vivek!
@ibgib2 жыл бұрын
Thanks!
@BeABetterDev2 жыл бұрын
Thank you so much bill for your generosity!
@ibgib Жыл бұрын
@@BeABetterDev I'm looking to renew the certificate here a year later, and I am using Namecheap. Apparently my bright idea was to delete the CNAME record for validation and I am having a hard time finding the verification record info (e.g. around 23:00 in this video). Is there a way to recover these verification records, or do I have to create a new certificate? (EDIT: Nm! found the entries in the certificate details, hidden due to my silly viewport being small...now if I could just push a validation check instead of waiting for their automated system... Thanks again!)
@ngonimaphosa2176 Жыл бұрын
bro i love you. i followed this tutorial and it works perfectly , i was struggling alot before
@morgeegee2772 жыл бұрын
I followed every step and everything worked well. Thank you for this concise and very weel explained tutorial :)
@luiscortes65633 жыл бұрын
Thank you so much!! This is my first time deploying a react js app and was completely lost.
@BeABetterDev3 жыл бұрын
You're very welcome!
@pypelyncar5 ай бұрын
relevant, neat, efficient ! this video helped me out so much, I have to come here and say THANK YOU !! you are the man !
@ayushijohari7462 жыл бұрын
I am so grateful for this tutorial! You explained everything so perfectly, at the same time keeping it super simple for beginners to understand. Job done well!
@BeABetterDev2 жыл бұрын
Thanks so much fort he kind words Ayushi!
@godfreymai62572 ай бұрын
Good work needs recognition. Thanks mate!
@matrixtoogood56013 жыл бұрын
Was looking forward to this ever since the last video!
@BeABetterDev3 жыл бұрын
Hope you enjoyed!
@genefreak Жыл бұрын
Awesome video mate. Precise and to the point. All AWS videos should be like this!
@shavis4811 Жыл бұрын
Crisp clear tutorial. Very helpful and step by step instructions helped me to follow along, thanks much for great tutorial put together.
@vil3n80 Жыл бұрын
thank you so much, you helped me convert my simple 1 bucket static site into two urls and give it a certificate.
@SKR1912 Жыл бұрын
PURE GOLD content...that too FREE!!!
@sheynjila24573 жыл бұрын
Best video and best content ever. Thank you so much.
@BeABetterDev3 жыл бұрын
You're very welcome!
@HimanshuVerma-zn7cb3 жыл бұрын
Very precise, Informative and Eloquently explained. Excellent Stuff . Thanks a bunch
@BeABetterDev3 жыл бұрын
You're very welcome Himanshu!
@shyammohabir82833 жыл бұрын
Dude this is an excellent tutorial - Well done!
@BeABetterDev3 жыл бұрын
Thanks Shyam! Glad you enjoyed :)
@caiyu538 Жыл бұрын
Great lectures. Great teacher.
@BeABetterDev Жыл бұрын
Many thanks!
@gavinmack2023 жыл бұрын
Great video, Just one thing to note. You must create your Certificates in the North Virginia zone.
@WhiteWolfBlues9 ай бұрын
This is the best tutorial on the topic I found, thank you very much! It worked wonderfully for my portfolio
@password3019923 жыл бұрын
Very nice job, no one can explain better than this, loved it
@BeABetterDev3 жыл бұрын
Thanks Sagar!
@jamanj21863 жыл бұрын
Ur a life saver. Perfect video. Please make some more project videos which are helpful in getting a job. Thanks heaps.. cheers
@BeABetterDev3 жыл бұрын
Coming soon Jaman!
@jamanj21863 жыл бұрын
@@BeABetterDev bro just wondering, does Issuing Certificate in cloud-front costs anything? Thanks
@aritra14143 жыл бұрын
Awesome! This one was actually one of my interview questions! And I found such a nice solution to that! Great work man!
@nehabansal3708 ай бұрын
Was trying to build this end to end solution. This solution really helped. Thanks!!
@18Horses2 жыл бұрын
One of the best tutorials I found on youtube! You explain everything very well and it helps that you have the same voice as MoistCr1tical hehe :D
@BeABetterDev2 жыл бұрын
Thank you so much for the kind words
@knightproduction2156 ай бұрын
It was a long long journey man. but it's done now. I had a major problem that the NS was not the same form godaddy to aws. Thanks a lot.
@AzeeDK Жыл бұрын
Thank you so much, I was feeling lost, glad that this video came at the right time. Very well explained, now i can continue my project work again.
@furqonmauladani15443 жыл бұрын
Thank you for your help with this video. I hope you always have a nice days.
@BeABetterDev3 жыл бұрын
Glad I can help and same to you!
@gtstride3 жыл бұрын
This is extremely awesome great content, lifesaver. Thanks for this. I actually had searched and searched for ways to host my react app on AWS for a long time now. Thanks really for this.
@BeABetterDev3 жыл бұрын
Thanks so much Godstime, glad you enjoyed!
@Malcolm777-i2 жыл бұрын
So smooth. A spectacular way of teaching.
@fazalmehmood68022 жыл бұрын
Loved this tutorial. Straight to the point and great explanation.
@BeABetterDev2 жыл бұрын
You're very welcome Fazal!
@DjDevastor2 жыл бұрын
Thanks for the cloud front invalidation part. I rebuild my site dozensof times yesterday, deleted and created a few new distributions, reassigneing the DNS, even was thinking my static website code had issues.... Now everythink works and next time I have to wait longer or purge the cache through invalidations... I hope i dont forget /**/*
@jorool1988 Жыл бұрын
Great video. BTW, you don't need two distributions for www and naked domain. You can add multiple domains to the same distribution. 😉
@vmerino048 ай бұрын
This is true. I don't think you need two buckets either
@justrelax30122 жыл бұрын
This man is a hero
@BeABetterDev2 жыл бұрын
Not all heroes wear capes. :P
@jaggar282 жыл бұрын
Love you brother for such a detailed tutorial :) Keep making them please.
@BeABetterDev2 жыл бұрын
Thank you so much Moinul!
@giriphd3 жыл бұрын
Dude, very well explained. Super
@BeABetterDev3 жыл бұрын
Thank you Girish!
@johankarlsson97202 жыл бұрын
Great tutorial! Thanks!
@BeABetterDev2 жыл бұрын
Glad it was helpful!
@SuryaExperiance2203 жыл бұрын
Beo explained well, and cleared all my doubts to deploy React js in Clod front
@mhollis12313 жыл бұрын
Attention: You MUST make the certificates in Us-East-1, it is the only region Cloudfront can pull from. I made mine in Us-East-2 and it was telling me to use my EC2 (?) instance and gather a PEM file and private key... which I didn't even have.... went ahead and just made them in Us-East-1 saved me the hassle...
@genovo2 жыл бұрын
Yeah it's OK if you are in California or Ohio since you're using cloudfront
@_HariHaranR Жыл бұрын
Thanks boss, that was helpful! Now I got my own MEAN Stack App hosted with my own domain Name 😊
@aayushgore42452 жыл бұрын
this guy has a video for everything! :0
@amitvlog-viralnews3 жыл бұрын
superb bro great teacher of aws
@gdyung2 Жыл бұрын
Best tutorial ever! Thank you so much for your video :)
@stephenfoster8543 Жыл бұрын
Dude, excellent video. Thank you so much.
@BeABetterDev Жыл бұрын
You're welcome!
@piegpa3 жыл бұрын
This is really good and useful, cheers!
@BeABetterDev3 жыл бұрын
Thanks Pawel! Glad it was helpful.
@sandeepverma77122 жыл бұрын
Great content. Thank you for this practical tutorial. This will be immensely helpful to lot of geeks
@VaurionX6 ай бұрын
Very helpful video, thank you very much for showing how to do all of this.
@sumitdange2507 Жыл бұрын
loved it! very simplified it is! ❤🙌
@BeABetterDev Жыл бұрын
Glad it was helpful!
@alexgochenour8740 Жыл бұрын
Wonderful video, thank you very much. It might be good to also do one on undoing the CloudFront aspect; I got sick of the long propagation times whenever I needed a hotfix for my site and eventually just nixed CloudFront entirely.
@GeoffreyEngelbrecht3 жыл бұрын
Great tutorial! Transferred my website yesterday following your instructions and everything worked smoothly. One comment/question: Rather than setting up a second S3 bucket (and subsequent Cloudfront distribution for my website without the www and redirecting it to the other I just left the A record in Route 53 for my URL without www which points to the www entry. This is how my website was setup previously when I was hosting it elsewhere and I found this also works with this setup (ie if you enter my URL without www in the web browser DNS redirects this to my URL with www). I wonder if the costs are less doing it this way than having two S3 buckets and Cloudfront distributions? At the very least it halved the process of setting up the website.
@ordaniel76993 жыл бұрын
I totally agree. I hope he answers.
@furqonmauladani15443 жыл бұрын
I believe that it would lessen the cost. Because you don't use second S3 bucket and second Cloudfront, you don't paid for GET request to CloudFront and S3. You only paid first S3 bucket, first Cloudfront, and Route 53 request cost. But this is a simple and great tutorial that I found. I learn more with this video.
@karlang26372 жыл бұрын
When you say "I just left the A record in Route 53 for my URL without www which points to the www entry", is this done at 17:37 mark where instead of choosing "Alias to S3" for "Value/Route traffic to" field, you picked "Alias to another record hosted in this zone"? Basically, when creating A record for example.com, instead of pointing to S3, you point to www.example.com, which already points to S3. Is my understanding correct?
@GeoffreyEngelbrecht2 жыл бұрын
@@karlang2637 Yes that’s right
@deanhaycox3 жыл бұрын
Love the channel, just watched the videos on the upcoming projects so looking forward to the stock market project, want to switch out the stock market call to something else
@BeABetterDev3 жыл бұрын
Thanks Dean! I'm quite excited to put that together myself. I should have it out in the coming months. Cheers
@ShahzadRasul-uo7gu2 жыл бұрын
Amazing video! Really enjoyed this one!
@DuyTran-ss4lu3 жыл бұрын
You're the best. Thanks for the video
@BeABetterDev3 жыл бұрын
Thanks Duy!
@hongz17873 жыл бұрын
Awesome content! Everything is clear and just works!!!
@nirajshakya70753 жыл бұрын
Very detailed video. awesome tutorial video.
@BeABetterDev3 жыл бұрын
You're very welcome niraj!
@kpsk16273 жыл бұрын
Excellent stuff! If you could post more of these practical videos, that will be wonderful. Thank you.
@BeABetterDev3 жыл бұрын
More coming soon!
@SyedRiyadhulKarim Жыл бұрын
Great effort, it valued back to me on time and learning..
@antonioguiotto34873 жыл бұрын
Hi, very practical and clear tutorial, like all the others that you make. Thanks for sharing. I 'd like perhaps someone can just clarify what is the purpose of the www in the domain, and the double buckets, distributions and domain records.. I mean I kinda understand the reason but not really. Keep it up!
@sorover111 Жыл бұрын
Im trying to figure this out too.. I think it is something that is specific to having Route53 be your DNS .. But yeah it would make sense at least to me to just have 1 bucket, and CNAME the www. subdomain to the root domain.. idk
@elleryfamilia82913 жыл бұрын
Excellent tutorial. Thank you!
@BeABetterDev3 жыл бұрын
You're very welcome!
@pattonparham11693 жыл бұрын
This was a super helpful video! My front end is definitely up and running because of it. One thing I am still struggling with, however, is getting my frontend (which this video helped me deploy successfully) connected with my elastic beanstalk server deployed separately. I can't seem to find much out there on how to get them to communicate. But I see alot of people mention that this is possible with an s3 + cloudfront + route53 react frontend and eb deployed node/express server. Thank you!
@marcovelazquez56892 жыл бұрын
Excellent content/tutorial
@BeABetterDev2 жыл бұрын
Thanks so much Marco
@sureshandem780 Жыл бұрын
excellent great man , thank you it was very clear explanation step by step..!
@BeABetterDev Жыл бұрын
You're welcome!
@Tsxtasy110 ай бұрын
Chapters would be awesome here. I already have S3 + Route 53, all I need is the CloudFront part
@rohini_mohan3 жыл бұрын
Thank you for this video. Worked for me !
@BeABetterDev3 жыл бұрын
You're very welcome Rohini!
@andrez763 жыл бұрын
My dude, this is great content! Thank you.
@ryanwendel61153 жыл бұрын
What are the cost implications of creating two distributions? Is there no way to force a redirect from within CloudFront? Great video, btw.
@OrionRox Жыл бұрын
Thank you! This is golden! I've never done any deployment before, I made a simple website and hosted it on Amplify, really easy to use but somehow it would not load the mp3 file, after 2 days of trying I gave up and switched to Firebase, which also easy to use but I couldn't get my custom domain name to work. Finally back to AWS S3 + Cloudfront, followed your steps and my website went online just now! I only created one bucket and just added both www and none-www version of my domain to the cloud front, and required SSLs for both domains, this also works. I guess perhaps AWS made some changes in the last 2 years? Also, could you please do another video about CI/CD for S3 + Cloudfront and setting up the stage distribution for developing testing?
@parasharbhatt70993 жыл бұрын
Thank You. One of the best tutorial - Very well explained. Please will you let me know about the cost factors of Route 53 besides yearly fee for DOMAIN NAME registration? ( In case of multiple websites)
@techwithotabek Жыл бұрын
Awesome Daniel! It was very easy to follow and understand the whole project. Thanks a lot! I was wandering whether I can enroll to your The AWS Learning Accelerator course as a beginner? Or should I need to have some experience to enroll that?
@dasunsamarasiri2987 Жыл бұрын
excellent tutorial !!!. Thank you !!!
@BeABetterDev Жыл бұрын
Glad you liked it!
@thisisstupid9563 жыл бұрын
This video saved my day!
@BeABetterDev3 жыл бұрын
You're very welcome!
@mufeezahmed81632 жыл бұрын
Awesome ,Worked Like Charm Only thing which i needed to follow is how to add dns name servers from hosted zone to my go daddy domain DNS records
@BeABetterDev2 жыл бұрын
Glad to hear!
@edwinogbu-v7r Жыл бұрын
Thank you for your fantastic KZbin tutorials! Your teaching style has been incredibly helpful in my learning journey. Grateful for your expertise! I also have a question: How to connect React.js build in S3 bucket to my Java Spring Boot application? How to make them communicate? Best regards,
@horaciolampe1662 жыл бұрын
Excellent video!!!!!!!
@BeABetterDev2 жыл бұрын
Thanks so much Horacio!
@bobdpa3 жыл бұрын
Excellent video! I'm surprised it's necessary to create the redirect bucket. I would've never figured that out on my own. Thanks!
@omkarhalankar17293 жыл бұрын
Awesome as always!
@7alexopoulos2 жыл бұрын
Really amazing tutorial!!!
@BeABetterDev2 жыл бұрын
Thanks a lot!
@vladbukov56602 жыл бұрын
Hi! Good tutorial! What is the difference between deploying React App on AWS S3 and deploying on EC2 with ngnx? Which case is better? Pros and cons?
@gabrielsosa37532 жыл бұрын
This is just to my undestanding and experience with it. with an EC2 instance you can deploy your frontend and datababase + any other thing you want as long as the instance itself can manage resource wise. But in this case you pay pero hour the instance is running so if u plan to host a website you want it 24/7 and that is costly. the s3 bucket on the other hand you pay per access to it. so even if you have your website 24/7 running if no one requests access to it you wont be charged a dime. S3 is slower than EC2 but you can fix this using Cloudfront alongside it (you would want it either way because it will reduce access costs to the S3). If you just need a website running with no database whatsoever i would 100% go for S3 if you need a database you would probably want RDS alongside the S3 bucket, and that is more expensive than the EC2 instance but all things considered i would still go the S3 route