AWS Load Balancer HTTPS Setup with Route 53 and Certificate Manager & HTTP Redirect to HTTPS

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello welcome again to my YouTube channel in this video we are going to cover very interesting topic yeah one thing if you are not connected with my uh with me on LinkedIn you can follow me on LinkedIn okay and I will be sharing nice articles and news on the LinkedIn also you can subscribe to my channel it will help me to create good quality content because it's you know get some time to create content okay and you can follow me on the GitHub as well for nice repos if you want to get every week okay how we can attach a domain instead of you know going to this uh uh what I will say going to this a racket so what do you have to do you have to just go to root uh 53 okay here we will be registering our domain okay so you have to you know create a hosted Zone okay in the hosted Zone because I have a domain on my GoDaddy account okay I will just open my Go Daddy account okay okay this is the domain okay I will just uh copy this domain and I will paste it okay simple and then I have to register this domain okay and this domain will be registered okay so what I have to do here I have to you know copy these uh name servers and and I have to add on my goad okay so I'm just going to you know click on DNS okay I will just click on name servers okay so I will just make sure that my domain is properly connected so I will just copy one by one all these records okay I will just change the name servers uh just uh delete these ones first and the second is this name server okay we don't need to add the dot okay then the third one which is this name server okay that's fine and then we have to copy the last name server okay so we have to add it okay so we have to save it okay so it sometime you know it can take hours okay but normally it can take you know 5 minutes okay your uh domain will be connected with your Route 53 okay so when you update the name servers okay then what you have to do next you have to uh connect okay uh a load balancer with your domain okay so what I will do here if I just click on create a racket okay so because I'm using uh DNS of my load balancer okay so what I will do here I will just click on alas okay and we have to ose a traffic from our load balancer okay there will be application uh you know and classic load balancer just select it and then we have to choose the region because uh my application my load balancer is in a Virginia region okay I will choose that region okay then I have to choose the load balancer okay so I have to just attach this load balancer to my uh domain okay so my load balancer is connected if I try to you know access the application onto this domain maybe I can try Okay so because sometime it takes to uh propagate the domain name server to uh the application okay so we have to just wait here okay and uh it can get ready okay meanwhile I think we can install an SSL certificate okay and it will be ready uh in a shorter time okay so if I just go to yeah that's fine let me just open AWS certificate manager okay I will just write certificate manager okay certificate manager we are going to add a certificate okay I'll just go and uh because I have already you know uh connected with the uh certificate but you can click on request okay and next you will need to just write a domain name here okay and then you will just uh click on request okay what I will do I'm just going to you know delete it okay so I can just show you how it to work okay so that's fine just go and this is my domain name okay and just click on create okay so the domain is being uh created okay so we have to wait or if I just click on it okay what we can do we can create uh this racket into our Route 53 we have Val domain so I will just click on create a racket into okay because uh when AWS provide a certificate they provide us a CM record we have to add the CM record into our you know domain if we are not managing at Route 53 if you're managing on you know Cloud flare or GoDaddy we have to add this recet so I have added this recet on to the Route 53 because I'm using uh Route 53 okay so pending valid ulation okay uh AWS Take 5 minutes to get uh this ready okay so they allow they issue the uh certificate so if I just go back to Route 53 so I will show you this C name bracket is addit okay onto our domain okay hosted Zone click on it so you will see okay this C name bracket which is this one this one added okay so we have to wait for SSL to be ready okay and yeah it is getting ready so let's try to you know access the application again okay it's still HTTP okay it's still not accessible because it takes some time to get ready okay because it has to you know get connected okay because the name server are already added okay so it can take some time so our certificate is also pending so I can just wait okay so there's one interesting tool like where you can check your domain uh propagation okay how it is being propagated and connected with your Route 53 okay so suppose I have a domain do shop okay so this is my domain if I check so you can see in most of the regions it is no accessible okay it is propagated and connected with the Route 53 it is still you know I will need to connect with some other regions okay so uh maybe I can try now again if it is accessible or not in my country okay I think still it is not accessible so it need to be you know connected whole the you know uh regions in the world meanwhile uh what we can do here if if you just go and to your load balancer because we have to create a new uh recet there so we can run application on https as well so what I will do here I will just go to my ec2 dashboard and I will just go to the load balancers okay currently we have uh if I click on my load balancers and if I just go select on listener and rules we are only running on Port uh 80 which is https what I will do I will also add an https as well okay and I will select the target group that we have already okay and then here we need to you know select the certificate okay we have already a certificate added that's fine and we have to just add okay so this recet is also added it will help us to run application on https as well so no I think almost every step we have done done okay now we have to you know just you will need to maybe wait okay for 10 minutes for 30 minutes okay to get your uh domain be ready maybe I can try to start shop onto the https okay but uh still it is uh trying to connect okay so hopefully uh I can wait 1 minute more okay so I have almost waited for you know 10 to 15 minutes but in my region it is not working but I can show you one interesting thing I can if I have my another browser okay here I can try to you know uh use VPN uh in a US region so I can show uh it is accessible in the US region okay so let me yeah my SSL yeah I am connected okay so you can see our application is totally accessible on the domain as well so I think yeah that's for today and hopefully you like it okay and uh if you like it share this video on your LinkedIn on your social media okay also like this and comment if you if my video is helpful okay so I will be seeing you in my next video have a good day bye
Info
Channel: CodeWithMuh
Views: 2,722
Rating: undefined out of 5
Keywords: AWS Route 53, AWS Certificate Manager, AWS Application Load Balancer, AWS Load Balancer HTTPS Setup, AWS Load Balancer HTTPS Setup with Route 53, HTTP Redirect to HTTPS, Route 53, Godaddy, GoDaddy Domains with AWS Route 53, https listener for your application load balancer, codewithmuh, aws, amazon, ec2, aws ec2 instance, domain setup, ssl setup
Id: v-2vob8wBlc
Channel Id: undefined
Length: 10min 18sec (618 seconds)
Published: Thu Mar 21 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.