Creating a Secure and Scalable Compute Environment on GCP

INTERMEDIATE
90 minutes
5 tasks

In this lab, students will set up a scalable and secure compute environment using Google Cloud Platform. They will create a resource hierarchy for their project, configure IAM roles for secure access, launch and configure Compute Engine instances, and set up a highly available web application environment with load balancing and auto-scaling features. The lab will emphasize security best practices, including the use of Shielded VMs and OS Login for SSH management, and set up billing to monitor costs effectively.

Scenario

A startup company wants to launch a new web application with a secure, scalable backend. They need to ensure their infrastructure can handle variable loads and that all resources are protected from unauthorized access. The team should implement cost-effective practices to maintain scalability while keeping security paramount.

Learning Objectives

  • Understand how to create and manage a resource hierarchy in GCP projects
  • Apply organizational policies and IAM roles for secure project access
  • Configure and manage Compute Engine instances using Shielded VM and OS Login
  • Set up a load balancing solution with autoscaling capabilities
  • Implement billing configurations to track and manage costs effectively

tasks (5)

task 1: Create a Resource Hierarchy and Apply IAM Policies

15 min

task 2: Launch Compute Engine Instances and Configure Shielded VMs

20 min

task 3: Implement Load Balancing with Autoscaling

25 min

task 4: Set Up Billing Alerts and Cost Management

15 min

task 5: Enable and Configure Cloud Monitoring

15 min

Prerequisites

  • Basic understanding of Google Cloud Platform services
  • Familiarity with IAM concepts and roles
  • Knowledge of compute instance configuration
  • Understanding of load balancing concepts
  • Awareness of billing management practices
  • Familiarity with Cloud Monitoring setup

Skills Tested

Creating and managing resource hierarchiesApplying IAM roles and managing project accessConfiguring Shielded VM and OS Login for instancesImplementing load balancing and autoscalingSetting up billing alerts and managing costsConfiguring Cloud Monitoring and alerting
    Creating a Secure and Scalable Compute Environment on GCP - Hands-On Lab - CertiPass