Codementor Events

Google Compute Engine

Published Dec 20, 2018

Learn in brief about the Google Compute Engine in this guest post by Ranjit Singh Thakurratan, a multicloud expert and the Principal Chief Architect at DellEMC.

The Google Compute Engine service lets you create and run virtual machine instances on GCP. Just like any other cloud provider, Google lets you deploy and manage virtual machine instances in a true Infrastructure as a Service (IaaS) fashion. Google Compute Engine also supports a variety of operating systems including Windows Server 2008 R2, 2012 R2 and 2016, Red Hat, Ubuntu, SUSE, CentOS, CoreOS, and Debian.

You can also import a disk image from your on-premises environment. Each instance is part of a project and contains a small persistent root disk, and more storage can be added depending on your requirements. A virtual private cloud (VPC) network can also be attached to an instance with an assigned IP address.

1.PNG

GCP offers predefined machine types that fit the needs of different applications. You can also define your own custom machine type as well. Predefined machine types are classified into three different classes:

• Standard machine type
• High-memory machine type
• High-CPU machine type

Standard types of machines are most suitable for day-to-day applications that are not memory or CPU-intensive. Standard machine types allocate 3.75 GB of RAM per virtual CPU. On an n1 series machine, a virtual CPU is implemented as a single hardware hyper-thread on a variety of Intel CPUs ranging from Sandy Bridge to Skylake:
2.PNG

For applications requiring more memory than CPU, high-memory machine types are ideal. These virtual machines have double the amount of RAM (6.50 GB) per CPU than that of standard machine types:
3.PNG
4.PNG

High CPU machine types are for applications requiring high CPU over memory. These machine types have 0.9 GB of RAM per virtual CPU:
5.PNG

f1-micro bursting machine types

f1-micro bursting machine types allow instances to use additional physical CPU for short periods of time. If your instance requires more CPU than originally allocated, it can take advantage of the additional physical CPU instance. Burst instances are temporary and are only possible periodically:
6.PNG

Mega-memory machine types

Mega-memory machine types are for those applications that require higher memory to virtual CPU ratios. This is different from the high memory machine type where higher memory is offered without high virtual CPUs. Mega-memory machine types offer 15 GB of RAM per virtual CPU. Not all regions offer mega-memory machine types:
7.PNG

Images

A compute engine allows you to deploy operating systems using either public images or custom images. Public images are maintained by Google, third-party vendors, and open source communities. All projects have access to these images to create instances. Custom images can be created in your project and are available only to your project. You can even import a custom image from your data center into GCP at no cost other than the image storage charge.

All public images are 64-bit versions of the operating systems. Only some of the public images are supported by the compute engine team:
8.PNG

9.PNG

Hope you enjoyed reading this article. If you want to learn more about the Google Cloud Platform, you can check out Google Cloud Platform Administration. Following a hands-on approach, Google Cloud Platform Administration quickly gets you started with how to administer, configure, and manage the Google Cloud Platform. You can avail all of Packt’s books for just $5 till January 21, 2019. So what are you waiting for? Avail the offer today and become an exceptional IT professional!

Discover and read more posts from PACKT
get started