Free WordPress Hosting On Google Cloud Platform! After 1 year, it costs a few cents a month!


IMPORTANT UPDATE: I recommend you SKIP step #5 of this video…. I just found out that the Cloudflare CDN blocks the SSL Certificate from auto renewing… it looks like we can’t use Cloudflare CDN with the free auto renewing SSL certificate ☹ . I fixed it for www.KidPhotoFun.com and the SSL auto renews fine, but loses the CDN benefits, to fix it, change the DNS on your domain name provider to point back to the original NS addresses on GCP, then re-run the SSL certificate command (Step #4). None-the-less, the performance is still VERY good and I’m super happy with my deployment, let me know if you have any questions.

To Fix the SSL Certificate: Change the DNS on your domain name provider to point back to the original NS addresses on GCP, then re-run the SSL certificate command (Step #4). I also ended up using the new bitnami SSL certification tool, which worked out REALLY nicely! Here’s more information: https://docs.bitnami.com/google/how-to/generate-install-lets-encrypt-ssl/

UPDATE: Hosted my new business, www.KidPhotoFun.com on GCP with the instructions above; and it has been running super smooth for several months now. I enabled Stackdriver so that I can keep an eye on the CPU utilization of the VM instance, it also continuously runs UpTime checks so I know if my website goes down. Lastly, I have a policy configured to let me know if my monthly bill gets over $0.50!

WANT DOMAIN EMAIL ADDRESS:
To get domain email address you can either create a cpanel service, or pay for G Suite. I highly recommend paying a few bucks each month for G Suite. You’ll love. Learn more: https://goo.gl/Af7oWc Also, 20% off your first year coupon: 43QF7QPLXAWMEDH or use this coupon: R9KEWELK3L9LUH3 Let me know if you have any other questions.

How to Setup a Free WordPress Website On Google Cloud Platform (GCP). After 1 year, pay just pennies a month (for light traffic website)! Hosted on highly reliable Google Servers!

This Step-By-Step Guide will show you how to configure a website from scratch! You’ll need a credit card to linked to the account, and it’s preferred that you have a domain name to use. Otherwise you can purchase a domain name from domains.google.com or NameSilo.com, or GoDaddy.com, etc.

#FreeHosting #WordPressOnGCP #GoogleCloudPlatform

**STEP #1**
Setup Google Cloud Platform
at cloud.google.com using a free google account.

**STEP #2**
Deploy WordPress Website by Bitnami

**STEP #3**
Create a Static IP Address
& Setup Domain Name to point to the website.

**STEP #4**
Create SSL Certificate
& Setup SSL Certificate AutoRenew

Commands Used (** MAKE SURE you change the email address and the domain address to your own, not epiclightsource.com **)

sudo /opt/bitnami/letsencrypt/scripts/generate-certificate.sh -m epiclightsource@gmail.com -d epiclightsource.com -d www.epiclightsource.com

sudo nano /opt/bitnami/apache2/conf/bitnami/bitnami.conf

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*) https://www.epiclightsource.com/$1 [R,L]

sudo /opt/bitnami/ctlscript.sh restart apache

**STEP #5**
Increase Performance using a CDN Content Delivery Network)
www.CloudFlare.com/CDN

**STEP #6**
Remove Bitnami Banner Ad
Code Used:

sudo /opt/bitnami/apps/wordpress/bnconfig –disable_banner 1

sudo /opt/bitnami/ctlscript.sh restart apache

**STEP #7**
Install WordPress Theme & Really Simple SSL Plugin

When installing the Really Simple SSL Plugin, the plugin needed write access to the wp-config.php file, we did this step:

sudo chown daemon:daemon /opt/bitnami/apps/wordpress/htdocs/wp-config.php

We installed the Apsire Pro Theme:
Aspire Pro Theme ( https://shareasale.com/r.cfm?b=241369&u=1762462&m=28169&urllink=&afftrack= )

If you are a photographer and you are installing ProPhotoBlog (https://pro.photo?qbr=DNGU7813 ), which I highly recommend, you will run into an error telling you that you need to enable Imagick Module for the best performance. The Imagick module is installed in Bitnami stacks, but is not enabled by default. To enable it, follow these steps:

SSH into the VM instance again. We’re going to edit the php.ini file:

sudo nano /opt/bitnami/php/etc/php.ini

and simply add the following line at the top of the file (or anywhere in the file, if you want to be picky, you can scroll down in the file where it has all the extensions listed, and add it there):
extension=imagick.so

Restart the Apache server and/or the PHP-FPM service (if available):

sudo /opt/bitnami/ctlscript.sh restart apache
sudo /opt/bitnami/ctlscript.sh restart php-fpm

References:
https://docs.bitnami.com/google/infrastructure/lamp/configuration/install-modules-php/

Credit given when Credit Due: I learned a lot of this from a website called: https://www.onepagezen.com

“CONTACT ME” via http://www.UTECHPIA.com

SOCIAL MEDIA:
https://www.instagram.com/utechpia.dev
https://www.facebook.com/UTECHPIA
https://www.pinterest.com/UTECHPIA
https://www.twitter.com/UTECHPIA

11 comments

  1. Thank you for this wonderful video. It really helped me a lot. I had a lot of great pauses. lol! More power to your channel.

  2. Hi, the below issues I mentioned have been solved by using a plugin {really simple SSL} BUT REMOVING THE BITNAMI LOGO IS GIVING ME THE FOLLOWING ERROR AFTER ENTERING THE GIVEN COMMANDS.
    Unmonitored apache

    AH00526: Syntax error on line 9 of /opt/bitnami/apache2/conf/bitnami/bitnami.conf:

    Invalid command ']', perhaps misspelled or defined by a module not included in the server configuration

    apache config test fails, aborting

    AH00526: Syntax error on line 9 of /opt/bitnami/apache2/conf/bitnami/bitnami.conf:

    Invalid command ']', perhaps misspelled or defined by a module not included in the server configuration

    apache config test fails, aborting

    Monitored apache

    WHAT SHOULD I DO ABOUT IT?

  3. Hi, I have run into several issues. The firewall is warning me of not getting all the traffic to my new project. Also, this time the IP address has not changed to the domain but followed all the steps. I FORGOT THE PASSWORD AND WHEN I TRY TO LOG IN…NO WAY, HAVE TRIED TO USE FORGOT PASSWORD AND I AM TOLD THERE IS NO SUCH AN EMAIL ACCOUNT. How will I change the password? The SSL Certificate also not gone through even after redoing it again. I tried to open a new account and used the same billing info and was told I have not followed the TOS. The system when I click on SSH, IT RUNS FOR HOURS WITHOUT OPENING THE NEW WINDOW. Plz advice.

  4. i need advise i put in the details on my credit card but its still remaining three more numbers with no space to write again
    should i continue like that or should i use my account number?

  5. Great video David, why would you use CDN from Cloudflare? can't you just use from gCloud by creating a VM instance? or am I talking gibberish?

  6. Great help. thanks for the upload. I did everything and now my website is live but I had email hosted with different provider and now I cant receive any emails. How can I resolve it ?? Can you please help ?

  7. Thank you i was wondering why my site was saying insecure after using the CDN – Cloudflare .. I am going to delete my site from cloudflare …thank you

Leave a Reply

Your email address will not be published. Required fields are marked *