How to secure your site with HTTPS - SSL Certificate - AWS

  Рет қаралды 33,650

Master2Teach

Master2Teach

Күн бұрын

In this video, I will show you how to configure HTTPS for your site in AWS.
Sign in to your AWS account and navigate to the console page.
In VPC, I have created a separate VPC for the Master2teach site. If you want to host your site on AWS, please find the previous video tutorials.
• Hosting website in AWS...
In EC2, I have created a separate instance for the site.
Now to secure the site with HTTPS, in-services, search for the certificate manager and open it.
Navigate to Request a certificate and click on it.
Request a public certificate from Amazon. Click on Request a certificate.
Now, add the domain name of which site you want to make secure.
Mine doing for site master2teach.com
Need to verify the domain name. Either you can verify from DNS Validation or Email validation.
If you have permission to modify the DNS configuration for the domains, use DNS validation otherwise can use email validation.
In email validation, the verification mail will send to these domain mail ids. Make sure you do have access to one of these email account.
Going with DNS configuration.
Domain name: master2 teach.com
Validation method: DNS
Confirm and Request.
It will show pending validation.
For validation, create a CNAME record in the DNS configuration. You must complete this step before the AWS certificate manager can issue your certificate.
We will create a record in Route 53 after the verification process.
Let’s process the DNS validation.
Access to the site where you had registered your site. I have registered in a reseller account.
Navigate to DNS Management.
Navigate to CNAME Records and click on Add CNAME Record.
In Host Name, just paste the hostname which we had copied before. The domain name already exists. Simply paste the CNAME Value over here.
One CNAME record is successfully added. Name and value is over here which status is active.
It will show validation not complete.
Navigate to Create a record in Route 53 and click create.
The DNS record was written to your Route 53 hosted zone. It can take 30 minutes or longer for the changes to propagates and for AWS to validate the domain and issue the certificate.
We need to wait for the AWS validation process.
Refresh the page after 30 minutes.
The status changes to Issued successfully. The validation status is success.
Let’s move further. In the next step, we need to create a load balancer.
Open the EC2 page. In the left side menu, navigate to Load Balancer.
Let’s create a load balancer. Different types of options for creating load balancers.
We need to create an Application load balancer. Click create.
Step one, configure the load balancer. Give an appropriate name of the load balancer.
In load balancer protocol, add a new listener. Select HTTPS - Secure HTTP option whose port is 443.
In VPC, choose the respective VPC. Also, check the availability zones. It required at least two availability zones.
Next: Configure Security Setting.
Certificate type: Choose a certificate from ACM - ok
Certificate name: Choose a respective certificate name from the dropdown list.
Security policy: ok
Next - Security Groups
Create a new security group.
Give a proper name for the security group.
Next: Configure Routing
Target group: new
Provide a name for it.
Target type: instance
Protocol: HTTP
Advance health check settings
Next Register targets
Select the instance and click add to register.
Next: Review
Review all settings and click on create.
Successfully created load balancer.
Now, select the load balancer and navigate to the Listeners tab.
In Listener, check the HTTP listener id, scroll up and click the edit button.
Here is the default action which needs to delete it.
Click Add Action and select the Redirect to option from the dropdown.
Here redirect to HTTPS, port 443, and click on the checkmarks to save it.
Successfully modified listener on port 80.
Let’s check in the site.
Refresh.
Last job to do. We need to update in Route 53 hosted zone recordset.
Go to route 53. Click on it. Click in your domain name.
This is all the details name server and recordset. To know all about these, please find my previous video tutorials.
• AWS Tutorial - Hosting...
Here we need to delete this recordset and have to create a new record set with the following configuration. In alias target, choose the load balancer for the dropdown list which we had created just before.
After all, let’s check in the front.
Now the site is secure with HTTPS.
In this way, we can configure and use certificate manager to secure our site with HTTPS in AWS.
Static Website Hosting in S3
• AWS Tutorial - Hosting...
Register AWS Educate Account
• AWS Tutorial - Registe...
SUBSCRIBE to our KZfaq channel for more videos:
kzfaq.info...
Like us on Facebook: / master2teach​
For more content go to master2teach.com/​
E-mail: master2teach@gmail.com

