Google Cloud VPS $300 Free Trial

The Google Cloud VPS $300 Free Trial gives you with free Cloud Billing credit to pay for sources used whilst you find out about Google Cloud.

Program eligibilityYou’re eligible for the Free Trial in case you meet the next situations:You’ve by no means been a paying buyer of Google Cloud, Google Maps Platform, or Firebase.You have not beforehand signed up for the Free Trial.
Program initiationThe 90-day, $300 Free Trial interval begins robotically once you full your signup.To full your Free Trial signup, you have to present a credit card or other payment method to arrange a Cloud Billing account and confirm your id. Don’t fear, establishing a Cloud Billing account doesn’t allow us to cost you. You will not be charged except you explicitly allow billing by upgrading your Cloud Billing account to a paid account. You can improve to a paid account at any time through the trial. After you could have upgraded, you’ll be able to nonetheless use any remaining credit (inside the 90-day interval).
Program protectionYour Free Trial credit apply to all Google Cloud sources, together with Google Maps Platform utilization, however with the next exceptions:You cannot add GPUs to your VM situations.You cannot request a quota enhance. For an summary of Compute Engine quotas, see Resource quotas.You cannot create VM situations which can be based mostly on Windows Server images.To carry out any of the actions within the record above, you have to upgrade to a paid Cloud Billing account.
Restricted actionsIn addition to useful resource constraints, the Free Trial Terms and Conditions describe use instances which can be prohibited through the Free Trial. For instance, you might not use Google Cloud providers to mine cryptocurrency throughout your Free Trial.
Program periodYour Free Trial ends when one of many following happens:You’ve spent the $300 in credit.90 days have elapsed because you signed up.Throughout your Free Trial interval, your remaining credits and days are displayed on the Billing Account Overview web page within the Google Cloud Console.
Terms of serviceYou should settle for the Free Trial Terms and Conditions and the Google Cloud Terms of Service.
Service degree settlementService degree agreements don’t apply through the Free Trial. The Free Trial is meant that can assist you discover and consider Google Cloud. We don’t advocate operating manufacturing purposes on Google Cloud through the Free Trial.
Free Tier useDuring your Free Trial interval, once you use sources lined by the Free Tier, the Free Tier utilization isn’t charged in opposition to your Free Trial credit.

Try it for your self 

If you are new to Google Cloud, create an account to judge how our merchandise carry out in real-world eventualities. New prospects additionally get $300 in free credit to run, take a look at, and deploy workloads.Get began without cost

This article will help users to Create a Google Cloud Compute Engine VM Instance with CentOS 7. In this article, we will cover

  • Create a VM Instance using CentOS
  • Install CPanel

For creating a new VM Instance visit http://.cloud.google.com. Click on Go To Console.

Click on Menu → Compute Engine → VM Instance

Create a new VM Instance with following settings.

Create a new VM Instance and open SSH Terminal.

Execute the following command in terminal

  • sudo -s : get super privileges
  • yum update : It will keep your system update to date with all security updates and binary package.
  • yum install perl : Install Perl
  • yum install wget : Install Wget
  • hostname test.mayanktest.tk : Execute this command based on your domain name. Example cpanel.yourdomain.com or admin.yourdomain.com

After executing the hostname command, please update DNS for the main domain and the subdomain.

For the C Panel installation, we need to disable few things at OS level

Firewall: Firewall may cause some issue as with the C Panel installation. Stop it services before C Panel installation.
systemctl status firewalld: Check status for the firewall.
systemctl stop firewalld: Stop firewall if it is active.

Network Manager: It must be disabled before C Panel installation.
systemctl status NetworkManager: Check status.
systemctl stop NetworkManager: Stop services.
systemctl disable NetworkManager: Disable Network Manager.

Install Cpanel: The following line will install the latest version for C Panel. it will take some time for installation.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

Change Password: Use “passwd” to change the password. Enter a valid password and confirm the password. the Following action will create a password for the root user for WHM Control Panel. Remeber the password. We need it for login WHM Control Panel.

Following are the default ports for WHM and C Panel. We need to create firewall rules for all the ports.

  • WHM Panel ports – 2086, 2087
  • Cpanel ports – 2082, 2083

For the new firewall Rules Click on Menu Scroll For VPC Network and select Firewall Rules.

Following are the current firewall rules.

Click on Create Firewall Rule to create a new rule. Add the following information and click on save.

cpanel2082

  • name: cpanel2082
  • Targets: All instances in the network
  • Source IP ranges: 0.0.0.0/0
  • Protocols and ports: tcp:2082

Similarly, create three more rules with the following information.

cpanel2083

name: cpanel2083
Targets: All instances in the network
Source IP ranges: 0.0.0.0/0
Protocols and ports: tcp:2083

whm2086

name: whm2086
Targets: All instances in the network
Source IP ranges: 0.0.0.0/0
Protocols and ports: tcp:2086

whm2087

name: cpanel2087
Targets: All instances in the network
Source IP ranges: 0.0.0.0/0
Protocols and ports: tcp:2087

Now visit at http://test.mayanktest.tk:2086. If the browser warns for SSL certificates ignore the warning. Click on Advance followed by “Proceed to test.mayanktest.tk (unsafe)” option. Following image shows the steps for the same action.

For the WHM login use “root” as the username and password which we set earlier. After the successful login following the instructions as shown in the following images.
The first Step Agree with the Terms and Condition

On Step three we need to provide following information 

  • Our email.
  • SMS services (optional). 
  • server hostname which we set earlier
  • Resolvers we are using google resolvers.
    • 8.8.8.8
    • 8.8.4.4

Once done click on Save and Go to Step 3 button.

We didn’t modify anything here. Click on Go To Step 4 Button.

On step 4 we need to provide our name servers and IP address for the name servers. Following image shows all the information. Complete it and click on Go to Step 5.

At Step 5 we enable almost all the notifications. If you don’t want something, uncheck it. Finally, click on Go to Step 6.

On step 6 we are done. Click on Finish button.

Click on Go to WHM button.

On this page, we need to enable “WHM Enable PHP-FPM Service for C Panel” services. Check it and click on Enable Services.

After the above step, we will redirect to WHM panel. Here we will create a new C Panel account for our website mayanktest.tk. Click on Account Function then Create New Account.

Following images show all the information we need to provide.

Once you click on Create button, WHM panel will create a new account based on the information you provided. Following image shows the final result of success. Click on Go to cPanel button.

Finally, using C Panel we will create a new index.php file for testing. Following image shows the result for http://mayanktest.tk/index.php