INTRODUCTION TO GOOGLE CLOUD PLATFORM
With Google Cloud Platform (GCP), you can build, test, and deploy applications on Google’s highly-scalable and reliable infrastructure for your web, mobile, and back-end solutions.
GCP resources
GCP consists of a set of physical assets, such as computers and hard disk drives, and virtual resources, such as virtual machines (VMs), that are contained in Google’s data centers around the globe. Each data center location is in a global region. Regions include Central US, Western Europe, and East Asia. Each region is a collection of zones, which are isolated from each other within the region. Each zone is identified by a name that combines a letter identifier with the name of the region. For example, zone an in the East Asia region is named Asia-east1-a.
Accessing resources through services
In cloud computing, what you might be used to thinking of as software and hardware products, become services. These services provide access to the underlying resources. The list of available GCP services is long, and it keeps growing. When you develop your website or application on GCP, you mix and match these services into combinations that provide the infrastructure you need, and then add your code to enable the scenarios you want to build.
Global, regional, and zonal resources
Some resources can be accessed by any other resource, across regions and zones. These global resources include pre configured disk images, disk snapshots, and networks. Some resources can be accessed only by resources that are located in the same region.
COMPUTE ENGINE
Part 1
- Login to Google Cloud Platform
- Select or Create a Project by selecting GCP Project
- Go to Products & Services > Computer > Compute Engine
- Create Virtual Machine Instance
- Choose a name for Instance and select zone
- Select Machine type, CPU, RAM as required or it can be customizable
- Select Boot Disk Image (Recommended to CentOS 7)
- Allow full access to all cloud APIs in Identity and API access
- Allow both HTTP & HTTPS access to the firewall
- Configure VM Instance using SSH (Secure Shell)
sudo -s yum update -y
yum install -y perl yum install -y wget
hostname centos.yourhostname.com
systemctl stop NetworkManager.service
systemctl disable NetworkManager.service
cd /home && curl -o latest -L https://securedownloads.cPanel.net/latest && sh latest passwd
- Configure Cloud Zone (Cloud DNS)
- Create a DNS Zone
- Create a domain for your project, and configure your domain with Nameserver as Data of DNS type NS and IP address of your Instance
- Order confirmation
- Manage your Domain
- Creating Firewall Rule (WHM tcp:2087 cPanel tcp:2083)
- Login to WHM using Instance Ext.IP:2087
- Configuring Network Environment in WHM account
- Go to step 2
- Go to step 3
- Configuring IP address in WHM account
- Go to Step 4
- Configuring Nameserver and Hostname
- Configuring FTP services
- Save and Go To step 6
Once completed the above step, Finish the Initial setup and Go to WHM
- Feature Showcase of WHM panel
- Save your Settings
- Enabling all the settings
- Settings Enabled
- Successfully redirected to WHM Account