Пікірлер: 36
@johnmcgeechan4766
@johnmcgeechan4766 Жыл бұрын
Thank you so much for this. You did for me what none of the AWS documentation did. So grateful thank you !
@Master2Teach
@Master2Teach Жыл бұрын
Thank you for comment. Pls don't forget to like, share, and subscribe the channel :)
@search4happiness
@search4happiness 2 жыл бұрын
Thank you! The best tutorial so far.
@luccavp12
@luccavp12 Жыл бұрын
Even with AWS changing their page design, I was still able to follow along, great video!
@Master2Teach
@Master2Teach Жыл бұрын
Thank you for watching and comments. Please don't forget to like, share, and subscribe to the channel
@gregruiz921
@gregruiz921 2 жыл бұрын
Thank you for putting this great tutorial together. Very well done. Much appreciated!
@Master2Teach
@Master2Teach Жыл бұрын
Thank you for watching and comment. Great you like the video. Please don't forget to like, share, and subscribe to the channel.
@RrtataYt
@RrtataYt 3 жыл бұрын
Ultimate.. Amazing.. Super cool... Many Thanks
@rashmipattanaik7373
@rashmipattanaik7373 3 жыл бұрын
Thanks a lot!!!! very helpful!!!
@manwithaplan70
@manwithaplan70 11 ай бұрын
Such a good video, thank you
@haribo3663
@haribo3663 2 жыл бұрын
extremely helpful. Thank you
@Master2Teach
@Master2Teach Жыл бұрын
Great!! thanks for watching. Please don't forget to like, share, and subscribe.
@gadgetsreviewinhindi6255
@gadgetsreviewinhindi6255 2 жыл бұрын
Love you bro ❤️
@himthakur619
@himthakur619 2 жыл бұрын
Fir ssl, have we use route 53? Or ee can use without route53
@debnathmriganka2010
@debnathmriganka2010 2 жыл бұрын
Sir, Last 7 days I am searching a simple way how to make ssl on AWS. Last 7 days I tried it using cloud font reference by a youtube tutorial I faced many issue on this process. But Hats Up Sir your tutorial is super to learn as a beginner. But You did not show for subdomain ssl and how to point subdomain to folder path to point. Thanks.
@Master2Teach
@Master2Teach Жыл бұрын
Thank you sir for watching and comment. Great this tutorial helps you. Please don't forget to like, share, and subscribe to the channel. I will make another video on it soon.
@mallikarjunhagargi7830
@mallikarjunhagargi7830 14 күн бұрын
Can you explain when application load balancer is in place and how to add certificate so that all the nodes are accessible via https
@ysfpresents4952
@ysfpresents4952 3 жыл бұрын
Please attention sir, At first thanks for your valuable tutorial. Sir, I have completed those steps 99% by following your tutorial. Everything was excellent but in the last stage 'creating A record'; when I chose 'Alias as Yes' then it's not showing the 'Alias Target' option in my case (Please check 08:50 minutes)! Here is showing a different option named 'Route traffic to'. And it's different than the required one! May AWS recently changed the interface. Would you please check it out?
@patriciadexplorer2207
@patriciadexplorer2207 Жыл бұрын
thanks so much!
@Master2Teach
@Master2Teach Жыл бұрын
Glad it helped!
@alonsogar
@alonsogar 6 ай бұрын
What if the website is static and hosted as an S3 object?
@mohatems5282
@mohatems5282 3 жыл бұрын
Thank you. I have a question, whenever i access my website via www. Its not secure but without it is, any help?
@PivotGrowth
@PivotGrowth 2 жыл бұрын
Check out my tutorial if you didn’t get this solved!
@atulgondane24
@atulgondane24 Жыл бұрын
Hello Sir, I went through all the steps of installing/ activating SSL in website.. follow all the steps mentioned in video. But still my website not redirected to https version of it.can you please guide me how to fix the problem?
@tosanjaysaraf
@tosanjaysaraf 2 жыл бұрын
Thanks! Is it possible to secure a website hosted on EC2 without load balancer ?
@timercadoindustrialmi
@timercadoindustrialmi 6 ай бұрын
Thanks, I'm looking to know about it too
@shankernair09
@shankernair09 3 жыл бұрын
Hi, I have done as you have done in your tutorial, but, am confused when it comes to updating CNAME in the place from where I registered my domain, which is GoDaddy, I couldn't find a place where I can Manage the domain and do the necessary changes. Could you help me with this. Thanks.
@shankernair09
@shankernair09 3 жыл бұрын
Got it after a lot of tries. Thanks all the same.
@frankdong5500
@frankdong5500 2 жыл бұрын
@@shankernair09 Hi Shanker, how do you resolve this problem? I also have the same issue.
@zuzukouzina-original
@zuzukouzina-original 2 жыл бұрын
@@frankdong5500 That's the problem with these guys, they like to find solutions on youtube, but don't want to help. I hope you find the solution.
@petershuker163
@petershuker163 Жыл бұрын
what language is this?
@mdforid9941
@mdforid9941 2 жыл бұрын
nhie
@lifetimesupportenterprises1278
@lifetimesupportenterprises1278 Жыл бұрын
What about RSA public key size 4096 Bits settings?
@jobsnews615
@jobsnews615 Жыл бұрын
Thanks
Add SSL Certificate To Your Domain || AWS || Namecheap
16:24
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 12 МЛН
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 96 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 45 МЛН
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 65 МЛН
How to Set Up an SSL Certificate in Localhost for XAMPP
12:27
Neutron Dev
Рет қаралды 13 М.
Quick and Easy Local SSL Certificates for Your Homelab!
12:08
Wolfgang's Channel
Рет қаралды 702 М.
DNS & Amazon Route 53 Deep dive
53:08
EICIT Learning
Рет қаралды 11 М.
How to setup FREE SSL certificate on your AWS Lightsail instance
5:24
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 12 МЛН