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.
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..
You also ought to put into the description now that your guide at th-cam.com/video/2yaq-0C-cmU/w-d-xo.html is practically a mandatory Step 2 after this Step 1 guide.
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
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?
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?
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.
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 ?
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?"
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
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
@@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 ...
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.
@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?
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!
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?
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
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!
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?
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?
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.
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?
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!
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.
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 ?
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?
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?
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."
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
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😊
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 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?
Hello there thanks for your video! I followed every steps you did but right away I click create a load balancer it's getting unhealthy quickly... Any ideas how I should fix it? thanks a lot
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?
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.
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
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?
@Ashish R 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.
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!
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"
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??
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
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?
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
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.
@@DataSlayerMedia thank you for answering me I will appreciate your help a lot I tried to choose mysql in power bi data source but it didn't work. Thank you a lot in advance
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
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
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
Great tutorial, however, I can access the website from the VM's ip and the certificate is considered valid, but when I try to connect by using the load balancer's ip or the domain I get "ERR_EMPTY_RESPONSE". Do you know what could be the problem?
I've had a similar issue. The IP address of my website (Wordpress) instance can be accessed from the Deployment mgr using the IP address on the VM instance, and the connectivity test shows that vm instance can be accessed from the load balancer IP, but the static load balancer IP returns nothing. Where am I going wrong. No errors on config according to Google cloud monitor. Need help here
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
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!
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 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.
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!
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.
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.
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 ?
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.
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.
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❤
My issue was http was not working so when i add https it worked ... and thanks for another video you have which is how to redirect http to https now both http and https working perfectly .. thank you very much
@@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.
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.
Thanks for the tutorial. I was able to get the website somewhat working... Is anyone else getting a "Page isn't working right now ... didn’t send any data. ERR_EMPTY_RESPONSE" Does anyone know why this could be happening and how to resolve it? Thanks
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.
Hi refactored Thank you very much for such an informative video. I have a question, can we host 3 websites on 1 google cloud account? I searched everywhere, but found nothing. Thank you :)
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.
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..
will the SSL renew automatically ??
You also ought to put into the description now that your guide at th-cam.com/video/2yaq-0C-cmU/w-d-xo.html is practically a mandatory Step 2 after this Step 1 guide.
That did it! Saved the day! Thanks. (Damn that health check!)
I’m so non-tech and was able to follow this and succeed. I am pumped! Thanks @Data Slayer. I’m subscribing and sharing!!!
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!
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
Clearly documented steps. I would not be able to execute without this video! Thank you.
Thank you!
One of the best Tutorials I have came across. Thanks you
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?
this video is a lot underrated
Appreciate it!
Thanks for posting this works for me, After following your previous SSL load balance videos this video was the missing link. thanks again
No problem, I get that it's tricky... which is why I favor low code solutions like webflow etc
You are the best!!!! Thank you so much for this incredible walkthrough
Was trying to get this done for 3 days and encountered many issues. This video was clear and finally got it all working perfectly. Thank you!!!
Saved my day. Great video! Thank you
thanks for the help with your SSL videos!!
No problem!
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?
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.
Thank You so much for Your video
You are most welcome
This helped me a lot! Thanks a lot!
Awesome explanation, thanks for sharing that.
My pleasure!
Bro, you are awesome!
Thank you ... Quality Content
You're welcome
Thank you!
You're welcome!
Thank you for the TUTORIAL very excellent! and well explained
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 ?
It should not expire, it should automatically update.
Super, me has ayudado mucho, gracias, te debo una
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?"
This is such a good tutorial, Thanks! After sometime I got it working and I learnt somethings along the way :)
Thanks for sharing how do you scale this solution for hosting multiple wordpress sites?
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
You can't associate an ssl cert with an ip address afaik
Thanks for the walkthrough! Still, I keep getting unhealthy backend and "no healthy upstream" error message. Any idea of what I might be missing?
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
At the end I am getting an message "no healthy upstream" when I try to access my website via the domain name. Any tips?
Have you found solution?
@@romankovalchik307 Yeah, I used an another tutorial 😅th-cam.com/video/uSm3xepvUNM/w-d-xo.html
you skipped network creation (called default in your case)
Great video! Ty. That helped a lot.
Glad it helped!
Legend bro
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 ?
Sounds like that method required you still trifle with SSL certs, my method does not.
@@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 ...
Does Word Press offer any benefits over WebFlow/Wix/Squarespace?
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.
@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?
Thanks, very useful!
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!
Is your server redirecting?
what`s the solution to this? :S
Thank you for your effort. This REALLY HELPED ✌🙏✔💯🎯
Glad it helped!
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?
Must be static.
Thank You :) Good VDO for me.
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
Perfect😍😍😍😍😍
👌
@@DataSlayerMedia helped me and solved the problem. Great video.
@@memyadventures2730 what did you do to fix it? I get the same issue with the load balancer, it says it's "unhealthy"
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
GCP is not configured to handle port 80/ or http. To add redirecting follow this vid - th-cam.com/video/2yaq-0C-cmU/w-d-xo.html
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!
Are you sure you selected unmanaged for the instance group?
@@DataSlayerMedia I'm having same problem. I have selected Unmanaged, yet I cant see my VM.
great video ,but the external static ip address thing is giving me a headache .please help
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?
What error do you get when you visit your domain name?
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?
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?
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.
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?
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!
You created "instance-group-2" at 2:45, but at 3:51 selecting "wordpress-instance-group" - where is that taken from?
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.
statechange.ai/request
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 ?
Where does that error originate from?
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?
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?
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."
Your help will be very usefull for me!
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?
I'm having this exact same issue.
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
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?
yeah everything seems to be OK. just not working. would you have a minute to take a look? I would appreciate it.
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😊
Still good in 2023
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?
I don't believe so - it shouldn't be that expensive though.
@@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?
Hello there thanks for your video! I followed every steps you did but right away I click create a load balancer it's getting unhealthy quickly... Any ideas how I should fix it? thanks a lot
When you request the health check URL? Do you get a healthy response?
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?
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.
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
Hi Samuel, I originally had reserved a static external IP address too, this should not be the problem.
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?
See what it's doing and correct it accordingly.
@Ashish R 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.
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!
Should be the same approach. Proxy to the bitnami compute group.
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"
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??
We might need to hop on a call - use the calendly link!
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
you must list that subdomain for the cert.
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?
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
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.
Was a resolution found for this, because I'm facing the same complication. This is a huge blocker.
Great tutorial i want to ask you i want to connect my google cloud mysql to power bi ?
I will need to look into that, but the answer is likely in the data sources section of Power BI
@@DataSlayerMedia thank you for answering me I will appreciate your help a lot I tried to choose mysql in power bi data source but it didn't work. Thank you a lot in advance
very good. I wonder if you can record one video for migrate wordpress website to Google cloud. thanks
I'm working on it, in the video which hosting provider should the WP site originate from?
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
Could this replace Miniorange for my Wordpress site's SSO? Their support isn't responding.
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
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
Setup a back end.
This has been extremely helpful, thank you! How might I also support www along with the naked domain name?
I am also wondering this!
How much cost ssl will be on google?
Less than $1 USD/day
Great tutorial, however, I can access the website from the VM's ip and the certificate is considered valid, but when I try to connect by using the load balancer's ip or the domain I get "ERR_EMPTY_RESPONSE". Do you know what could be the problem?
I've had a similar issue. The IP address of my website (Wordpress) instance can be accessed from the Deployment mgr using the IP address on the VM instance, and the connectivity test shows that vm instance can be accessed from the load balancer IP, but the static load balancer IP returns nothing. Where am I going wrong. No errors on config according to Google cloud monitor. Need help here
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
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!
There are word press plugins that can address this. Basically your html page is reference assets. This causes the browser to throw the error
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.
HTTP2 is a whole other ball of wax that I have yet to dig into. Maybe at some point in the future I will...
@@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.
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!
You setup the ssl cert wrong somehow
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.
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.
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 ?
You set it up incorrectly then, what's your domain?
I was unable to paste the ns records in GoDaddy, it was not accepting those
Hey, I can't create a DNS zone, video 6.58. Any suggestions?
What is the error your are receiving?
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.
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.
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❤
HI, can you show us how to do SSL with Wordpress multi sites?
I will look into it.
Hai. I can not change ip address in the load balancer frontend from Ephemeral. There is no create ip adress option
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?
Hi .. thank you for the video ... i followed all steps but at end i got error server cannot be found ..
Is that a google generated error or your backend server?
@@DataSlayerMedia i am not sure could you advise on how i can know that .. thx
I think i found what was the issue ... its working now perfectly. 👍 thank you
My issue was http was not working so when i add https it worked ... and thanks for another video you have which is how to redirect http to https now both http and https working perfectly .. thank you very much
I tried following the tutorial, but I'm getting 404 not found error on the website.
Do you have a server responding to traffic on localhost?
@@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.
Hi My website healthy check is not healthy
how may i fix it ?
thank you
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.
How did you manage http to https redirection?
I've Just fixed the HTTPS but now i am getting an error "no healthy upstream" Please help.
Thanks for the tutorial. I was able to get the website somewhat working... Is anyone else getting a "Page isn't working right now ... didn’t send any data.
ERR_EMPTY_RESPONSE"
Does anyone know why this could be happening and how to resolve it?
Thanks
Have same problem.
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.
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.
Hi refactored
Thank you very much for such an informative video. I have a question, can we host 3 websites on 1 google cloud account?
I searched everywhere, but found nothing.
Thank you :)
I mean you can host as many websites as you want.
@@DataSlayerMedia Thank you very much for the answer, I always love your content :)
Can we configure https load balancer with nginx ingress controller?
I am not familiar with that, but a quick glance seems to indicate that it should work!