menu
arrow_back

Deploy, Scale, and Update Your Website on Google Kubernetes Engine

—/100

Checkpoints

arrow_forward

Create a GKE cluster

Create Docker container with Cloud Build

Deploy container to GKE

Expose GKE Deployment

Scale GKE deployment

Make changes to the website

Update website with zero downtime

Deploy, Scale, and Update Your Website on Google Kubernetes Engine

1 hour 30 minutes 5 Credits

GSP663

Google Cloud Self-Paced Labs

Overview

Running websites and applications is hard. Things go wrong when they shouldn't, servers crash, increase in demand causes more resources to be utilized, and making changes without downtime is complicated and stressful. Imagine if there was a tool that could help you do all this and even allow you to automate it. With Kubernetes, all of this is not only possible, it's easy!

In this lab you will assume the role of a developer at a fictional company, Fancy Store, running an ecommerce website. Due to problems with scaling and outages, you are tasked with deploying your application onto the Google Kubernetes Engine (GKE).

The exercises in this lab are ordered to reflect a common cloud developer experience:

  1. Create a GKE cluster

  2. Create a Docker container

  3. Deploy the container to GKE

  4. Expose the container via a service

  5. Scale the container to multiple replicas

  6. Modify the website

  7. Rollout a new version with zero downtime

Architecture diagram

ddba666bd2b02d0d.png

What you'll learn

  • How to create a Google Kubernetes Engine cluster

  • How to create a Docker image

  • How to deploy Docker images to Kubernetes

  • How to scale an application on Kubernetes

  • How to perform a rolling update on Kubernetes

Prerequisites

Join Qwiklabs to read the rest of this lab...and more!

  • Get temporary access to the Google Cloud Console.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab