Ends in
00
days
00
hrs
00
mins
00
secs
SHOP NOW

💸 Save Over 25% on Our Best-Selling AWS Solutions Architect Associate Reviewers!

Back to Course

GCP PlayCloud Labs

0% Complete
0/0 Steps
  1. GCP PlayCloud Labs
  2. Guided Lab: Creating a Cloud Storage Bucket
  3. Guided Lab: How to Launch a GCP Compute Engine Linux Instance
  4. Guided Lab: Creating a Cloud SQL Instance
  5. Guided Lab: Creating a Cloud NAT Gateway
  6. Guided Lab: Running SQL Commands in Cloud SQL Studio
  7. Guided Lab: Hosting a Static Website in Google Cloud Storage Bucket
  8. Guided Lab: Creating and Restoring Cloud SQL Backups
  9. Guided Lab: Vertically Scaling a VM Instance
  10. Guided Lab: Creating a Custom Image from a VM Instance with Web Server in Google Cloud
  11. Guided Lab: Setting up a Web Server on a VM Instance
  12. Guided Lab: Creating a Spot VM Instance
  13. Guided Lab: Exploring Instance Metadata in Google Cloud
  14. Guided Lab: Setting Up and Managing a Database on a VM Instance
  15. Guided Lab: Integrating Cloud SQL Database instance with a VM instance
  16. Guided Lab: Connecting Cloud SQL Database with MySQL Workbench (Local)
  17. Guided Lab: Creating a VM Using Instance Templates
  18. Guided Lab: Installing WordPress on an Ubuntu VM Instance with LEMP Stack
  19. Guided Lab: Reserving or Promoting a Static IP Address for a VM Instance
  20. Guided Lab: Creating a Google Kubernetes Engine (GKE) Cluster
  21. Guided Lab: Protecting Data on Cloud Storage Bucket Against Accidental Delete and Overwrite Using Object Versioning
  22. Guided Lab: Connecting to a Kubernetes Engine Cluster
  23. Guided Lab: Creating and Managing Instance Groups in Compute Engine
  24. Guided Lab: Configuring Shielded VM Options
  25. Guided Lab: SSH Access to GCP VM Instance from Local Machine using SSH Key Pair
  26. Guided Lab: Deploying a Simple Web Application on GKE
  27. Guided Lab: Configuring Firewall Rules to Secure and Access a VM
  28. Guided Lab: Establishing VPC Peering for Secure Cross‑Network Communication
  29. Guided Lab: Creating a Custom Virtual Private Cloud (VPC)
  30. Guided Lab: Using Startup Scripts in GCP VM Instances
  31. Guided Lab: Deploying a LAMP Stack on a Compute Engine VM
  32. Guided Lab: Managing Cloud Storage Buckets via SSH Commands
  33. Guided Lab: Guarding Your VM with Deletion Protection
  34. Guided Lab: Using Cloud Storage Lifecycle Rules to Automate Object Management
  35. Guided Lab: Guarding Your Cloud SQL Instances with Deletion Protection
  36. Guided Lab: Exploring Google Cloud Storage Classes
  37. Guided Lab: Setting Up a Linux Bastion Host on GCP
  38. Guided Lab: Uploading, Organizing, and Managing Objects in Cloud Storage
  39. Guided Lab: Creating an Application Load Balancer
  40. Guided Lab: Creating a Network Load Balancer
  41. Guided Lab: Creating VM Snapshots and Restoring a VM from a Snapshot
Lesson 20 of 41
In Progress

Guided Lab: Creating a Google Kubernetes Engine (GKE) Cluster

Description

Google Kubernetes Engine (GKE) is a managed container orchestration service that allows you to deploy, manage, and scale containerized applications using Kubernetes on Google Cloud. Before creating a Kubernetes cluster, the Google Kubernetes Engine API must be enabled for your project, as it allows Google Cloud to provision and manage Kubernetes resources on your behalf.

Creating a GKE cluster sets up the control plane, worker nodes, and networking required to run containerized workloads. GKE handles much of the underlying infrastructure management, allowing you to focus on deploying and operating applications.

In this guided lab, you’ll learn how to create a basic Google Kubernetes Engine (GKE) cluster using the Google Cloud Console, including configuring core cluster settings and verifying that the cluster is successfully created.

Objectives

In this lab, you will:

  • Enable the Google Kubernetes Engine API (if still not enabled)
  • Create a Google Kubernetes Engine cluster
  • Review and verify the cluster configuration and status

Lab Steps

Enabling the Google Kubernetes Engine API

1. In the Google Cloud console, go to the unified search bar at the top.

2. Type “Kubernetes Engine API” and select Kubernetes Engine API from the results.

    3. If the API is not yet enabled, click Enable and wait for the process to complete.

    4. Once enabled, the button will change to Manage, confirming the API is active.

      Navigating to Google Kubernetes Engine

      1. In the Google Cloud console, use the unified search bar again.

      2. Type “Kubernetes” and select Kubernetes Engine.

      3. The Kubernetes Engine page will appear. Navigate to Clusters then click Create either in the top menu bar or in the middle of the page

        Creating a GKE Cluster

        On the cluster creation page, configure the following:

        • Cluster type: Standard
        • Cluster name: <your preferred cluster name>
        • Location type: Zonal
        • Zone: us-central1-a
        • On the Node pools, click the default-pool -> Nodes
          • Machine configuration: General purpose
          • Machine type: e2-micro
          • Boot disk size: 15 GB
        • Leave the remaining settings as default unless otherwise specified. Once done, click Create.
        Verifying the GKE Cluster
        • Wait for the cluster provisioning process to complete. This may take several minutes. You can monitor the progress on the Kubernetes Engine page.
        • Once the cluster status shows Status: Running, the cluster has been successfully created.
        • You can review the cluster’s configuration to ensure it matches your selected settings, such as cluster name, zone, node pool size, and machine type.

        Congratulations! You’ve successfully enabled the Google Kubernetes Engine API and created a GKE cluster in Google Cloud. This guided lab provides hands-on experience with setting up a Kubernetes environment and understanding the prerequisites for cluster creation. In future guided labs, you’ll learn how to connect to your cluster using kubectl, deploy containerized applications, configure node pools, and explore scaling and networking features in GKE.

        Skip to content