1.Access the Google Compute Engine.
To log in to the Google Compute Engine website, perform the following steps:
If you do not already possess a Google account, create one. Then, log in to Google.
Navigate to the Google Compute Engine website. The Google Compute Engine interface will appear.
Click Get Started. A new interface will appear.
2.Accept the trial offer.
Accept the Terms of Service and click AGREE AND CONTINUE. The Payment Information interface will appear.
Enter or confirm your payment information.
To enter or confirm your payment information, perform the following steps:
Enter your payment information, or confirm the existing payment method on your account.
Click START MY FREE TRIAL. The Google Cloud Platforminterface will appear, and Google will send you a confirmation email.
You must enable billing on the account before you can create an instance.
To enable billing, perform the following steps:
At the top of the window, in the upgrade offer banner, click DISMISS.
Click Enable Billing. The interface will display a message: Compute Engine is getting ready. This may take a minute or more.
When the message vanishes, click Create. The Create an instance interface will appear.
4.Create an instance.
To create the instance, perform the following steps:
In the Name text box, enter a name for the instance.
In the Region menu, select a region.
In the Zone menu, select a zone within the region.
Select the number of CPUs you need.
Click Customize if your instance requires more memory, a specific CPU style, or to specify the number of GPUs.
In the Boot disk section, click Change. A new section will appear.
Select CentOS 7.
Select Standard persistent disk.
Increase the disk space to more than 20GB.
Click Select. The section will close.
From the Service account menu, select Compute Engine default service account.
From the Access scopes menu, select Allow default access.
In the Firewall section, select both the Allow HTTP traffic and Allow HTTPS traffic checkboxes.
Click Create. The Google Cloud Platform interface will appear.
To obtain updates for the operating system run the following commands:
2. yum update -y
To install perl, run the following command:
yum install -y perl
7.Assign a hostname to the server.
To assign a hostname to the server, run the following command, where hostname.example.com represents your desired hostname: