The New Method to Setup SSL for WordPress on Google Cloud Platform

  Рет қаралды 22,841

Data Slayer

3 жыл бұрын

This tutorial will show you how to setup SSL/https/port 443 for your WordPress website on Google Cloud Platform. We use the one-click-deploy pre-configured virtual machine found on Google Cloud marketplace. We also use a custom domain name from Name Cheap.
We use Google Cloud Network Services to setup a load balancer that fronts that traffic over HTTPS and uses SSL termination and proxies the traffic to the backend instance group. This load balancer will utilize Google Managed SSL certificate which is the easiest way to use SSL on GCP. For this load balancer we must also setup a health check route.
Next we use cloud DNS to setup a DNS zone to point incoming traffic from our domain to our load balancer. We then go into NameCheap (our domain registrar) and supply the given name server addresses to point our domain traffic to our GCP instance.
Flush Local DNS
Windows
ipconfig /flushdns
Mac
sudo killall -HUP mDNSResponder
*Remember to set TTL to 1 second, use incognito window and flush DNS when testing your website! DNS propagation can take time to process otherwise.
Intro 0:00 - 0:26
Setup Wordpress One Click VM 0:26 - 1:58
Create Unmanaged Instance Group 1:58 - 2:48
Setup HTTPS Load Balancer 2:48 - 6:23
Setup Cloud DNS Zone 6:23 - 7:30
Point Domain to GCP 7:30 - 10:00
Preview WordPress Site 10:00 - 11:20
SSL Insecure Content Fixer - 11:20 - 12:55
Change IP Address to Domain Name 12:55 - 14:40
#wordpress #ssl
Have a question about a topic covered in a video or need help? Schedule a micro consultation using the link below. We Offer an 80% Money Back Guarantee.
calendly.com/session-with-tim

