hands-on lab

Microsegmenting GKE Clusters Using Anthos Service Mesh

Up to 40m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.


In this lab, you will begin by deploying a microservices-based financial application on a GKE cluster, and after that, you will install Anthos Service Mesh and check the Anthos Dashboard.

What is Anthos Service Mesh, and why use it?

Before jumping into Anthos, first, you need to understand the need for a service. Everything in an application revolves around services to deliver resilient, scalable, secure, and easily manageable services to consumers:

  • Resilient means the application should be able to handle any disaster or machine errors.
  • Scalable means the applications should be capable enough to handle the growing load.
  • Secure means the application should have all traffic encrypted between services.
  • Manageable means you should be able to route the traffic to the right instance, reliably roll out new versions, and manage the configurations that revolve around the service.

For example, when you have a multi-cluster environment spanning multiple regions and zones, how do you manage the traffic if any cluster goes down or the entire region goes down? How do you measure logging, tracing, and metrics for every single service? How will you do this in a distributed service environment seamlessly? This is where Anthos Service Mesh comes in.

Feature of Anthos Service Mesh

  • Service Mesh lets you dig in-depth telemetry, displaying logs and metrics for each of the services connected.
  • Service-to-Service Architecture to understand the relationship among services.
  • Allowing you to set Service Level Objectives (SLOs) to set your standards of service health.
  • Not only limited to Google Cloud, but it can also be used on multiple cloud platforms.

Learning objectives

Upon completion of this intermediate-level lab, you will be able to:

  • Deploy an application to GKE
  • Install Anthos Service Mesh
  • Derive Application insights from the Anthos Dashboard

Intended audience

This lab is intended for:

  • Cloud Network Professionals
  • Cloud Security Professionals
  • Cloud Administrators


You should possess:

  • A basic understanding of microservices architecture


May 2nd, 2024 - Resolved command line issue

Environment before

Environment after

About the author

Logan Rakai, opens in a new tab
Lead Content Developer - Labs
Learning paths

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.

LinkedIn, Twitter, GitHub

Covered topics

Lab steps

Signing In to the Google Cloud Console
Deploying the Microservices Application on GKE
Installing Anthos Service Mesh and Dependencies
Redeploying the Application and Viewing the Mesh in Anthos