So, Yesterday I have setup load balancer for my WordPress instances on compute engine. I have created an instance group. In load balancer, I have reserved on static IP for my frontend as well. I am using https for my frontend. I have added the frontend IP to my DNS 'A' record of the domain. Its been more 24 hours, I am not being able to access my WordPress site with frontend IP or my domain name. All I am getting a 404 error page from google. I can access my website perfectly with the static IP of my VM instances. What could have possibly gone wrong?
Frontend IP is not opening up the website in google cloud load balancer
googlegoogle-cloud-dnsgoogle-cloud-platformgoogle-compute-engineload balancing
Best Answer
In order to achieve your requirement, could you please verify the below set-up for your environment :
Goto Compute Engine >> Instance groups and click Create instance group
Go to VPC network >> External IP addresses and click Reserve Static IP Address
Go to Network Services >> Load Balancing and Click Create Load Balancer
Backend configuration
Create Health Check
Frontend Configuration
Load balancing Frontend configuration
Attention: Once you have created a certificate it will be in the PROVISION status. Once the certificate is ACTIVE, you’ll have SSL issues for a few minutes with the error message ERR_SSL_VERSION_OR_CIPHER_MISMATCH. It took 15 minutes for mine to have everything up and running.
Goto Goto Network services >> Cloud CDN and click Add origin
In Origin select the Load balancer you just created.
Click Add
Now go to Network services >> Load Balancing and wait for 10 – 15 minutes for the Load Balancing settings to propagate. Once done you will see a green checkmark which indicates everything is fine.
Sharing reference youtube video as reference for setup as well.
After verifying the above step , please let me know if the issue still persist and provide the detail error in order to assist you further