Install WordPress on Google Cloud Platform.

Install WordPress on the Google Cloud Platform. 

Google maintains a wide range of tools and services to facilitate a variety of Internet-based tasks for Internet users around the world With which we are more or less familiar. One of Google's various services is the Google Cloud Platform, a service that allows Internet users to explore more than just Google search results. Actually, it is an online computer data storage system. In which you can store any type of file online. Since it is an online cloud storage service, we can install the popular website builder WordPress CMS software through it. This platform from Google will act as a server and you can install an application like WordPress. Through this, you can create a beautiful website.

Google Cloud Platform is a cloud computing service that Google uses for their products But yes you have to pay to use it. First, you will get 90 day free trial after signing up. But then you have to accept its service by paying money through different packages. During this free trial period, you can build your site with WordPress and run it on Google's servers. But then you have to pay a fee based on the software and features to run your site. As I have said before.

For those who know, and for those who don't know, to create a website with WordPress, you must have a hosting service. There are many hosting service sites for this. You can use them if you want or you can also use Google Cloud Service.

Now if you are a beginner, who doesn't have much idea or knowledge about WordPress CMS. You can choose this cloud server to host your website and start learning along the way. You can use this service first for free. But you will need a credit card to create a new account here.

How to install WordPress on the Google Cloud Platform:

Before starting, you should know that having a domain is not mandatory. You will be assigned an IP address that will serve as a WordPress site. However, you can always map a domain to your server and use the domain instead of the IP address.

To get started, go to cloud.google.com and create an account for yourself. Here you need to enter your name, address, and credit card details to create an account. According to Google Cloud, Google will ask for payment after one year instead of deducting any charges from your card now. And you can use this one year for free.

Worpress-install-on-Google-Cloud-Platform-01


Next, open the console. You can either go to console.cloud.google.com/start or you can click the console button on the current page. Now you need to take a new project for which click on the Select a project button as shown in the above screenshot.

Worpress-install-on-Google-Cloud-Platform-02


You will see a popup or window, where you have to click on the plus (+) sign. After that, you need to enter a project name. In this way, a project ID will be generated automatically. Then wait a while. Some things may take a few moments to set up. Then you will see a detailed information box on your computer or mobile screen. From here click on the Cloud Launcher button on the left side as in the above screenshot.

Worpress-install-on-Google-Cloud-Platform-03


On the next screen, you will find some apps that you can use to install virtual machines. Here we will install the WordPress virtual machine. So click on Blog & CMS and click on WordPress. And if I don't find it here, I will find it through the search box. Then I will click on the Launch of compute engine button as shown in the above screenshot.

Worpress-install-on-Google-Cloud-Platform-04


Then the above screenshot will appear. Here, you will see the deployment name, server location or region, machine type, RAM, admin email, disk type (SSD or standard), disk size, etc. In addition to these options, you also need to select the Allow HTTP traffic and Allow HTTPS traffic checkboxes. Then click on the Deploy button. After clicking on it you have to wait sometime.

Worpress-install-on-Google-Cloud-Platform-05


After the installation is complete you can see your site IP and all other details. If you click on the IP address here, it will open your newly installed WordPress site.

Add domain to Google Cloud Platform:

As mentioned earlier, having a domain is optional. If you have a domain and want to add that domain to your Google Cloud Platform alongside your WordPress installation, you need to follow the steps below.

Worpress-install-on-Google-Cloud-Platform-06


From the dashboard, click on VPC Networks and select External IP Addresses. In the Type column, you can see Ephemeral. Click the drop-down menu and select Static. Next, you need to save a name for it. After completing that part you need to Enable Google Cloud DNS API. To do this click on APIs & services and select Library. On the next page, search for Google Cloud DNS and click on the Enable button as shown in the screenshot above.

Now come back to the dashboard and go to Compute Engine > VM Instances. On this screen, you will see External IP. Copy it to your notepad as you will need it in the next step. Note that for your information this is the same IP as your site address.

Worpress-install-on-Google-Cloud-Platform-07


Then click on Network Services and click on Cloud DNS. Click on CREATE ZONE button here. Then as in the above screenshot, you need to enter these details by following the procedure mentioned below:

Zone Name: Whatever you want. That is, give a name of your choice. For example, your website name is tutorialBD71 like this.

DNS Name: Enter the domain name of your website except for WWW.

Description: You can enter a short description of your website to quickly identify the zone. But it is optional you can give it or not if you want.

Worpress-install-on-Google-Cloud-Platform-08


Finally, you need to create two A records so that you can open your domain with and without www. To do this click on the ADD RECORD SET button and enter the following details,

DNS Name: Leave it blank.
Enter Resource Record Type: A.
TTL: 5
TTL Unit: Minutes
IPv4 Address: Enter the external IP address that you copied earlier.

Then again click on ADD RECORD SET button. But this time enter www in the DNS Name box and also enter the description you used to create the previous A Record.

After adding all records properly it will look like the above screenshot. Now you need to add NS records to your domain registrar account. To do this open the domain registrar account and enter NS records accordingly. Do not copy from the above picture as it will look different for you or else. These

Post a Comment

0 Comments