GCP's compute services

Introduction to GCP

Nabeel Imam

Content Developer at DataCamp

Engines and functions

Server-based

Compute Engine Logo of Google Compute Engine.

  • Customizable virtual machines

Serverless

App Engine Logo of Google App Engine.

  • Scalable and efficient app-development

Cloud Functions Logo of Google Cloud Functions.

  • Event-driven computation
Introduction to GCP

Serverless spectrum

A trendline showing increasing control and management required going from Cloud Functions to App Engine to Compute Engine.

Introduction to GCP

Microservices in containers

  • Containers: packages containing all essentials (libraries, code, data)
  • Each containerized app provides a microservice
    • Together microservices make up the service

Containers hover around a mobile device running an app.

Introduction to GCP

The photo-sharing app

A person uses their mobile device to view and share photos.

An upload surge

  • Increase number of containers for upload service
  • Trigger an update of recommendations service

Orchestration is crucial...

Introduction to GCP

Kubernetes

  • Open-source software for container orchestration
  • Invented by Google

Google Kubernetes Engine (GKE)

Logo of Google Kubernetes Engine.

  • Fully managed Kubernetes service
  • Automated scaling and updates
  • Integrated with other GCP services
Introduction to GCP

Handling the upload surge

A multitude of users view pictures on an app at the same time, a bar graph shows increasing traffic.

  • GKE scales up the containers for uploads
    • Scales them down once surge goes away

One container sends a message to another container.

  • Uploads microservice sends a message to recommendations
Introduction to GCP

Complicated architectures

Access to an on-premises data center is restricted by enhanced security.

  • Data on premises for regulatory reasons
  • Compute services on the cloud
Introduction to GCP

Bridging platforms

  • Deploy apps across various environments
    • GCP, on-premises, other cloud providers
  • Simplified operations, increased compliance
  • Apps must be container-based
    • Facilitates move to container architecture
Anthos

Logo of Google Anthos.

Introduction to GCP

Let's practice!

Introduction to GCP

Preparing Video For Download...