How to Install WordPress on Google Cloud Platform VPS

0
237

ara install WordPress on Google Cloud Platform VPS. Therefore here I will give a little tutorial to install WordPress and manage VPS GCP. Actually manage VPS is quite easy for those who already understand step-step, but very very complicated and make a headache for some circles, especially for the layman. Okay than long just see step by step how to install WordPress in the following GCP.

Tutorial Install WordPress on Google Cloud Platform

How to Install WordPress on Google Cloud Platform VPS
How to Install WordPress on Google Cloud Platform VPS

So before you go any further, you need a Google Cloud Platform account. For those who do not know what Google Cloud Platform is, or how to get the account can read-read first in my post this one. Take it easy, it’s free. After that you can login to dashboard via Console GCP. Previously you will be asked to create a project first. This project will be used to accommodate all your work, including VPS that you will make later.

  • Click the Create Project button
  • Name the project as you wish. Then click Create.

After successfully creating the project, you will be brought into the Google Cloud Platform dashboard.

  1. Creating Virtual Machines Instance

After successful entry into the GCP dashboard, the first step you should do is create virtual machines first. How to select Compute Engine »VM Instances» Create Instance on the GCP menu.

After that will open a new form regarding the specs of the Instance to be created. Interestingly, here you can set the OS as well as how much CPU, memory, disk space, and server country origin to use. So you can customize the VPS according to your own needs. There will also be listed how much you have to pay monthly to rent 1 instance (VPS). If you have trial credit, then the trials are cut first.

Well if you think that this GCP will be very expensive for long term use, it seems you do not know the hidden features of GCP. So in this GCP there is a free tier service that is very interesting for you to try, his name is Always Free. On Always Free you can feel the free VPS even though your credit trial is up. The Always Free specification has also been specified, as follows:

– 1 f1-micro instance per month (US regions only – Excluding Northern Virginia)
– 30 GB-months HDD, 5 GB-months snapshot
– 1 GB network egress from North America to all regions destinations per month (excluding China and Australia)

Well if you are still confused how does setting Instance let me get Always Free? Just stay the following specifications according to the options below:

– Name: Give a name, lowercase no spaces
– Zone: select us-west1-a
– Machine Type: select micro (1 shared vCPU)
– Boot Disk: Select Ubuntu 16.04 & 30GB persistent disk
– Firewall: check in HTTP and HTTPS

In addition to what I mentioned above leave the default only. After that click the Create button.

2. Manage VPS with ServerPilot

Well after successfully creating an instance (VPS), the next step is to manage VPS. For this step is very easy, you just need to register ServerPilot. By using ServerPilot later you gut feeling dizzy installs one by one WebServer, PHP, mySQL, and so forth.

Well, if you already have an account just click Connect Server. Later will appear form as below. Stay adjusted only.

After that click Connect to ServerPilot. Then next will appear a few lines of command text. Copy entirely.

If it has been copy, back to the previous instance you have created. Click the SSH button.

A new command shell window will automatically appear. Paste the command text from ServerPilot into it and press Enter. Your VPS will automatically install WebServer, PHP, mySQL by itself. Just wait until the installation process is complete. Marked with messages like the following on ServerPilot. This way your VPS has been successfully manned by ServerPilot. To install WordPress, create a Database, add Domains you can do easily in ServerPilot.

3. Install WordPress

To install WordPress is quite easy. Just click the + Create App button on the ServerPilot dashboard. Then the form will appear as follows. Stay adjusted only. After that click on Create App. This way WordPress is already installed on the VPS. But to access it you need to redirect your domain to VPS first.

4. Redirecting Domains to VPS

To be able to redirect a domain to a VPS simply add A records to your domain’s DNS manager. For example here I am using a DNS manager from Hurricane Electric, for others just stay adjusted. Then add A record with External IP from your instance. For column name blank only. Wait until the propagation process is completed which is approximately 1 × 24 Hours. After that try check your domain

so how to install WordPress on Google Cloud Platform VPS. Up here you can access your WordPress via domain address. But keep in mind that with the above settings, your WordPress can only be accessed without using SSL or just using HTTP only. To add free SSL (HTTPS) on your Google Cloud Platform VPS you can see in the following post. If you want to manage files inside VPS you can use WinSCP.

 

 

 

 

 

NO COMMENTS

LEAVE A REPLY

This site uses Akismet to reduce spam. Learn how your comment data is processed.