Install SSL on AWS EC2 WordPress 2023 and Connect domain with the AWS EC2 Server

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • Hello Guys! In this tutorial, I will show you how to install free SSL on AWS EC2 WordPress using two AWS services which are AWS Certificate Manager (ACM) and Application Load Balancer (ALB). In the previous video, I showed you how to install a blazing-fast WordPress on AWS EC2. If you haven't watch that then please watch that video before that otherwise this video won't make much sense to you.
    In the video, we will use ACM to generate a Free SSL certificate for our WordPress website domain and ALB to forward that SSL to our AWS EC2 server. This way, we don't have to install SSL directly on our EC2 server. This approach of deploying SSL is very helpful when you have multiple AWS EC2 servers running the same WordPress website or even if your single EC2 server gets crashed. You can easily connect the same ssl certificate to the other server.
    If you have any questions, please comment down below and I'll answer each and every query as soon as possible.

Комментарии • 46

  • @MdSohelRana-nj7fw
    @MdSohelRana-nj7fw 9 месяцев назад

    Hey Bhroooh.... Many many many many many thanks for this...

  • @arunks5360
    @arunks5360 10 месяцев назад

    It is working absolutely fine and it was very helpful.

  • @reynaldiekosutrisno6392
    @reynaldiekosutrisno6392 Год назад

    work like a charm!

  • @matildafilmscom
    @matildafilmscom 7 месяцев назад

    at 02:40 you dont explain what to type in at cname records sir. Can you explain? my certificate request still pending.

  • @iranjanbiswas
    @iranjanbiswas Год назад +1

    Can you tell me why ssl is not installed properly ? I have done all the above procedures.

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      Can you please share the error? I think you may have missed a step. Thanks

  • @coxixx
    @coxixx 9 месяцев назад

    thank you.

  • @roshansha7937
    @roshansha7937 Год назад +1

    when i try to create load balancer it only shows one zone

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      Hi Roshan, the number of availability zones depends on the region in which you are trying to deploy the load balancer. E.g, if you are deploying the load balancer in "N.Virgina" region, you would see 6 availability zones but if you are in "London" region, you would see only 3 zones. By default, each aws region has atleast 2 availability zones.
      In your case, if you are seeing only 1 availability zone then it means that you are deploying the ALB in a custom VPC in which you have created subnets in only one availability zone. If you want to see the option to select multiple availability zones then go to your custom VPC and create subnets in each availability zone that your region offers. I hope that helps... Thanks

  • @galaxiapoucel3976
    @galaxiapoucel3976 Год назад +1

    hi the DNS record does not work for me, I don’t know how to pass that step :( can you help me?

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      Hi Galaxia! Can you please share exactly what issue you are having with the DNS record? Thanks

  • @narendranauth8785
    @narendranauth8785 9 месяцев назад

    Thanks for the insightful tutorial. I have a domain with the DNS managed by GoDaddy. I have a EC2 machine running an Apache web server with a website. I followed everything here up to the point where I need to create an A record with the load balancer DNS name. I am not getting to do so on GoDaddy. Any advice?

    • @awswithmuheyuddin
      @awswithmuheyuddin  9 месяцев назад

      Glad it helped! To use AWS LoadBalancer, you would have to transfer your DNS records from Godaddy to Amazon Route53. Then you can add the load balancer DNS name as an A record. Please follow this tutorial to get step-by-step instructions to do so. Thanks!
      ruclips.net/video/RI8oy-HGkIQ/видео.html

  • @LatinoWebStudio
    @LatinoWebStudio Год назад

    how would you connect the SSL to the main domain and not a subdomain?

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      Hi, the process is absoluely same. When modifying domain records in Amazon Route 53, you just have to keep that field empty where you currently type the subdomain name. That will add the 'A' record for the main domain. Thanks

  • @PepeTostado
    @PepeTostado Год назад

    In 8:53 I am trying to put the name of the A record from what I got from AWS; the value for the A type DNS entry I am inputting is an elastic IP I got for the ec2. I am not sure why, but it is not working. What can I do?

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      Hi Albert, in your domain DNS records, for record type 'A', you would have to put the value of the 'DNS name' of the application load balancer as shown in the video not the elastic ip of the ec2 instance. Thanks

    • @PepeTostado
      @PepeTostado Год назад

      @@awswithmuheyuddin Thanks. Do you think we could do a zoom call where you mentor me on this. I'll pay you because I'm not sure what's wrong. When I go to my domain, nothing pops up.

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      Sure, please get back to me at muheyuddin@yahoo.com and I will see how can I help... Thanks!!

  • @caiocesar6639
    @caiocesar6639 Год назад

    Hi, when i created a certificate just stay at: " Pending validation" =/

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      It's because you didn't correctly create the CName record that the certificate manager generated for your domain in Route53. Please make sure to do that correctly and then check back the certificate status. Thanks

  • @ash000us
    @ash000us Год назад

    what if I don't need a load balancer and I just need to connect the certificate to the server directly?

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      That's not possible. You must need a load balancer to connect the Amazon Certificate manager generated SSL certificate to your EC2 instance. Thanks!

  • @BGDFARM
    @BGDFARM Год назад

    Does it worth 😢? A simple Wordpress site with ALB ?
    It will cost around 30-40$ /month even if you don’t have visitors??

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      No, it's worth that at all! I would recommend Hostinger WordPress hosting if you have budget constraints...Thanks!!

    • @BGDFARM
      @BGDFARM Год назад

      Actually , i have django rest framework hosted on aws . The api is being used by my apps . Now the issue is hardly have 300 active user/months and with that much user ELB giving me 18$ /month almost fix charge + other charges (thats fine) . I had to use elb just because i need https 😑
      Can you please make a video on how nginx powered django projects can have ssl without elb runningon ec2 ?
      I think free ssl is a trap from aws !
      For small /medium level of projects having less than 10k active users/day does not even need elb ! I have tested using pythonanywhere

  • @cynthesisenterprises939
    @cynthesisenterprises939 Год назад

    Hello, i have created Target Groups, Load Balancers and I'm trying to create 'A' record for my main domain in Route 53 with value of the 'DNS name' of the application load balancer but already I have a 'A' record for my main domain with site public IPv4 the record is not creating. So i have changed the existing 'A' record from Public IPv4 to value of the 'DNS name' of the application load balancer.
    Now the site is not connecting. It says 'refused to connect'
    Is it the right process? Can u pls assist.
    Thanks
    Reply

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      I think it's a secuity group issue. PLease make sure your ec2 instance security group allows traffic from the application load balancer.

    • @webtoolo_com
      @webtoolo_com Год назад

      sam with me

  • @xaqibnomani8818
    @xaqibnomani8818 4 месяца назад

    I m tried but ssl still not active

    • @awswithmuheyuddin
      @awswithmuheyuddin  4 месяца назад

      You must missing some step or there could be a problem in your server configuration.

  • @roshansha7937
    @roshansha7937 Год назад +1

    bro how to connect hostinger domain

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      Please watch the video below for step-by-step instructions to connect your Hostinger domain. Though this video is for Godaddy but the process for Hostinger is also similar.
      ruclips.net/video/RI8oy-HGkIQ/видео.html
      Let me know if you still have any questions. Thanks

  • @shahbazahmad9999
    @shahbazahmad9999 Год назад

    Sir how much time to take create TLS certificate for AWS certificate manager

  • @RahulKumar-cc3wj
    @RahulKumar-cc3wj Год назад

    How to add A record in Godaddy of Application Load Balancer DNS. It showing only to add IP address

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      Hey Rahul! Unfortunately, Godaddy now doesn't support that. Please connect your Godaddy domain with Amazon Route53 by following the video below and then you can add the ALB DNS name as "A" record of your domain. Thanks
      ruclips.net/video/RI8oy-HGkIQ/видео.html

    • @roshansha7937
      @roshansha7937 Год назад

      bro i have created two instances in two subnets. One instance has web server ( runs word press ) and other instance has db server ( mysql or mariadb ) DB instance doesnt have a public ip. It access internet by IGW .i have purchased a domain name in hostinger. Do i have to config ELB s

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад +1

      Yes, you would have to configure the Application Load Balancer as shown in the video.

  • @nathanielbador3597
    @nathanielbador3597 Год назад

    Where Can I copy the lines at 12:27

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      You would have to manually type those lines by watching the video... Thanks!!

  • @nkafridi07
    @nkafridi07 Год назад

    that an amazing, you solve my big problem, but now the site opens just with an IPv4 address but when try to open it with the domain I get DNS_PROBE_FINISHED_NXDOMAIN error, what should to do

    • @awswithmuheyuddin
      @awswithmuheyuddin  Год назад

      Glad you like the video, Noor. I think you didn't configure the DNS records correctly. Please make sure that you point the A record of your domain to the Application Load Balancer DNS name and that your server security group allows the traffic from the ALB. Also, make sure that you add the CNAME record in the DNS settings for the SSL to work as shown in the video. Thanks