Apps on GCP

Introduction to GCP

Nabeel Imam

Content Developer at DataCamp

What's an app?

A self-contained software program designed to perform specific tasks

A mobile device screen showing the icons of familiar apps.

Introduction to GCP

A streaming app

Logo of Spotify.

  • Subscription-based audio and video streaming
Introduction to GCP

Spotify's needs

  • Store and manage big data
    • Google Cloud Storage

  • Deliver service without interruptions
    • Google Kubernetes Engine

  • Analyze and innovate
    • BigQuery

1 https://www.happtiq.com/spotify-on-google-cloud/
Introduction to GCP

Cloud-native apps

  • Designed to run in cloud environments
  • Quick deployment and updates
  • Highly scalable
  • Rapid recovery

Several people access an app on the cloud.

Introduction to GCP

Migrating apps to the cloud

  • Requires logistics and planning
  • Change patterns provide structure
  • Selecting appropriate change patterns requires assessment of:
    • Complexity
    • Available resources
    • Goals

An application on a mobile device is exchanging data with a disk in the cloud.

Introduction to GCP

Strangler fig pattern

A large monolithic cube is broken down into many smaller pieces that are linked together and are placed under a cloud.

Introduction to GCP

Strangler fig pattern

  • Perform the following on a complicated legacy app:

    1. Modernize a single function of the app
    2. Disable that functionality from the app
    3. Repeat steps 1 and 2 until all functions are on cloud
  • Allows scalability, quick updates, consistency

A large monolithic cube is broken down into many smaller pieces that are linked together and are placed under a cloud.

Introduction to GCP

Modernizing a banking app

Landing page of a banking app showing various banking services.

Introduction to GCP

Modernizing a banking app

Containerized digital wallet

A mobile device shows a secured app.

  • Deployed as microservice on Google Kubernetes Engine
  • Digital wallet in original wallet replaced with microservice

Processing transactions

Many operations happen concurrently on a disk with the help of the cloud.

  • Digital wallet data is captured by Google Cloud Spanner
  • Fully scalable, handles concurrent transactions
  • Original app function replaced
Introduction to GCP

Modernizing a banking app

Dashboard on the cloud

A financial dashboard showing various metrics and visualizations.

  • BigQuery and Looker replace the old dashboard

And so on...

  • All functionality replaced
  • Modern cloud-native app!
Introduction to GCP

Let's practice!

Introduction to GCP

Preparing Video For Download...