Documentation

Visit Our xCloud Knowledge Base

Here is your one-stop source for in-depth articles, FAQs, and tutorials for you to excel at hosting & managing your websites.


How To Setup a GCP(Google Cloud Platform) Server in xCloud?

With xCloud, you can easily set up the first server with Google Cloud Platform without any coding at all. xCloud aims to simplify the process of hosting and managing WordPress sites, allowing developers and agencies to focus on building great websites without worrying about the underlying infrastructure. Now letโ€™s follow these steps to get you started.

Step 1: Sign Up/Login With xCloud #

First, you will need to visit the xCloud website and you have to sign up for xCloud with your credentials. If you have already an account please visit our app URL below:

Step 2: Create Your New Google Cloud Platform Server #

After logging in to your xCloud account, start by adding a new server by clicking on the “Create New Server” button from your dashboard.

The next screen will provide the list of our available server providers. For tutorial purposes, we will create a Google Cloud Platform server and for that select the Google Cloud Platform option. The billing of the server will be handled on your Google Cloud Platform account.

First Server With Google Cloud Platform

All You have to do is upload the json file and create GCP servers instantly from xCloud.

Now the question is where & how to get the json file to upload it in the below-resulting image.

First Server With Google Cloud Platform

Step 3: Get The JSON File From Google Platform #

To get the JSON file you need to follow a few simple steps.

  1. Sign in to your Google Cloud Platform with the correct credentials. Once you signed in, switch to your project where you want to create your server and navigate to โ€˜IAM & Adminโ€™ and click on it.
Google-Cloud-Platform

On the resulting page, navigate to ‘Service Accounts’ โ†’ ‘Create Service Account‘ to go to the next step.

Google-Cloud-Platform

Fill up your service account name, and account ID & click on ‘Create & Continue.’

Google-Cloud-Platform

Now, select the role as ‘Owner’ & click on ‘Done’ from below.

Google-Cloud-Platform

Now, locate your account service from the below-resulting page & click on it.

Google-Cloud-Platform

In this step, navigate to ‘Keys’ โ†’ ‘Add Key.’

Google-Cloud-Platform

And here you are finally! Click on JSON as the Key type as shown below & press the Create button from below right. And you will have your JSON file downloaded on your device.

Google-Cloud-Platform

Step 4: Enable Google API #

To enable Google API, you will find a search bar at the top, search for โ€œCompute Engine APIโ€ there.

Google API

Click ENABLE as shown below:

Enable-Compute-Engine-API

Step 5: Create Firewall Policies #

You need to configure โ€œdefault-allow-httpโ€ & โ€œdefault-allow-httpsโ€ firewall on your GCP account.

Visit Firewall Policies

Create the rules: โ€œdefault-allow-httpsโ€ rule.

Create the rules: โ€œdefault-allow-httpโ€ rule.

Make sure to Enable both

Step 6: Create a VPC Network  #

If the project does not show any default VPC network, then you can create a new VPC network by yourself. To create a new VPC network, look for the โ€˜Create VPC Networkโ€™ and click on it. Now a form will pop up on the screen. Here, you need to fill up the form, give it a name set the โ€˜Subnet creation modeโ€™ to automatic and forward with the โ€˜Createโ€™ button so that you can create a new VPC network. 

Once the VPC network is created, you can manage all firewall rules on the Firewall rules page. Select any firewall rules below that you would like to apply to this VPC network from the below menu. Then roll down to the next section where you will set the Dynamic routing mode to โ€˜Regionalโ€™ and press on the โ€˜Createโ€™ button. 

Step 7: Add Necessary Information #

After uploading the correct json file now you need to provide the Server name, your preferred Server Specifications (CPU, RAM, storage), and the Region nearest to you and your visitors.

upload-JASON-file

Then submit the form and this might take up to 12-15 minutes to make the server live and ready to install a lightning-fast WordPress Site.

How To Create A Site With xCloud #

After you have completed the previous steps, you are now ready to create your site. Simply follow our step-by-step guide below. 

Step 1: Create A Site From The Dashboard #

Once your server is connected, you can create a site from the Dashboard or Site List by clicking on the button โ€œCreate New Siteโ€

First Server With Google Cloud Platform

Then you will need to select the server on which you want to install your WordPress website.

First Server With Google Cloud Platform

Step 2: Choose Your Site & Add Information #

As we will be creating a fresh WordPress site choose the โ€œInstall New WordPress Websiteโ€ options as shown below.

First Server With Google Cloud Platform

Now all you have to do is install and Go Live with your WordPress Site. You can do the next process with 3 simple and easy steps.

First Server With Google Cloud Platform
  1. Add a Site Title
  2. Add Tags if you want
  3. Choose to Go Live
  4. Add your own Domain. Make sure to add the A record as shown above in your DNS panel.

To use a Free SSL certificate by Letโ€™s Encrypt simply turn on the HTTPS enable button and xCloud will automatically set everything for you.

First Server With Google Cloud Platform

You can then simply hit the Next Button to create your site and Go Live instantly.

Step 3: Go For The Staging Environment #

Also, If you do not want to point your domain yet then xCloud offers temporary domains to make your site live with every Site creation method available in xCloud. For that select the Staging Environment option.

First Server With Google Cloud Platform

Step 4: Configure Advanced Settings #

By default, the WordPress admin credentials are autogenerated to speed up the site creation process. As soon as your site is deployed you will receive your Site credentials on your email address. Later on, you can update your password if needed. From โ€œMore Advanced Settingsโ€ you can update the default Admin Username, Admin Password, Admin Email Address, etc along with other additional settings from here.

First Server With Google Cloud Platform

Step 5: Review Your WordPress Settings #

After all the information, you can review your settings. Here you will get an overall report of your Domain Name, HTTPS Settings, WordPress Version, PHP Version, and much more. 

After the previous step, click on the โ€˜Nextโ€™ button. It might take only 1-2 minutes to create your WordPress site. You are done with your creation of the first server with Google Cloud Platform.

First Server With Google Cloud Platform

That’s it! You’ve successfully setup the first server with Google Cloud Platform in xCloud. Now you can start working on your website, customize it, install themes/plugins (if applicable), and take advantage of xCloudโ€™s optimized server environment for seamless site management.

Donโ€™t have xCloud Pro access? You can integrate any server provider in xCloud to provision a server and install a site in it. Check out this documentation to find out how to provision a server with DO

How To Set Up Server With Other Providers?

Still stuck? Contact our support team for any of your queries. 

What are your feelings
Updated on May 20, 2024

Server Name

RAM

SSD

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Newcomer

1GB

25GB

$4.50

$5.00

$6.00

Basic

2GB

55GB

$9.00

$10

$12.00

Standard

4GB

80GB

$18.00

$20

$24.00

Professional

8GB

160GB

$36.00

$40

$48.00

Business

16GB

320GB

$72.00

$80

$96.00

Server Name

RAM

SSD/NVMe

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Lite

1GB

32GB

$5.40

$6.00

$8.00

Personal

2GB

88GB

$16.20

$18.00

$24.00

Growing

4GB

128GB

$21.60

$24.00

$32.00

Elite

8GB

256GB

$43.20

$48.00

$64.00

Titanium

8GB

384GB

$86.40

$96.00

$96.00

Ultimate

32GB

512GB

$172.80

$192.00

$192.00