In this hands-on lab, we use Infrastructure as Code configurations along with GCP Deployment Manager to instantiate compute resources on the Google Cloud Platform. You are acting as a contractor for the Virtucon Corporation. The company needs to rapidly spin up a test environment on the Google Cloud Platform for a proof of concept load test. Your role is that of DevOps Engineer. The project files already exist; however, the usual deployment engineer is out sick. Your job is to deploy the resources in a test project and provide the external IP addresses to the load test engineer teams. Post deployment, you will be informed that the startup script for the VM instances needs to be updated due to security concerns. You will need to update the running deployment with an updated startup script and validate the change.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Clone Deployment Manager Configuration Files from GitHub
Download the example files from the ACG GitHub repository using Cloud Shell.
- Deploy the Virtucon Test Environment
Use the provided templates to deploy the Virtucon VPC Network, VM instances, and firewall rule.
- Update the Existing Virtucon Deployment
To improve security, update the existing
virtucon-env
deployment by modifying the script on the VM instances.