Engines in GCP

Priyanka Salunke
6 min readJan 11, 2021
  1. Compute Engine

Google Compute Engine (GCE) is the Infrastructure as a Service (IaaS) component of Google Cloud Platform. Google Compute Engines are the virtual machines on Google Cloud Platform. Compute Engine allows you to create and run virtual machines on Google infrastructure.

Google Compute engines are versatile. You can configure VMs with any number of processors, RAM and storage. You also get to choose your operating system. When set up, you can use them for any work. You can use VMs via SSH also. To create a GCE instance on GCP, you need a project. Then from the Menu, choose Compute Engine to get started. Then choose to “create an instance”. You will get the screen below.

GCP Compute Engine

Here, you can give an instance a name which must be unique. The region and zone helps you locate it closest to your primary users in order to reduce latency. You can choose machine type. You can deploy a container to the instance. You can select a boot disk or operating system. If you will be running a web server, you can enter the ports. Finally, click on the create button. You will get the screen below.

You can create an instance using a cloud shell. The command is:

There are various features of GCE, some of them are preemptible VMs, GPUs & TPUs, Migrating VMs to Compute Engine, Sole-tenant nodes, Labeling Resources, Windows instances and many more.

2. Google App Engine

Google App engine is a hosting and development platform that powers business web applications and mobile games with a framework which is similar to the framework that powers Google’s global web apps.

Google App engine provides a secure execution environment. It also provides a collection of services that makes the development of scalable and high-performance web applications easy.

The services include scalable data store, in-memory caching, job queues and messaging. Developers can build and test applications using the software development kit(SDK) of Google App Engine on their own machines. It replicates the runtime environment of production and helps in testing and profile applications. After development, developers can easily move their application to Google App Engine. Developers can set limits to contain the cost generated and make the application available to the world. The languages it currently supports are Go, Java, and Python.

3. Kubernetes Engine

OPEN SOURCE CLUSTER MANAGEMENT SYSTEM

Google Kubernetes Engine (GKE) provides a managed environment for deploying, managing, and scaling your containerized applications using Google’s infrastructure. The GKE environment consists of multiple machines (specifically, Compute Engine instances) grouped together to form a cluster.

Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.

4. Cloud Functions

It is a serverless execution environment which is used for connecting and building cloud services. With the help of Cloud Functions you can write single-purpose, simple functions that are attached to events that are emitted from cloud infrastructure and services. When an event being watched is fired, your function gets triggered. The code is executed in a completely managed environment. You don’t need to worry about the management of any servers.

Cloud Functions are written using Java, Python 3, Go or JavaScript on Google Cloud Platform.

  • Connect and extend cloud services

Cloud Functions give a connective layer of logic which allows you to write a code to not only connect but also extend cloud services. Listen and respond to an upload of a file to Cloud Storage, a change of log, an incoming message on a Subtopic.

  • Events and triggers

The things that happen in a cloud environment are called Cloud events. Like making changes to data in the database, adding files to a storage system, an instance of a new virtual machine being created.

  • Serverless

As Cloud Functions is a serverless execution environment, it removes the work done on configuring software, patching operating systems, managing servers and updating frameworks. Since infrastructure and software are completely managed by Google, you just need to add code. Also, the allocation of resources happens on its own in response to events.

5. Cloud Run

Bringing serverless to containers

Cloud Run is a managed compute platform that enables you to run stateless containers that are invokable via web requests or Pub/Sub events. Cloud Run is serverless: it abstracts away all infrastructure management, so you can focus on what matters most — building great applications. It is built from Knative.

  • How to Use : First, Write an app with any language, framework or binary libraries. Then, specify the language, dependencies and start script in Docker file. Package the app into a container. Finally, Deploy it using “$gcloud run deploy”.

By default service gets an HTTPS as endpoint with TLS termination on custom domain and since cloud run is built on the native open standard, you can easily move your applications to any kubernetes clusters — on GCP, on-premises or in another cloud.

Using cloud run you can build cloud-driven web services, such as dynamic websites, mobile apps, back ends, or back office administration.

6. VMware Engine

VMware Engine is a fully managed, integrated offering that delivers the consistency and innovation enterprises need, with an easy and seamless thanks to migrate to the cloud and unlock big data insights. With this service, you can deploy VMware workloads natively on isolated and dedicated infrastructure, delivering the business agility you wish while unlocking native access to cloud services. Because you run VMware vSphere, vCenter, vSAN and NSX natively in Google Cloud — compatibility may be a given. This permits you to migrate, manage and scale workloads from your data center to the cloud, without refactoring or causing disruption to your network or security policies.

Google Cloud VMware Engine consists of three key components:

1. Hybrid cloud infrastructure: Dedicated, isolated, private cloud deployed on a hype converged infrastructure stack, this allows you to run VMware natively within Google Cloud, in conjunction with back-end operations and support for the whole solution, and separated via a knowledge plane for extra security.

2. Operating System: The hybrid cloud management platform that orchestrates, automates, and maintains availability across the VMware bare metal and Google Cloud infrastructures this is often managed through one management portal, through which you’ll view both VMware and Google Cloud environments.

3. Network edge services: Enable communication between your hybrid architecture and therefore the public internet with advanced networking and security capabilities provided by Google Cloud.

That’s it.

Connect with Me:

LinkedIn: https://www.linkedin.com/in/priyankasalunke25

--

--