Пікірлер: 231
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
Listen UP! GCP changed how health checks work - I NOW SUGGEST USING a TCP Health Check instead of HTTP. This should resolve some issues folks were seeing.
@01moynul
@01moynul 2 жыл бұрын
thank u, that's work, i was trying every without reading the comment and spend whole day on it. then i thought i should check if anyone have the same problem or not. and rest history now i feeling pretty dumb about it since i spend a whole without reading the comment..
@user-qz3nx4xy8c
@user-qz3nx4xy8c 2 жыл бұрын
will the SSL renew automatically ??
@focuspulling
@focuspulling Жыл бұрын
You also ought to put into the description now that your guide at kzfaq.info/get/bejne/aN-RpJBhqJPHnYk.html is practically a mandatory Step 2 after this Step 1 guide.
@brunooliveira9758
@brunooliveira9758 Жыл бұрын
That did it! Saved the day! Thanks. (Damn that health check!)
@johnschwitz8851
@johnschwitz8851 2 жыл бұрын
Clearly documented steps. I would not be able to execute without this video! Thank you.
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
Thank you!
@marviemarv52
@marviemarv52 2 жыл бұрын
I’m so non-tech and was able to follow this and succeed. I am pumped! Thanks @Data Slayer. I’m subscribing and sharing!!!
@hufacoe
@hufacoe 3 жыл бұрын
Thank you for the TUTORIAL very excellent! and well explained
@web3freshco958
@web3freshco958 2 жыл бұрын
One of the best Tutorials I have came across. Thanks you
@stefansaru8460
@stefansaru8460 Жыл бұрын
This is a fantastic video, and was extremely helpful. Thank you!
@aaronbenson536
@aaronbenson536 2 жыл бұрын
Hi This is a great tutorial - thank you, very well done. I have applied this process you demonstrated with a Bitnami install as well, it works and the same TCP Health Check issue seems to also be a solution in my case.
@stephenmills6808
@stephenmills6808 Жыл бұрын
This is such a good tutorial, Thanks! After sometime I got it working and I learnt somethings along the way :)
@abeacock
@abeacock 4 ай бұрын
Thank you so much for posting this video, I had this exact issue today and your clean language, great visuals and explanation means that I've now got a secure WordPress on GCP
@88billizzard88
@88billizzard88 2 жыл бұрын
Thanks, very useful!
@christiancode3565
@christiancode3565 2 жыл бұрын
thanks for the help with your SSL videos!!
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
No problem!
@mcopublishing6114
@mcopublishing6114 3 жыл бұрын
Thanks for posting this works for me, After following your previous SSL load balance videos this video was the missing link. thanks again
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
No problem, I get that it's tricky... which is why I favor low code solutions like webflow etc
@krishanranditha913
@krishanranditha913 Жыл бұрын
Hi, thanks for the great explanation. Just wondering on the domain migration. My domain is with Godaddy, and I have other records with it (MX,TXT, A records for sub-domains ect..) Once we put google NS records on Godaddy nameservers, it will route all traffic in to Google Cloud DNS. Instead can we just put a "A" record on godaddy for load balancer's public IP?
@powpowpony9920
@powpowpony9920 Жыл бұрын
This helped me a lot! Thanks a lot!
@user-ih2rr6ki7k
@user-ih2rr6ki7k 8 ай бұрын
You are the best!!!! Thank you so much for this incredible walkthrough
@JonathanBaileyn2u
@JonathanBaileyn2u 3 жыл бұрын
Great video! Ty. That helped a lot.
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
Glad it helped!
@versatilityinaction
@versatilityinaction 2 жыл бұрын
Thank you for your effort. This REALLY HELPED ✌🙏✔💯🎯
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
Glad it helped!
@tomhas4442
@tomhas4442 3 ай бұрын
excellent tutorial. saved me weeks for reading and failing :). the wizards look a bit different now adays but I could follow along well. thank you!
@theaganoe2541
@theaganoe2541 Жыл бұрын
Thanks for teaching me how to set up a load balancer! One question though, from a security stand point. I can still use phpmyadmin to get into the database on the back end, it is not secure. What would be the proper way to lock down the wordpress database?
@DannyLeeBeasley
@DannyLeeBeasley 4 ай бұрын
Saved my day. Great video! Thank you
@luispocodetodo
@luispocodetodo 2 жыл бұрын
Super, me has ayudado mucho, gracias, te debo una
@revoland
@revoland 2 жыл бұрын
Awesome explanation, thanks for sharing that.
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
My pleasure!
@shawnellh
@shawnellh 2 ай бұрын
Bro, you are awesome!
@suwatthamsena6313
@suwatthamsena6313 2 жыл бұрын
Thank You :) Good VDO for me.
@brianwachira6564
@brianwachira6564 2 жыл бұрын
Thank you!
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
You're welcome!
@joannagomulka8906
@joannagomulka8906 2 жыл бұрын
Thank You so much for Your video
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
You are most welcome
@shubhamjaryal8728
@shubhamjaryal8728 2 жыл бұрын
Thank you ... Quality Content
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
You're welcome
@modusminimum
@modusminimum Жыл бұрын
@Data Slayer I am lost if you can help that would be great, at 2:59 you create an instance group called instance group 2 then when you set up the load balancer you point it to wordpress-instance-group but I can't see where in the process you created wordpress-instance-group? Is there an extra step? What have I missed?
@fabiohaberland1585
@fabiohaberland1585 3 жыл бұрын
Many thanks for the tutorial. I am trying this for the second time and am currently waiting for the SSL to provision. In the meantime, I have two questions that I am not sure to be relevant. Q1) When I select the instance group in the load balancer, I don't get the message saying that I have named ports. I just added 80 to the port, but I am not sure that is all I need to do. Should I create a http named port? When I just fill in the port as 80, I am not defining any origin (http or https) Q2) You create a static IP for the load balancer and then added it to the DNS which will forward it to the WP VM through the load balancer. Would it be possible to, instead of creating a new static IP I would just change the VM's IP from Ephemeral to Static or do I need a separate IP for the load balancer?
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
Must be static.
@yato_tv
@yato_tv 2 жыл бұрын
this video is a lot underrated
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
Appreciate it!
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
Does Word Press offer any benefits over WebFlow/Wix/Squarespace?
@ytutoriallearning6251
@ytutoriallearning6251 3 жыл бұрын
WordPress is open source and therefore free is probably the main benefit. Also with lates version 5.7 WordPress can do the drag and drop stuff in Gutenberg inbuilt pagebuilder which is probably better than using external page builders as page speed gets very fast which is good for SEO to rank higher in search machines. I am not a web expert and only know WordPress basicly and it is fairly easy to use if stick to out of the box free themes like Astra and keep things simple.
@CarrilloRealtyGroup
@CarrilloRealtyGroup 21 күн бұрын
Hello Data Slayer, I have a question. I installed WP on GCP with Bitnami. I installed the SSL via the SSH portal and it seems to have secured my site. However images arent loading and I note the IP site states unsecured. I also note the links on the WP Admin side still says HTTP. Would I need to remove the SSL installed via the Bitnami SSH Portal and then run the LB?
@khelawanverma891
@khelawanverma891 2 жыл бұрын
Hi Tim, after setting up the load banlance and cloud DNS, after visiting the URL getting an error of "no healthy upstream". do you have any idea where I would have gone wrong ?
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
Where does that error originate from?
@AndresMedinaVanegas
@AndresMedinaVanegas 2 жыл бұрын
Hi! so right now I'm super new to Google Cloud, so what I did was install Wordpress and Kubernets using the Click to Deply (which also is supossed to keep the deply within the free tier, as I'm testing) option that automatically configures everything for but, well everything but the ssl. I have my domain in hostinger which lets me add the static IP directly as a A record. So if I enter the site using my domain all is fine. Again the ssl is the missing part, how to I configure it? I'm checking the Kubernets install and it already has the HTTPS under load balancing, so I don't really now how to add my domain to the certification.
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
Setup a load balancer that fronts traffic over HTTPS then point the domain registrar to that load balancer. Then make sure the load balancer is proxying traffic to the kubernetes back end.
@pop23259
@pop23259 2 жыл бұрын
Thank you for a very nice tutorial. I've just read your pinned comment and change health check to TCP. Really solved my issue. Sorry I scroll too fast to read other comments first -/\- Please pay no attention to my earlier question below. "May I have a question though? I use this method on a openlitespeed server on GCP. Everything work fine until I change the permalink from Plain (Default) to Post Name. Then the backend suddenly failed the health check. I can access the wordpress through the direct IP (with no certificate), but can no longer use the IP from the frontend of load balancer. Once I change the permalink back to Plain, everything went back to normal. I've tried purging the cache, but the problem still persist. Could you guide me what should I look for next?"
@SM-yw4cy
@SM-yw4cy 2 жыл бұрын
Legend bro
@itsburg
@itsburg 3 жыл бұрын
When accessing my domain via https I am currently receiving a "Error: Server Error. The serve envountered a temporary error and could not complete your request. Please try again in 30 seconds." When accessing my domain via http I get a 404 Google error. Looking at HTTPS browser, in developer I can see the remote address is the IP of my public load balancer which was also setup a my A record. Reviewing my setup: - Zones are matching between VM and instance group - VM has "allow HTTP traffic" (I also tried checking allow HTTPS traffic but not change) - Cert is active Only thing that is off is my health check keeps returning as failed. I have the health check to the same settings as you put as protcol HTTP and path /. Wordpress is also setup via GCP one-click as you've done. Any ideas or suggestions?
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
The problem is the health check, if you visit the URL for your health check in the browser does it return the correct response to satisfy the criteria of the health check? status code 200, etc.
@fabiohaberland1585
@fabiohaberland1585 3 жыл бұрын
I've tried following the tutorial twice, but for some reason I keep getting the same error result. When I go to the Load Balancing menu on GCP, it shows a warning message saying that the backend service is unhealthy. When I click on that load balancer, I see that the instance group that I created shows as 0/1 in the Healthy column. When I enter the instance group, all seems well. It shows the VM and no error. If I click on the VM's IP, the website opens with no errors. But, If I use the static IP created, I get a 402 error and nothing else. Any tips? The SSL certificate is provisioned.
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
The health of the back end just check your health check. What is your health check and do you get the correct response when requesting it directly from your browser?
@doitwel
@doitwel 3 жыл бұрын
I am getting an error for my two websites; the same error i am seeing in 13:53. Kindly help. Second question is, does this work with the $300 trial?
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
You can claim a $300 credit with any new GCP account, this will be applied towards any accrued costs. Can you check that the ip address your load balancer is pointing to return an html page?
@flowthinks
@flowthinks 2 жыл бұрын
Sorry if I am asking a question that someone has already asked 1. I am experiencing some weird 404 error when I visit my site via http but works as expected when I go to https. When I enable an automatic redirect from http to https weird stuff happens 2. I used one page zen tutorials to generate ssl certificates (uses certbot) for my other wordpress sites hosted on GCE however I wonder what this load balancer method will cost and if it's even worth it. The setup has not really been that much easier. The load balancer seems like over kill for just a basic thing like an ssl certificate.
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
statechange.ai/request
@foresthillteam
@foresthillteam Жыл бұрын
Do you have to wait until the SSL certificate is active before completing the remainder of the steps? I am having major trouble getting past "provisioning" - waiting over 24 hours... Thank you!
@ytutoriallearning6251
@ytutoriallearning6251 3 жыл бұрын
Do you think the new one-click feature in WP 5.7 to migrate from http to https is as good as your method with the load balancer ?
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
Sounds like that method required you still trifle with SSL certs, my method does not.
@ytutoriallearning6251
@ytutoriallearning6251 3 жыл бұрын
@@DataSlayerMedia this one-click approach seems to have the certs included and everything is automatic, that is website owner does not have to renew yearly, similar to your approach. Just wondering if there is any difference between those methods with regards to safety or being able to tweek things if that matters ...
@user-dz2qv4xy5c
@user-dz2qv4xy5c Жыл бұрын
What I am facing is thatmy wordpress site external ip and my ssl external ip are different and if I set the dns to the wordpress instance the site doesn't show if I type the url but if i type ip addresses they both ip addresses works , any suggestions of how to fix the issue o have ssl setup
@vjames888
@vjames888 3 жыл бұрын
Excellent video, I wish had found it before I set mine up, could have saved me a lot of time. Just had a few questions. 1. What is the advantage of using Google Cloud DNS instead of just making the DNS A record for your LB IP directly in your registrar (Namecheap in your case)? 2. Why not use https on the backend as well? Then you don't have to install that plugin. Also might get better performance using HTTP/2 on the backend compared to http? The only complication I had with this is that I had to make the health check use http. I couldn't figure out how to make the health check work using https.
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
1. AFAIK Name cheap only allows you to provide nameservers not ip addresses. Also the ip's aren't static. 2. You could maintain ssl from load balancer to origin but just recognize that will incur TLS handshake overhead. I'm not sure the added security is worth it.
@marcelotatesegovia2642
@marcelotatesegovia2642 2 жыл бұрын
Hey! Thanks for the tutorial, I want to test this with a site that I'm building but I don't have a domain, is it still possible to create the ssl certificate? I'm not being able to set it with the external ip that Google provides
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
You can't associate an ssl cert with an ip address afaik
@enjoypresent
@enjoypresent 2 жыл бұрын
Thank you for a great video. I am having an issue - I have created a load-balancer, the front end is reserved with a static ip, but when I go back and review the load balancer details, it changes to ephemeral. Do you know how this can be corrected? Even after SSL being active, I am unable to access my domain. I think this is the issue?
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
What error do you get when you visit your domain name?
@greenbirdmediaproductions
@greenbirdmediaproductions 9 ай бұрын
Still good in 2023
@Av-livePk
@Av-livePk 3 жыл бұрын
Hi there, Thanks for the great tutorial. About the Loadbalancer SSL it works for only 3 months.. How can we automatcly renew the ssl after it expires ?
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
It should not expire, it should automatically update.
@user-mo4bu1tn7k
@user-mo4bu1tn7k Жыл бұрын
Hi, ive created google SSL certificate and its active, but when I set DNS A record IP adress as load balancer ip, website isnt responsive. Could you help me please?
@samuelarguetar.9765
@samuelarguetar.9765 3 жыл бұрын
Hi Tim, I originally had reserved a Static External IP address for my Wordpress Site on the VM instance, which I didn’t see you did.I successfully followed the steps on the video but Im not sure if setting that static IP previously is causing any trouble cause Im not getting my website to load “server stop responding”. What do you think? Appreciate it
@ipetiksolutions9435
@ipetiksolutions9435 3 жыл бұрын
Hi Samuel, I originally had reserved a static external IP address too, this should not be the problem.
@alexisfranco5166
@alexisfranco5166 2 жыл бұрын
hello im following the steps i notice that the ip of the wordpress and the balancer are diferent, wgen i open my website it says 404 not found and its pointing to the load balancer IP but when i put the wordpress ip it open , i saw that you created the A record with the balancer IP and not wordpress IP, so i dont know if something worng, i should not use the wordpress IP for anything??
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
We might need to hop on a call - use the calendly link!
@amsodial
@amsodial 2 жыл бұрын
It was great following the tutorial but i am facing a issue after everything done when i go to preview my site it shows up Error: Not Found The requested URL / was not found on this server. But it opens through the ip address but unsecured couldn't figure out what wrong i have done. The ssl certificate also shows active. Thanks in advance anyone who can sort me out❤
@SeanBagheri
@SeanBagheri 2 жыл бұрын
Thank you for the great video, been looking for this for a while. I have a quick question. What happens if you have multiple instances in your instance group and you need the load balancer to load a certain instance when LB is requested from the ip, for example, if we're using the Bitnami multi-tier wp package instead of google click to deploy? Let me know if you have any ideas, thank you for the awesome video!
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
Should be the same approach. Proxy to the bitnami compute group.
@canalcocinatodoscomemos2607
@canalcocinatodoscomemos2607 2 жыл бұрын
Hi @Refactored. Im havign a problem when setting the DNS record form AWS route 53. This message appears me. Seems like google is not correctly resolving in the load balancer the traffic received from an A record from other DNS manager. 404. That’s an error. The displayed message is: "The requested URL / was not found on this server. That’s all we know."
@canalcocinatodoscomemos2607
@canalcocinatodoscomemos2607 2 жыл бұрын
Your help will be very usefull for me!
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
Usually they return that when the back end is not responding, when you curl or request the back end ip address does it return content?
@meitsi
@meitsi 2 жыл бұрын
I'm having this exact same issue.
@UBSatish
@UBSatish Жыл бұрын
Unable to login after installing ssl also the website design/theme changed…. What should I do now? I did exactly how you showed except I’ve changed the Wordpress site and url before
@quantumrobotics1250
@quantumrobotics1250 Жыл бұрын
What happened to the help comment i posted yesterday? I followed the directions exactly and my domain doesn't forward to google domains . "This site can't be reached"
@128MrAndy
@128MrAndy Жыл бұрын
If I set up a Google Sheets API instance and a Google Drive API instance and then connect to the Google Sheet using the credentials key from a python script (application) on my desktop. This script performs basic CRUD operations. My question: Is this connection secure? In other words does the data travel over the Internet plain text or encrypted? If not secure...how can I ensure the data securely travels from python script to Google Sheets? Thanks in advance Keith
@memyadventures2730
@memyadventures2730 3 жыл бұрын
Perfect😍😍😍😍😍
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
👌
@memyadventures2730
@memyadventures2730 3 жыл бұрын
@@DataSlayerMedia helped me and solved the problem. Great video.
@takeokimu
@takeokimu 3 жыл бұрын
@@memyadventures2730 what did you do to fix it? I get the same issue with the load balancer, it says it's "unhealthy"
@miloseveggies8064
@miloseveggies8064 Жыл бұрын
Could this replace Miniorange for my Wordpress site's SSO? Their support isn't responding.
@philprice5084
@philprice5084 3 жыл бұрын
Hi Refactored, thanks for another great video. I've watched a few of yours talking about setting up the SSL and I'm certain I've followed each step exactly as you have, but the website is still coming up as insecure. The SSL certificate is still provisioning (after 3 days), I think this is because the load balancer is coming back with a message tat one service is unhealthy. How do I fix that?? Thanks in Advance
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
The cert should provision regardless of the health of the services. I believe the issue is you have not reserved a static IP address in the setup. The cert will not provision if the IP address is ephemeral.
@danielmarco4818
@danielmarco4818 2 жыл бұрын
Was a resolution found for this, because I'm facing the same complication. This is a huge blocker.
@user-uw8by8ff4e
@user-uw8by8ff4e Жыл бұрын
hi i am very new to all this and have followed most of the tutorial up until the part where you added the names to your domain host, if my domain host is google how can i make this work?
@indupriya8165
@indupriya8165 8 ай бұрын
This is helpful. But despite setting up the DNS Zone, the domain is redirecting to ip. What could be the possible reason. I installed wordpress in GCP VM instance
@motoheroinverkoopmotorfiet2938
@motoheroinverkoopmotorfiet2938 2 жыл бұрын
good job, only can you tell me why I can't select vm instances in "Create Unmanaged Instance Group 1:58 - 2:48". vm instances says no available instances? thanks in advance for your response!
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
Are you sure you selected unmanaged for the instance group?
@advisorcorp1579
@advisorcorp1579 2 жыл бұрын
@@DataSlayerMedia I'm having same problem. I have selected Unmanaged, yet I cant see my VM.
@YoutubePipeline
@YoutubePipeline 2 ай бұрын
You created "instance-group-2" at 2:45, but at 3:51 selecting "wordpress-instance-group" - where is that taken from?
@OutdoorLivingWithMM
@OutdoorLivingWithMM 3 жыл бұрын
Hi There, So I have done everything correctly(I think). I am using static ip for my instance and static ip for the front end. Certificate is in provisioning mode for at least two days now and I have a FAILED_NOT_VISIBLE warning. I really don't know what could cause this problem. I can access the webpage by http but not https
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
The backend should be the instance group. Make sure you followed the SSL settings correctly, did you add the domain for the google managed cert?
@OutdoorLivingWithMM
@OutdoorLivingWithMM 3 жыл бұрын
yeah everything seems to be OK. just not working. would you have a minute to take a look? I would appreciate it.
@glamwearro3323
@glamwearro3323 3 жыл бұрын
It worked for a few hours. After that i got a 502 error and the message "Backend service is unhealthy". Do you know what may cause this?
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
That has to do with your health check, what is your health check logic? Does that logic qualify when you request the health check object from your browser directly?
@inaciosung
@inaciosung 2 жыл бұрын
Hi Tim! thanks for sharing this great tutorial! I followed step by step, but i get this message: "ERR_TOO_MANY_REDIRECTS" after punching the domain. What could it be? Cheers!
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
Is your server redirecting?
@omaribarra6620
@omaribarra6620 2 жыл бұрын
what`s the solution to this? :S
@ipetiksolutions9435
@ipetiksolutions9435 3 жыл бұрын
Thanks for your time, this is very useful. If I put only my domain without https it doesn't work, do you know why?. But if I put the "https" works
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
GCP is not configured to handle port 80/ or http. To add redirecting follow this vid - kzfaq.info/get/bejne/aN-RpJBhqJPHnYk.html
@willkeyworth9665
@willkeyworth9665 2 жыл бұрын
i am trying to use this tutorial on a subdomain i made as an A record - will this work? i have been trying for days to get a certificate installed for this subdomain
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
you must list that subdomain for the cert.
@thewitnessmag876
@thewitnessmag876 2 жыл бұрын
I thank you for this tutorial. I followed the steps as presented. However, I had an error message which couldn't allow the process to work for me. I couldn't complete the load balancing configuration because of this error: "This load balancer has no backends configured". I used Bitnami WordPress. Please, how do I fix the error? Thank you
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
Setup a back end.
@jorgerodrigues2842
@jorgerodrigues2842 2 жыл бұрын
I followed every single step in your video, including TCP Health Check instead of HTTP and I am still getting the following error on the dominion status: Failed_NOT_Visible. Any advice how can I fix this? Thanks!
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
You setup the ssl cert wrong somehow
@jeromebanks9751
@jeromebanks9751 Жыл бұрын
Thanks for sharing how do you scale this solution for hosting multiple wordpress sites?
@unboxingluxury2224
@unboxingluxury2224 2 жыл бұрын
Hello, thank you for the video, it was quite helpful for me, I used it a few months ago. However, I've now used up my free credits and noticed that the load balancer is fairly expensive and it's also the most expensive part of my entire hosting. Is there a way to set it all up without using the load balancer?
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
I don't believe so - it shouldn't be that expensive though.
@unboxingluxury2224
@unboxingluxury2224 2 жыл бұрын
@@DataSlayerMedia Thank you for your reply! I'm paying about 15 Euros (18 dollars) per month for the "HTTP Load Balancing: Global Forwarding Rule Minimum Service Charge". So I assume that there is no way without the load balancer, then it's probably not possible to pay less than this, right?
@brunooliveira9758
@brunooliveira9758 Жыл бұрын
Thanks for the walkthrough! Still, I keep getting unhealthy backend and "no healthy upstream" error message. Any idea of what I might be missing?
@dinul117
@dinul117 Жыл бұрын
hey bruno did you ever figure this out? i seem to be facing the same issue now EDIT: lol literally after posting this comment i realised Data Slayer has already suggested a fix in the pinned comment that worked for me - anyone facing the "no healthy upstream" error message just has to change the healthcheck on their backend from HTTP to TCP
@Vishnubhudda
@Vishnubhudda 2 жыл бұрын
Hai. I can not change ip address in the load balancer frontend from Ephemeral. There is no create ip adress option
@siddharthpatel2181
@siddharthpatel2181 2 жыл бұрын
Hi. I used your process as you explained. Are you sure in WP we have to keep the HTTP:// in the site and admin URL because my website is not loading with the SSL. Or should I wait for the day to process it properly?
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
See what it's doing and correct it accordingly.
@ashishr5305
@ashishr5305 2 жыл бұрын
Hi Siddharth , what was the result of this ?
@siddharthpatel2181
@siddharthpatel2181 2 жыл бұрын
@@ashishr5305 Screw it if you are not developer. Setting up thing in GCP is not for non-techy. It is better to save some money and invest in a hosting. Its much simple that way. Also I dom't have time fixing things in GCP. Its way too time consuming.
@claudiaandrade3633
@claudiaandrade3633 3 жыл бұрын
I configured and deleted the load balancer 3 times and the error continues. Error: Server Error The server encountered a temporary error and could not complete your request. Please try again in 30 seconds.
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
Does that response come from your backend server or Google? Likely your requesting a fully qualified URL that your server is not setup to respond to.
@AdityaKumar-br1dx
@AdityaKumar-br1dx 2 жыл бұрын
great video ,but the external static ip address thing is giving me a headache .please help
@user-ur9eq4lt8m
@user-ur9eq4lt8m 10 ай бұрын
Hi, I was updating the WordPress address URLs and I replaced the URLs with HTTPS by mistake and now the website is down. how do I fix that?
@aliisitman1767
@aliisitman1767 3 жыл бұрын
Thank you for the guide! I do have a few problems though: I am working on a subdomain on a different host, and I already have ssl on the root domain on the main host. I am trying to apply ssl on the subdomain, do I need to change any of the settings where I enter the domain name? (like entering sub.macgyver.website, or should I keep it as macgyver.website) The root domain is hosted on google and I already have a A record pointed to the new subdomain. is the Cloud DNS overwriting that record? I.e. should I delete the A record and only have the NS record on the host? And last, when I create the load balancer it seems fine at first, but then the backend health check fails. before the ssl stuff, I am able to connect to the subdomain by entering the dns name. What am I doing wrong?
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
Make sure the GCP managed cert covers the subdomain. Then in DNS create a cname or aname to point the subdomain to the backend ip.
@satyadevreddy1819
@satyadevreddy1819 3 жыл бұрын
Can we configure https load balancer with nginx ingress controller?
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
I am not familiar with that, but a quick glance seems to indicate that it should work!
@DavidVinokurDV
@DavidVinokurDV 2 жыл бұрын
Hi Refactored, thanks for the great tut!. Any idea how to resolve a Wordpress 'mixed content' error that appears only by way of this method? No issues when A points directly to VM. Thanks in advance!
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
There are word press plugins that can address this. Basically your html page is reference assets. This causes the browser to throw the error
@manishmalviya1
@manishmalviya1 Жыл бұрын
How did you manage http to https redirection?
@placetechnologies
@placetechnologies 2 жыл бұрын
this was brilliant, but I now have a problem because is can't seem to get back into my Wordpress admin. I didn't quite start where you did as I already had attempted a different Google tutorial which had me create templates etc... noticed your tutorial does not require the creation of instance templates? Should I just get rid of everything I have done, reset my google cloud domain A name to the Wordpress install IP and start from scratch?
@nstcg7271
@nstcg7271 2 жыл бұрын
The certificate is still provisioning, It's been over 2 days What are the requirement for the provisioning ? *Should we add all the name servers to our domain registrar before ? *Should we strictly use an A record ?
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
You set it up incorrectly then, what's your domain?
@nstcg7271
@nstcg7271 2 жыл бұрын
I was unable to paste the ns records in GoDaddy, it was not accepting those
@MrJROZAY
@MrJROZAY 2 жыл бұрын
Hey, I can't create a DNS zone, video 6.58. Any suggestions?
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
What is the error your are receiving?
@yato_tv
@yato_tv 2 жыл бұрын
Hi, I have an important question for you if possible: today I've changed my VM build, doing a downgrade in a way to reduce costs for my needs. The problem is that now I get a Database Error saying "Error establishing a database connection". I know that is a thing that may happen also in other situations, but in this case I don't understand. If I try to login to PhpMyAdmin from my browser, I can't do it too right now. Is there a reason behind this issue? Thanks again. P.S. to change the VM build I've first of all stopped the machine, then I've changed the settings and in the end I've restarted the VM.
@yato_tv
@yato_tv 2 жыл бұрын
Update: I've tried to test a new VM with higher components than the last modify (now my VM has 1 vCPU and 1.7GB of RAM, while the last modify was of 1vCPU and 614MB of RAM), and I noticed that the problem was actually a too elevate downgrade. Probably the main reason is that the entire setup of a load balancer cannot be managed from a so low-specs machine.
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
The mysql server didn’t appear to be running. It could have just stopped when you turned of the virtual machine. I would restart mysql and see if you can get it responding to connections.
@yato_tv
@yato_tv 2 жыл бұрын
@@DataSlayerMedia Thanks for the answer. As I said in the update comment below, the reason that effectively blocked my traffic from database to backend was the too low specs machine that I tried previously to run (less than 1GB RAM). I guess that a complex system with a load balancer cannot be managed with a large lack of RAM.
@juancboly6818
@juancboly6818 3 жыл бұрын
Hi, thanks for your videos. Let me ask: 1) How do you enable HTTP2, I've set up wp with bitnami and would like to use http/2 2) How do you handle parked domains? if it is possible. thanks in advance.
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
HTTP2 is a whole other ball of wax that I have yet to dig into. Maybe at some point in the future I will...
@juancboly6818
@juancboly6818 3 жыл бұрын
@@DataSlayerMedia Hi, thanks for your answer. I've just found the solution a couple of days ago. You don't need to do any extra configuration in your GCP, just in the Bitnami setup. I'm still try to figure out how to park domains. Thanks for your time.
@serbianhero1389
@serbianhero1389 2 жыл бұрын
At the end I am getting an message "no healthy upstream" when I try to access my website via the domain name. Any tips?
@romankovalchik307
@romankovalchik307 Жыл бұрын
Have you found solution?
@serbianhero1389
@serbianhero1389 Жыл бұрын
@@romankovalchik307 Yeah, I used an another tutorial 😅kzfaq.info/get/bejne/q7mdZtuW1dy5foE.html
@stepheniekoh8574
@stepheniekoh8574 3 жыл бұрын
hello, i kept having the error Error: Server Error The server encountered a temporary error and could not complete your request. Please try again in 30 seconds.
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
What happens when you navigate to the origin IP directly in the browser?
@yanyanwang7981
@yanyanwang7981 5 ай бұрын
Thank you for your sharing. I followed your instructions step by step, but I got an error, said: invalid value for field ‘resource IPAddress’ specified IP address is in use and would result in a conflict. How can I solve this problem? Thank you😊
@user-ur9eq4lt8m
@user-ur9eq4lt8m 10 ай бұрын
I've Just fixed the HTTPS but now i am getting an error "no healthy upstream" Please help.
@Vishnubhudda
@Vishnubhudda 2 жыл бұрын
My site is not loading now. Showing no healthy stream.why is that ?
@meitsi
@meitsi 2 жыл бұрын
I tried following the tutorial, but I'm getting 404 not found error on the website.
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
Do you have a server responding to traffic on localhost?
@meitsi
@meitsi 2 жыл бұрын
@@DataSlayerMedia Thank you for getting in touch. Yes, I do. I rambled through GCP support and managed to get the website working, but only through https. Now if I try to connect to the website through http it gives me a 404 (which many browsers do if you just type in only the domain). Connecting through the ip works too.
@lelehuu6804
@lelehuu6804 2 жыл бұрын
Hello, i did as you said but got URL not found after SSL Ip add, can you help me ?
@DataSlayerMedia
@DataSlayerMedia 2 жыл бұрын
You can't ssl with an ip address, only ssl on domain name.
@ghostwriter6143
@ghostwriter6143 2 жыл бұрын
It works, then minutes later stops. Then starts working again only to stop again. Can't find the logs to troubleshoot. I've started from scratch several times, even using new projects. Same experience.
@thekeshavsaini
@thekeshavsaini 3 жыл бұрын
Sir I am getting 502 server error And load balancer shows the backend service is unhealthy But I am creating load balancer the website is working properly but after 15 min the 502 server error is showing So please suggest me what can I do Please
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
Potential firewall issues, on the server what does curl localhost return? It should return your index page.
@takeokimu
@takeokimu 3 жыл бұрын
HI, can you show us how to do SSL with Wordpress multi sites?
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
I will look into it.
@dulcesalud4085
@dulcesalud4085 3 жыл бұрын
Hello my friend, I am Erik from Chile. Great work by the way. I am not technical, but I have been working hard to set my site, I use google cloud DNS for my domain and google workspace, and I deplaied cyberpanel enterprise for my website on GCP. I want to use google CDN with my instance, but I do not know how, I tried quiccloud inside litespeed cache, but it did not improve my score and gave me a 503 error. Could you make a video on how to use google CDN with an instance please?
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
I may need more details, if you want to chat schedule something here - calendly.com/session-with-tim/private-session-30
@youthtown730
@youthtown730 3 жыл бұрын
Hi My website healthy check is not healthy how may i fix it ? thank you
@DataSlayerMedia
@DataSlayerMedia 3 жыл бұрын
I think GCP changed how they do HTTP health checks. Go into the load balancer, select advanced options, click the health check you set up and change to TCP instead of HTTP. That seems to work.
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 64 МЛН
БАБУШКИН КОМПОТ В СОЛО
00:23
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 17 МЛН
No empty
00:35
Mamasoboliha
Рет қаралды 8 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 63 МЛН
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 529 М.
low battery 🪫
0:10
dednahype
Рет қаралды 1,2 МЛН
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 6 МЛН